tinyusb icon indicating copy to clipboard operation
tinyusb copied to clipboard

dcd_pic32mz.c: line 565

Open zj2004 opened this issue 3 years ago • 2 comments

Operating System

Windows 10

Board

new MCU port from pic32mz

Firmware

cdc_msc demo

What happened ?

the second CBW , bulk out EP got 62 bytes

How to reproduce ?

sorry for my bad english my way to fix: dcd_pic32mz.c: line 565 after xfer_complete(xfer, XFER_RESULT_SUCCESS, true); add xfer->transferred = 0;

Debug Log as txt file

No response

Screenshots

No response

zj2004 avatar Mar 31 '22 15:03 zj2004

please be specific on the MCU, what is your exact MCU and board. Also provide your LOG=2 as attached txt as well.

hathach avatar Apr 01 '22 07:04 hathach

@zj2004 could you please check if #1451 fixes problem you described?

kasjer avatar May 23 '22 06:05 kasjer

@zj2004 could you please check if #1451 fixes problem you described?

yes ,it fixes. the problem appear at LOG=2 as you say “For PIC32 OUT packets that were sent from host and not handled fast enough could lead to memory corruption.”

zj2004 avatar Aug 29 '22 03:08 zj2004