cancel
Showing results for 
Search instead for 
Did you mean: 

[NUCLEO-H743ZI] USB: How to check the reason of the BROKEN_PIPE(-EPIPE) message from the USB Device?

Artem Kravchenko
Associate

Hello!

HW: NUCLEO-H743ZI
SW: MxCube v6.8.1
Application: USB CDC
OS: Ubuntu 20.04.1  5.15.0-75
USB Hub: No, the device is connected directly to the USB port (without any USB hubs usage)

It was generated a USB CDC Application solution by using MxCube v6.8.1
Some Log Data is transferred to the PC by using USB CDC to PC continuously

By using Wireshark, I see that messages with "data" is transferring each 2-3ms, but sometimes, the USB-Device answers with "BROKEN_PIPE" status message(see image bellow)

usbmon2_v002_dev2-68-1_001.png

Could you help to define which reason was to generate BROKEN_PIPE message?
Which interrupt bit could be set by MCU embed USB device to inform the application about such type of message?


A similar problem was described in:

0 REPLIES 0