Well, there is missing USBInit in the code.
This is happen when my beer is over.
Now Windows say: "There is unknown usb device"
What must to be changed in the descriptor?
Well, there is missing USBInit in the code.
This is happen when my beer is over.
Now Windows say: "There is unknown usb device"
What must to be changed in the descriptor?
I cheat when it comes to simple keypad applications. I just take the PCB from an old USB keyboard and hack the 2 connectors . The ones I have used so far use 2 connectors, then I map the connectors into a table.
The nice thing is that the USB communication is already complete and Windows recognizes yor device without problem. You can connect more than 1 identical keyboards in Windows XP.
There are several examples on google to hack a USB keyboard.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Thanks Daemon
The task I'm doing is litlle more complicated.
I need to send serial commands to other devices (HDMI Switch, etc.) and Keyboard events simultaneously from
this board. I also image a situation to receive commands from something.
If I use standart keypad I must to design serial-to-command-to-matrix decoder and vs.
By the way the board is still not recognized by Windows as HID. I check report descriptor twice,
the device descriptor seems ok but pic freezing by usbout.
May be some configs are wrong? I dont have any.
I'm stuck to using my cell phone so I can't do serious debugging.
Do you issue that USB SERVICE command or whatever it is called to keep your connection alive?
Sorry, wished I could be of more help.
Robert
OK its done. The problem was in the serial bootloader.
And for ICSP the reset cap C3 must be far below 100nF - 10nF or lower.
I will post code soon as is ready. Then will make fun with the serial bootloader. I love UARTs!
Thank you Demon, you break myself talking hardly.
Cheers to all of you.
FOB
Bookmarks