The FreeRTOS USB host driver will frequently dereference NULL pointers from functions USB_HostEhciQtdListRelease and USB_HostEhciQhQtdListInit.
The function USB_HostEhciTransactionDone has been seen to enter an endless loop. Line 3555 of usb_host_ehci.c reads
nextTransfer = transfer->next;
but transfer->next pointed to transfer so the loop never terminated.
The USB Mass Storage Device is being used to log application data to a USB drive.
SDK version 2.4.2 is being used with version 10.2.0 of MCUXpresso.
Has anyone seen anything like this before, and know of a fix?
Hi Brian:
Which demo you are using, Could you please let me know how to reproduce your issue on my side?
Or you can submit a ticket to us if you your code is private.
Regards
Daniel
This issue is hard to reproduce with a demo, but not impossible. Easier to reproduce with our code. In any case, the code must be run until failure, which could be minutes or hours.
Does the phrase
“Or you can submit a ticket to us if you your code is private.”
imply the possibility of you working with our codebase? If so, what about the possibility of a portion of it being provided as a static library without source code?
Brian Haysbrook
(563) 359-7501 x 367
I think it is better to make a simplified project to reproduce this issue, it is hard to debug a library.
Regards
Daniel
Hi Brian
Please refer to below link to submit a request.
How to submit a new question for NXP Support
Please click the all support options
Regards
Daniel