USB HID Keyboard on PIC18F14K50
Posted: Wed Jun 27, 2012 5:42 am
I am trying to use the example code and USB libraries in Flowcode 5.2 Pro to create a USB Keyboard on the PIC18F14K50, no luck.
The code compiles and loads on the chip fine, Mac OS X 10.7, Windows XP, Windows 7 all see the HID device fine, but no characters are transmitted to the OS. I am using a simplified version of the USB Keyboard demo app from Matrix Multimedia v5 example file, that just send a single character from the PIC to the host when a button is pressed on the PIC. Nothing every comes through.
I note in some form posts from WAY back in 2010/2011 that after considerable work, a HID was working on the PIC18F14K30 chip, however people on this thread seem to call out specifically that that could would not work on the K50. Seem odd.
I have a simple USB serial port program working fine on the PIC18F14K50, works with Windows, OS X and Linux hosts fine.
I have attached a simple flow code test routine that does not work.
Thanks in advance for any help.
Dave
The code compiles and loads on the chip fine, Mac OS X 10.7, Windows XP, Windows 7 all see the HID device fine, but no characters are transmitted to the OS. I am using a simplified version of the USB Keyboard demo app from Matrix Multimedia v5 example file, that just send a single character from the PIC to the host when a button is pressed on the PIC. Nothing every comes through.
I note in some form posts from WAY back in 2010/2011 that after considerable work, a HID was working on the PIC18F14K30 chip, however people on this thread seem to call out specifically that that could would not work on the K50. Seem odd.
I have a simple USB serial port program working fine on the PIC18F14K50, works with Windows, OS X and Linux hosts fine.
I have attached a simple flow code test routine that does not work.
Thanks in advance for any help.
Dave