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
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:
Hope this helps!