Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dcd_pic32mz.c: line 565 #1414

Closed
zj2004 opened this issue Mar 31, 2022 · 3 comments
Closed

dcd_pic32mz.c: line 565 #1414

zj2004 opened this issue Mar 31, 2022 · 3 comments
Labels

Comments

@zj2004
Copy link

zj2004 commented Mar 31, 2022

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

@hathach
Copy link
Owner

hathach commented Apr 1, 2022

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

@kasjer
Copy link
Collaborator

kasjer commented May 23, 2022

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

@zj2004
Copy link
Author

zj2004 commented Aug 29, 2022

@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 zj2004 closed this as completed Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants