-
Notifications
You must be signed in to change notification settings - Fork 29
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
stm32f407 discovery serial example does not work #18
Comments
Just tested on a different computer and it worked there, strange. |
A silly question: a you running a release build of a firmware? |
yes and the firmware was identical (actually flashed it on the non-working computer and just plugged it into the other computer) edit: flashed using this command: cargo run --release --example serial |
Ok, here is the dump of the communication from the working computer: As far as I can see the communication is the same until I already tested on another computer and it also worked there, so I think it must be something with the OS, but I don't know how to proceed from here. I think this can be closed for now. |
Hi,
I tried to run the serial example on my stm32f407 discovery board: https://github.com/Disasm/usb-otg-workspace/blob/master/example-f407-board/examples/serial.rs
The code runs fine so far, the device enumerates:
But it does not send/receive any characters on
/dev/ttyACM0
. I already tried to investigate it, as there is no error so far. The only thing that I see is that it never actually receives data. I already tried several clients (screen, tio, minicom), to no avail. I also uninstalled ModemManager, just in case.Using
usbmon
and wireshark I see that the device connects successfully, but then just stops communicating after theSET LINE CODING Request
:Full wireshark dump: usb.pcapng.gz
Is there any way I could debug this further?
The text was updated successfully, but these errors were encountered: