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

Baud rate changes cause oddly timed injection of null character #10

Open
qdot opened this issue Jun 25, 2010 · 0 comments
Open

Baud rate changes cause oddly timed injection of null character #10

qdot opened this issue Jun 25, 2010 · 0 comments
Labels

Comments

@qdot
Copy link
Member

qdot commented Jun 25, 2010

From email from Jason Ekstrand:

I noticed that when you change the baudrate on the FTDI chip, about 50% of the time, it will leave you with a stray null character in the output buffer. My solution to this was to change the baudrate, wait a few milliseconds, and flush the buffer. After accounting for this stray null character, I discovered that the string returned by the falcon in the "Firmware Reset" stage is actually "\x0a\x44\x2c\x0d", not "\x00\x0a\x44\x2c\x0d".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant