modular firmware updates

new releases are available per module:

firmware is updated by connecting a USB A-A cable to your computer and using the utility dfu programmer.

get a normal, inexpensive USB A-A cable such as p/n 1175-1035-ND on digikey. a “transfer” cable will not work.


use homebrew to install dfu-programmer. go to the homebrew page and scroll down to “Install Homebrew” where you’ll paste a line of text into Terminal.

after this is installed, you should be able to simply type:

brew install dfu-programmer

get the firmware at the links at the top of the page. remember where these are stored on your computer. inside there’s a script called update_firmware.command within the named module folder.

on the module, hold down the front panel button while powering up to launch the bootloader. the leds may be lit or not, don’t worry.

within the folder execute the downloaded script by double-clicking (in mac):


and the firmware will be updated. the clock led will flash to show it has successfully installed.

you will need to power-cycle the module to re-enable USB grid detection.


download the dfu-programmer binary from

hold down the front panel button and power up the module. At this point Windows should say a new device was detected and it’s installing drivers for it.

open your device manager.

there should be a new category Atmel USB Devices (you might need to select view > show hidden devices) with AT32UC3B device. If there is a warning icon next to it you need to update the driver – right click and select Update Driver Software, then Browse my computer for driver software. Navigate to the folder where you installed dfu-programmer, it should find a new driver there, install it. If everything installs okay the warning icon next to the device should disappear.

get the firmware at the links at the top of the page. remember where these are stored on your computer.

copy the firmware hex file to your dfu-programmer folder.

run cmd as Administrator (not sure it matters but best to anyway), cd to the dfu-programmer folder and execute the following (replace whitewhale.hex with whatever firmware you’re updating):

dfu-programmer at32uc3b0256 erase
dfu-programmer at32uc3b0256 flash whitewhale.hex --suppress-bootloader-mem
dfu-programmer at32uc3b0256 start


$ unzip

to run the firmware update command, your user will need to be in the dialout or uucp group, depending on what your distribution calls it. otherwise you’ll need to run it as root/sudo:

$ ./update_firmware.command
Checking memory from 0x2000 to 0x3FFFF... Not blank at 0x2001.
Erasing flash... Success
Checking memory from 0x2000 to 0x3FFFF... Empty.
Checking memory from 0x2000 to 0xBDFF... Empty.
Programming 0x9E00 bytes... Success
Reading 0x3E000 bytes... Success
Validating... Success