Has anyone gotten the USB device function to work yet? I am using a K40 Tower with the serial card. WHen I run the USB_CDC example all I can ever get is "USB device not recognized".
Also, I am using the Codewarrior based exampled.
Any pointers?
Hi emh203,
I'm using CDC in the TWR-K60N512 (K60) and KwikStik (K40) kits. It is working perfect on Codewarrior 10.1.
You can download the code here:
http://code.google.com/p/brtos/downloads/list
The project for the K40 (KwikStik) is this:
http://brtos.googlecode.com/files/BRTOS%201.6x%20K40%20-%20SD%20card.rar
Regards,
Gustavo
Do you by chance have a non RTOS example? You you ever seen the freescale supplied example work?
I do not have a non RTOS example ready to go.
However, you can use the code provided in the demo without BRTOS. For that you must remove the other tasks and use the USB task as the main. In this case you must substitute the RTOS queue by one developed by you (or just make an ping-pong test).
Hi
I can also run this demo on the K40 tower board: http://www.youtube.com/watch?v=H4TYM9jY2-g
- the code is not exactly the same since the clock needs to be configured for 8 MHz crystal rather than 25MHz external clock on the K60 but other than that it is identical.
Regards
Mark
P.S. Make sure that the serial board is not inserted incorrectly 180° since it is easy to do and then neither UART nor USB work.