The following are the things that I have done.
1. Im using the Freescale USB stack v4.1.1.
2. The example project that Im refering is msd_msf_generic -> K40.
3. Im converting the K40 project to KL46.
4. In not using the same workspace to create the project instead I have copied the files to some other workspace.
The problem is if I connect the USB memory stick the control comes to the ISR but the USBRST bit is not set.
The register looks like the attached picture.
can any one help me!!!!!!!