Products > Test Equipment
Pocket-Sized 6 GHz 1 TS/s ET Scope
joeqsmith:
Adding a check for the first three fields wasn't enough so it now checks every field. Even with all of this, the scope will lock up.
About 4 hours into this hunt and about the only thing I have to show for it is worn out USB connectors. :-DD
joeqsmith:
Maybe you can tell the cause of the FAIL 752440 0 from the attached dump. When I exited the script and attempted to run your software, it threw the attached exception.
joeqsmith:
So, another new one. The scope stops responding all together. Exiting the test script and attempting to run your software, it does not find the scope.
Lots of problems. I will hold off doing anything more until you have time to go over your firmware. Hopefully I have provided you with enough clues.
SJL-Instruments:
--- Quote from: joeqsmith on February 15, 2024, 08:16:32 pm ---So, another new one. The scope stops responding all together. Exiting the test script and attempting to run your software, it does not find the scope.
Lots of problems. I will hold off doing anything more until you have time to go over your firmware. Hopefully I have provided you with enough clues.
--- End quote ---
We have just sent you a revised firmware version with a hardened parser and strict bounds checking. All the test cases you have shown no longer cause an issue. Our fuzzing tests are ongoing and have not revealed any issues so far.
--- Quote from: joeqsmith on February 15, 2024, 04:16:12 pm ---Because your firmware seems to in some cases ignore the first byte of the command (7F,54 for example will interpret as a T), I now also prevent all of these cases on the second byte.
--- End quote ---
The byte 0x7F is a backspace character. This behavior is intentional, and simplifies use of the serial interface from an interactive terminal.
joeqsmith:
First, thank you for taking the time to dig into the root cause. I know it wasn't your intention to go after it so early but I am glad you did.
It's installed and I am currently testing with all of my case statements removed. My plan is to let it run overnight but it is over 150,000 cycles now. Consider I was lucky if it made it past 10,000 with the old firmware. So what ever changes you have made greatly improved it's robustness. :-+
***
Job well done! It ran all night without any further problems. I also ran some other basic checks using your software as well as mine and it all seems to work.
With the software and firmware shaping up, the only thing missing now is those 5X probes. ;) We can always revisit that. Looks like no one had anything specific they wanted to see during the review. My plan is to finish up this weekend and let you get back to your normal routine. :-DD Again, good job. You have made a lot of progress over this last month.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version