hello kerryzhou
i have FRDM KL26Z board but i have replaced 128KB chip by 256KB of flash.
i have used USB MSD code from KL43Z and convert that code for my kl26z board now my program has no error but it stuck at some function,and program goes into default ISR.
usb_class_msc_init().
here i attached screenshot of my issue.
Hi Arth Shah,
After you modify the FRDM KL26Z board with 256KB flash chip, please refer to the FRDM-KL46 USB MSD sdk code which can be downloaded from this link:
Welcome | MCUXpresso SDK Builder
The usb module in KL46 is the same as KL26.
Please try it, if you still have problem about it, please kindly let me know!
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------