Hello,
I am developing with the Keil tools. I built up the CDC example for Keil project for the K60 which is included with the USB Stack version 4.1.1. With this project (running nothing other than the CDC example) I can connect the USB while the K60 is powered off. Then power on the K60 and it is recognized by the PC. However if the K60 resets (without cycling power) I can not open the virtual port. This is the process
1. Start with the USB cable disconnected and the K60 powered off.
2. Connect the USB cable.
3. Power on the K60. The Freescale CDC Device (COM15) is displayed in the Windows Device Manager.
4. Open COM15 and exchange characters with the K60 (works as expected, echos back what ever is sent to it).
5. Close COM15 (exiting the application that was communicating with the K60).
6. Reset the K60 (without powering down).
7. Open application that was previously communicating with the K60 via the virtual com port.
8. Try to open COM15. It fails, unable to open port.
At least now I can cycle power with the USB connected. Maybe my code is taking too long to initialize the USB after powering up.
But if the K60 resets (without powering down) the virtual COM port is hosed.
I noticed that the K60 is not supported in version 5.0 of the USB stack. Why is this?
Thank you for spending the time to help me,
Mike