Sir,
I want to write code for dual fat i.e. msd & sd-card. I am using mk66 controller. I have refer mk65 kds example code. I successfully port it for mk66. but its not working. if I manually debug the code then its device state of usb is not changing. so I am stuck there . how can I proceed further.. thanks in advance
Hello Kapil,
Debuggin USB application without using an USB sniffer is quite hard because USB clocks are stopped and USB transactions cannot be completed correctly. I would strongly recommend you to use an USB sniffer.
Does USB device cannot be recognized in PC? or what error can you see? Common errors are listed here:
KDS/KSDK K20 USB Driver Mutex Problem
usb_dev_msd_cdc example problems
PE-generated USB code does not seem to work
Hope this helps!
Regards,
Isaac Avila