On 4/24/22 11:48, Hans Petter Selasky wrote:
On 4/22/22 18:50, Farhan Khan wrote:
On Fri, 2022-04-22 at 08:43 +0200, Hans Petter Selasky wrote:
If your device is ugenX.Y, usbdump is:

usbdump -i usbusX -f Y -s 256 -vvv

--HPS

Based on the FRAME[1] size, it seems that the length is 1024 bytes.
That seems low, but it might not be for bulk transfers.

The long-form output is here: https://bsd.to/9CVK Potentially there is
a problem here that I am not seeing.

The main problem still remains, that loading the firmware is not
triggering the Rx Interrupt callback. Are these potentially related
issues?


Hi,

 status 0xeb023 
<OPEN|TRANSFERRING|STARTED|SHORT_XFER_OK|BDMA_ENABLE|BDMA_SETUP|CURR_DMA_SET|CAN_CANCEL_IMMED|DOING_CALLBACK|0>
12:25:07.785438 usbus3.3 SUBM-INTR-EP=00000083,SPD=HIGH,NFR=1,SLEN=0,IVAL=1
 frame[0] READ 1024 bytes
 flags 0xa <SHORT_XFER_OK|PIPE_BOF|0>

You are asking for 1024 bytes. Try asking for only 64 bytes instead, same as one wMaxPacket, before submitting the job.

--HPS

Reply via email to