Cannot get past SET LINE CODING request with CDC example on stm32l083cz #1046
-
Hi, First of all I would like to thank you for all the effort on this cool project. I have some difficulties myself getting the simple CDC_MSC example to work (without the MSC part) on a custom board equipped with an stm32l083cz. The USB device enumerates as $ cat /dev/ttyACM0
1
lhhhhhwwww
$ However, while the device produces this garbage on the host machine, I don't receive any USB interrupts anymore (I set a breakpoint in I took a wireshark capture and can't seem to get past the SET LINE CODING request (cannot seem to upload pcapng files on Github it seems, so I added the .txt extension 😓): usb_enumeration.pcapng.txt. The tinyUSB logging seems to say the same: usb_enumeration_tusb_log.txt. Has anybody ever experienced anything like this? The device enumeration seems OK, but communication does not seem to work. The thing is also that I don't see any requests from the host to the device anymore. Is there maybe something in the enumeration that causes the host to do that? While the CDC_ACM driver still seems to produce data and I am not getting interrupts on the device, the issue seem more likely to be related to host instead of the device, or am I wrong? Any clues? Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hum that's strange... |
Beta Was this translation helpful? Give feedback.
-
Hi @HiFiPhile, thanks for your swift reply! I just reverted back to STM32 USB device library (which worked fine previously) and the issue persists, so I am starting to find my host machine suspicious. The thing is, my user has always been a member of the I'll let you know in a minute or 10. |
Beta Was this translation helpful? Give feedback.
Hi @HiFiPhile, thanks for your swift reply!
I just reverted back to STM32 USB device library (which worked fine previously) and the issue persists, so I am starting to find my host machine suspicious. The thing is, my user has always been a member of the
dialout
group so normally I don't suspect that I have to have root permissions to acces/dev/ttyACM0
and suddenly I do? Strange... I am going to reboot my machine and retry.I'll let you know in a minute or 10.