cancel
Showing results for 
Search instead for 
Did you mean: 

USB XACT_ERROR response on BulkIn request

SteMMo
Associate III

Hi all,

we are developing a board based on STM32F429 chip.

In particular I'm developing a composite USB device on USB OTG port, showing a custom device + a CDC device [ep 0x85, 0x06, 0x83] using USB_Device_Library code.

Windows correctly shows 3 items: a composite device, a generic USB device with my custom label/name, a virtual serial port (COM8).

When I try to open the virtual port (by Putty) I see nothing on the terminal but if I inspect with Wireshark I see an infinite loop of BulkIN request, BulkIn response with XACT_ERROR, a RESET_PIPE_AND_CLEAR_STALL with both request end reply.

SteMMo_0-1734001551484.png

I'n wondering why I have the XACT_ERROR on BulkIn request: I'm not able to find the point. I break-pointed some code in the HAL_PCD_IRQHandler() routine but it's hard to step in an interrupt handler.

Very similar code (but compiled for STM32MP135 demo board) is working correctly.

I'm focusing on USB_OTG_GINTSTS_IEPINT interrupt but which is the routine that replies to BulkIn?

Maybe the PCD_WriteEmptyTxFifo() ??

 

Thanks

0 REPLIES 0