Skip to content

Hoodpedia

Nico edited this page Jan 18, 2015 · 1 revision

Some information that you might find useful. Ask me for more help

  • CDC-Serial: A virtual Serial port via USB to the PC
  • USB-HID: Human Interface Device for Keyboard, Mouse, Gamepad etc to access and controll the PC
  • USB Endpoint: AVR (16u2 has 1 control endpoint and 4 endpoints for user functions. CDC takes 3 (Control, TX, RX), each HID 1)
  • USB Double Bank: a doubled DPRAM buffer to fill a bank of an endpoint while the other is read from the PC
  • DPRAM: Ram for USB communication. The 16u2 has 176 DPRAM which all endpoints share. (USB Control Endpoint normally uses 8 bytes; CDC Control 8; CDC TX, RX, HID 8-64; double bank *2)
  • RAW-HID: A two way data pipe with the size of the endpoint to send data from and to the USB device. Also called Generic-HID
  • HID-Report Descriptor: Describes what devices the USB-HID should have with what functions. Very complicated and can cause errors if its not correct. See this tutorial for more information.
  • HID-Multireport: Each HID device can have multiple devices in one endpoint. This might cause errors with RAW-HID, Gamepads and others.
  • LUFA: a lightweight USB-API written in C by Dean Camera. Also used by the HoodLoader. Somehow hard to understand first but very powerful once you've got into it.