rt1050 freertos usb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

rt1050 freertos usb

1,081 Views
BrianHBrook
Contributor I

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?

0 Kudos
5 Replies

870 Views
danielchen
NXP TechSupport
NXP TechSupport

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.

Support|NXP 

pastedImage_2.png

Regards

Daniel

0 Kudos

870 Views
BrianHBrook
Contributor I

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

0 Kudos

870 Views
danielchen
NXP TechSupport
NXP TechSupport

I think it is better to make a simplified project to reproduce this issue, it is hard to debug a library.

Regards

Daniel

0 Kudos

870 Views
BrianHBrook
Contributor I

There is a sample project about ready to go. Where/how to post that?

Brian Haysbrook

(563) 359-7501 x 367

0 Kudos

870 Views
danielchen
NXP TechSupport
NXP TechSupport

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

pastedImage_2.png

Regards

Daniel

0 Kudos