I'm trying a new baremetal USB CDC project with freescale stack 4.1.1, and after modifying the example project given for K60 MCU, i've got it worked.
But now i want to create a new standalone project by picking up the files from the Stack's Device folder, and it built and run but my PC shows -> 'Device not Recognized'
Do i need to make some modification/customization to the files.
regards
Punit Kumar
Solved! Go to Solution.
Thanks to all for the support specially to isaacavila & BlackNight, i got my USB worked today. The problem is, i need to define LITTLE_ENDIAN in
Can someone compare the performance of usb if the project is RAM built or Flash built, i need to utilize the maximum speed of the USB module.
Also if someone can provide information for get starting Ethernet on K64.
Thanks & Regards
Punit Kumar
Thanks to all for the support specially to isaacavila & BlackNight, i got my USB worked today. The problem is, i need to define LITTLE_ENDIAN in
Can someone compare the performance of usb if the project is RAM built or Flash built, i need to utilize the maximum speed of the USB module.
Make sure the USB descriptor structure contents match the contents of the INF file used to install the driver. If the VID & PID don't match, it won't be able to recognize the device.
Thanks for the responses
can any help out from the problems in my existing project,
i've not used PE & just pick and drop files from stack,
now my PC, which detect the USB if i use an existing example, but not with my project,
error shown in device manager - 'Windows has stopped this device because it has reported problems. (Code 43)'.
--
Punit Kumar
Hello Punit,
Could you please be so kind to attach your project?
Best Regards,
Isaac
How to attach the project code here?
Hi Punit,
Select the "use advanced editor" and then "attach" your project in a zip format.
Best Regards,
Isaac
hi isaacavila
mine is not showing advance editor,
tell me your email ID & i'll email you the zip folder
Hi
The error messages don't help much if there are low level problems with USB.
If you are going to do detailed work with USB it is recommended to invest in a USB analyser - the Beagle from Total Phase for example.
Regards
Mark
See my work project.
USB Device CDC on KSDK PEx components and KDS 3.0 and KSDK 1.2.0 or KSDK 1.3.0 .
Hi Punit,
you need to disable the memory protection unit first:
MPU_CESR = 0;
See USB CDC with the FRDM-K64F, finally! | MCU on Eclipse
I hope this helps,
Erich
thanks Erich,
have already done this, what to do next
You might have a look at that code mentioned in that article: it is based on the 4.1.1 stack and works for me, both bare metal and with RTOS.
Erich
Hi
The following links contain USB-CDC for the K64 that allows 6 USB-CDCs at the same time. The FRDM-K64 supports 5 USB-CDC to UART bridges and the TWR-K64F120M supports 6 (simply program a binary and see it in action).
The operation can be simulated in the K64 simulator (including all USB operation).
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
K64: http://www.utasker.com/kinetis/FRDM-K64F.html / http://www.utasker.com/kinetis/TWR-K64F120M.html
For the complete "out-of-the-box" Kinetis experience and faster time to market