Skip to content
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

Closed
matlo opened this issue Dec 28, 2016 · 1 comment
Closed

Make the USB adapter tolerant to garbage data #426

matlo opened this issue Dec 28, 2016 · 1 comment

Comments

@matlo
Copy link
Owner

matlo commented Dec 28, 2016

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.

@matlo matlo added this to the GIMX 7.0 milestone Apr 6, 2017
@matlo matlo modified the milestones: GIMX 8.0, GIMX 9 Sep 26, 2018
@matlo matlo removed the GIMX 8.0 label Sep 26, 2018
@matlo matlo closed this as completed Sep 24, 2019
@matlo matlo reopened this Jan 21, 2020
@matlo matlo modified the milestones: GIMX 9, GIMX 8.0 Jan 21, 2020
@matlo matlo added the GIMX 8.0 label Jan 21, 2020
@matlo
Copy link
Owner Author

matlo commented Jan 21, 2020

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 matlo removed this from the GIMX 8.0 milestone Jan 21, 2020
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
@matlo matlo modified the milestone: GIMX 8.0 Jan 21, 2020
@matlo matlo closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant