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

Sync failure when target device was output on uart without host consuming #2

Open
linux4life798 opened this issue May 3, 2017 · 0 comments

Comments

@linux4life798
Copy link
Member

linux4life798 commented May 3, 2017

I have noticed that if the target device was output on uart without a consumer on the host, prior to entering the bootloader, ccbootutil fails to sync with the bootloader.
The workaround is to cat the USB serial device before opening with ccbootutil. Could do timeout 0.1 cat /dev/ttyUSB0

TODO:

  1. Need to confirm this is not just my machine
  2. Check byte stream seen by the Sync method to confirm or reject a buffering problem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant