Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 8 months ago.
USBSerialKeyboard and FRDM-KL25Z?
I would like to use the USBSerialKeyboard library in an application I have, but it seems that it is probably tied to the LPC1768 since it does not work as-is on the FRDM-KL25Z.
Depending on the product ID and what was previously installed (like a plain USBserial programmed KL25Z) the board comes up as either a CDC Composite device that works as a keyboard (new, unique USB ID) or a an MBED serial device that does not work as a keyboard (previously installed plain serial USB ID).
How can both keyboard and serial device be made to work at the same time? Is a modified MBED serial.inf required?
thanks.
1 Answer
10 years, 8 months ago.
wrote:
How can both keyboard and serial device be made to work at the same time? Is a modified MBED serial.inf required?
This program is working for me on the KL25Z and windows 7. The only trouble I had was installing the serial driver. I had to force the CDC device to use the mbed serial driver rather than serial.inf and usbser.sys. So when I reset the device the HID device installed and CDC failed. In device manager I told windows to use a file already installed and pointed to mbed.
I ran this in the current published state and also update all the libraries. LEt me know if this helps