HID is one step closer on the open source USB stack for PIC microcontrollers

Posted on Tuesday, March 6th, 2012 in open source, USB by DP

Dolabra took up the task to add support for the HID class to Hoken and JTR’s open source USB stack. Up till now it only supported the CDC class, and HID is still a long way away, but progress has been made.

Yeah! a small victory. I got a set of descriptors that enumerate! The biggest problem that I had is that the HID driver sends a GET_DESCRIPTOR request as at standard request to the interface. The stack isn’t really set up for that and it took me quite awhile to figure out that is what was going on.

If you’d like to help out in designing a true open source USB stack, head to the forum.

This entry was posted on Tuesday, March 6th, 2012 at 7:00 pm and is filed under open source, USB. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “HID is one step closer on the open source USB stack for PIC microcontrollers”

  1. arhi says:

    super nice. HID should be a way smaller footprint then CDC .. kudos

  2. someone says:

    Most of things that need PC connectivity and don’t need high speeds, HID is undoubtedly the best choice ;-)

    No need for driver of inf files, and you can find HID libs for linux/mac/win that easy the job in the PC side, better is difficult.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Pekka Akselin: This is ridiculous!? :-) We are back at 256(!) byte EPROMs that needed multiple, a handful, of voltages to run! :-(
  • KH: Let's try a back-of-envelope calc balancing energies. From MCP1700 datasheet, there are graphs for a 200mA load step. Estimate the energy shortfall as 12uJ. Say...
  • Daniel: It's been a week and my comment is still awaiting moderation. Apparently the CIA doesn't want their involvement known?
  • KH: Agree, so okay, I guess he must have learned from somewhere. 100nF and 1000uF is so far apart, that was jarring; it's more magic incantation...
  • Max: I have a suspicion the hefty electrolytic cap might be some sort of cargo cult carry-over from other RF-based projects - for instance, I've seen...