Watterott Boards Package

Board Support Package for Arduino IDE v1.8+.

Installation

Add the following URL to the Arduino Boards Manager (File->Preferences):

https://github.com/watterott/Arduino-Boards/raw/master/package_watterott_index.json

Then open the Arduino Boards Manager (Tools->Boards->Boards Manager) and install the Watterott AVR Boards, Watterott SAMD Boards and Arduino SAMD Boards.

If you want to use the ATTinyCore from Spence Konde for the Nanite boards, then also install it via the Arduino Boards Manager. Here is the URL: http://drazzy.com/package_drazzy.com_index.json

Known Issues

Windows

Sometimes the driver for the USB Bootloader (Caterina or Micronucleus) is not loaded correctly. This is the case when Done uploading. is not shown after the upload process. Check the driver state in the Device Manager, when the Bootloader is active (Caterina after the Upload is started and Micronucleus after a reset). If you cannot install the driver on Windows 8 or higher then deactivate the driver signature enforcement.

Linux

The Modem Manager can cause problems, because it detects Serial Ports (e.g. of the USB Bootloader) as a modem. So we recommend to uninstall/remove the Modem Manager:

sudo apt-get uninstall modemmanager

As alternative it is also possible to add a backlist rule for the USB device to the file 77-mm-usb-device-blacklist.rules.

Micronucleus Bootloader

The Micronucleus bootloader is not started automatically. You have to press the reset switch to activate the bootloader after Uploading… is shown in the Arduino IDE.

The Micronucleus upload tool needs root rights to run and so the Arduino IDE has to be started with sudo or you can also create a rule to allow non-root users access to the Micronucleus USB device. For this run one of the commands - depending on your system:

sudo nano /etc/udev/rules.d/49-micronucleus.rules
sudo nano /lib/udev/rules.d/49-micronucleus.rules

and add the following lines to the file:

SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{MTP_NO_PROBE}="1"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0753", MODE:="0666", ENV{ID_MM_DEVICE_IGNORE}="1"

Reload udev rules:

sudo udevadm control --reload-rules

VCP+MSC Bootloader

The bootloader can be activated via the Arduino IDE or by doing two reset in 0.5s (double pressing reset switch).

When the bootloader is active then a new program can be loaded via the Arduino IDE and the serial port or via the mass storage device. For the mass storage device just copy a new binary file (.bin) to the drive.

On Linux/Mac the dd command can be used to write the firmware: dd if=APP.BIN of=/media/DRIVENAME/APP.BIN conv=notrunc

A binary file can be generated and exported in the Arduino IDE with Sketch->Export compiled Binary command.