-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the USB adapter tolerant to garbage data #426
Labels
Comments
Packet reception timeout will be 10ms. At 500Kbps a 66-byte packet should be transmitted in about 1.32ms. |
matlo
pushed a commit
to matlo/GIMX-firmwares
that referenced
this issue
Jan 21, 2020
* factorize duplicated code * add packet reception timeout matlo/GIMX#426 * add command to set adapter USB IDs * add command to get firmware version * add command to change baudrate matlo/GIMX#649
matlo
pushed a commit
to matlo/GIMX-firmwares
that referenced
this issue
Jan 21, 2020
* factorize duplicated code * add packet reception timeout matlo/GIMX#426 * add command to set adapter USB IDs * add command to get firmware version * add command to change baudrate matlo/GIMX#649 * make the firmwares work with PC targets matlo/GIMX#650
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Garbage data makes the adapter deadlock into the serial interrupt routine. The watchdog could be used to reset the adapter after some amount of time. At 500kbps a 256-byte packet takes about 6ms to be transmitted. A 20ms watchdog looks reasonable.
The text was updated successfully, but these errors were encountered: