Greetings,
I am implementing a USB device which requires the device to respond to a class specific request on EP0 with a block of data.
If the block is <64 bytes, all is well. If the block is > 64 bytes, the host sees a stall.
I have implemented a HandleRequest callback to create the block and send it to USBDCDSendDataEP0() in the library file usbdenum.c
That then calls USBDEP0StateTx().
That saves the count of bytes over 64, and a pointer, then calls USBEndpointDataSend() without the 'last'.
But I get a stall instead of all my data.
How are the bytes over 64 sent? Do I have to implement another custom callback to handle them so I don't get a stall?
Gerry Belanger