Skip to content

Software Installation

Nico edited this page Nov 4, 2015 · 19 revisions

You can now use the 16u2 as normal Arduino USB board like a Leonardo/Micro/Teensy with the Arduino IDE. Therefore you need to get some software and install it properly. Arduino IDE 1.6.6 or higher is required.

1. CDC Driver installation (Windows 7/8 only):

You have to install new drivers for the 8/16/32u2 if you want to use its USB functions. This is because it uses different USB PID/VIDs to enumerate as different device like the Leonardo for example.

This is not required for the 32u4 or Windows10/Mac/Linux users.

Before I used an own driver file named HoodLoader2.inf, but there are some problems with unsigned drivers under Windows8. To install a signed driver instead please use the Teensy driver which works for every USB Serial device.

Teensy Driver

The Teensy driver recognizes any CDC USB device as "Teensy USB-Serial" (and not as HoodLoader2) if no other driver is installed. This is also useful if you plan to change the PID/VID for developing.

2. Installing board definitions

####a) Installation via Boards Manager

Build URL: https://raw.githubusercontent.com/NicoHood/HoodLoader2/master/package_NicoHood_HoodLoader2_index.json

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install HoodLoader2
  5. Select one of the boards under HoodLoader2 Boards in Tools->Board menu
  6. Compile/Upload as usual

boards manager installation

####b) Manual Installation To get the HooddLoader2 board definitions for uploading, copy the extracted HoodLoader2 folder into your sketchbook like this: sketchbook/hardware/HoodLoader2/

Remove the '-master' postfix.

sketchbook installation

3. Installing Arduino IDE 1.6.6 (or higher)

Arduino IDE 1.6.6 added support for the u2 Series. You can download it from here.

You should now have installed the bootloader itself, drivers, HL2 board definitions and the newest IDE. Continue reading with the getting started page.