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

Garbage data on config console after reset #42

Closed
kzyapkov opened this issue Aug 4, 2021 · 1 comment · Fixed by #50
Closed

Garbage data on config console after reset #42

kzyapkov opened this issue Aug 4, 2021 · 1 comment · Fixed by #50
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@kzyapkov
Copy link

kzyapkov commented Aug 4, 2021

To reproduce: connect PB5 to GND and connect the USB cable. Open a screen session to the first serial port, observe some garbage data, no banner:

  *ed
Error, unknown command, use "help" to get the list of available commands.
>
>Ee    eree

This is reliably reproducible in my setup. Hitting enter does bring up the command prompt and the console can be used normally, the problem is just the garbage data at the beginning. Reproduces with main and r2axz-re-enumerate-on-reset.

Works OK if PB5 is connected to GND after the board has booted up and enumerated on the USB bus.

@r2axz r2axz added the bug Something isn't working label Aug 23, 2021
@r2axz r2axz self-assigned this Aug 23, 2021
@r2axz
Copy link
Owner

r2axz commented Feb 10, 2022

Turns out it is not a bluepill-serial-monster bug, but a feature of Linux terminal subsystem. More details here:
https://stackoverflow.com/questions/14866899/linux-cdc-acm-device-unexpected-characters-sent-to-device

@r2axz r2axz added documentation Improvements or additions to documentation and removed bug Something isn't working labels Feb 10, 2022
@r2axz r2axz closed this as completed in #50 Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
2 participants