problem with kl26z USB-MSD

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

problem with kl26z USB-MSD

409 Views
arthshah
Contributor II

hello kerryzhou

i need some help for my USB-MSD project in kl26z.

first i use default project of kl43z of usb device MSD then with reference to this project i convert it for my kl26z board,

but there are some error like m_data region overflow thatswhy i replace my MKL128 chip to MKL256 and attach linker file of MKL256.

now there are no errors.it's good but my program stuck into default ISR.

when i pause my execution it stuck into following places.

usb_dci_khci_init

usb_device_init

USB_class_MSC_init

APP_init

please help me solve out this issue.

thanks

0 Kudos
2 Replies

300 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Arth,

    About the KL26 USB MSD, you can refer to this post:

usb 4.1.1 MSD example for KL25Z - Disk does not format - No drive data 

  You can use the official USB4.1.1 USB MSD code.

USB Stack v4.1.1 NXP® bare metal (no OS) USB Stack 

Wish it helps you!

Have a great day,
Kerry

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

300 Views
arthshah
Contributor II

hello kerry,

i have read above link which is provide by you.

i have already implement USB MSD in my KDS reference to code given for KL43Z board.

please help me to solve out issue related my program stuck in particular function.

usb_dci_khci_init

usb_device_init

USB_class_MSC_init

APP_init

why my program stuck into these function.why USB is not initialize?

where is the actual problem? 

0 Kudos