From 805db6ebf5d80692158acadf88e239da9d3e67af Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 13 Sep 2017 18:03:02 +0200 Subject: [PATCH] fw/atusb: add extra steps needed for HULUSB in README To preapre the firmware image and flash it onto the device some different steps are needed as the bootloader uses Atmels DFU variant. Document the use of dfu-programmer to get the firmware onto the device. --- atusb/fw/README | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/atusb/fw/README b/atusb/fw/README index d510493..99ceb22 100644 --- a/atusb/fw/README +++ b/atusb/fw/README @@ -40,6 +40,16 @@ Requires a very recent toolchain, because ATmega32U2 is relatively new. this operation can fail with a message like "No DFU capable USB device found". Just retry, and it will eventually get through. + +HULUSB notes: +------------- +To prepare and flash the firmware on a HULUSB device some additional steps are +needed; + +avr-objcopy -O ihex -R .signature -R .fuse -R .eeprom hulusb.elf hulusb.hex +dfu-programmer at90usb1287 flash hulusb.hex +dfu-programmer at90usb1287 reset + -------------------------- Making the toolchain: