Skip to content

bbbbbr/wunderboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wunderboard

Wunderboard wunder.2 2013 code samples and docs

Setting up the Toolchain on Linux (Ubuntu/Mint/etc)

  1. Open a termninal Window

  2. Make sure apt has current versions (type into terminal) :

  • sudo apt-get update
  1. Install toolchain (type into terminal) :
  • sudo apt-get install avr-libc binutils-avr gcc-avr avrdude

If it works, the last four lines should resemble : Setting up binutils-avr (version stuff) Setting up gcc-avr (version stuff) Setting up avr-libc (version stuff) Setting up avrdude (version stuff)

  1. Install the DFU programmer for flashing the board (type into terminal) : sudo apt-get install dfu-programmer

Flashing / Updating firmware on the board

  1. Connect device in DFU programming mode

  2. Plug board in

  3. Press and continue to hold "HWR" button

  4. Press and continue to hold button

  5. Release "RST" button

  6. Release "HWR" button

  7. The board should re-enumerate on the USB bus using it's built-in boot loader

  8. Enumeration can be checked by running : lsusb | grep -i "atmel"

  9. It should show something similar to : Bus 002 Device 003: ID 03eb:2ffb Atmel Corp. at90usb AVR DFU bootloader

  10. Erase the device

  • sudo dfu-programmer at90usb1287 erase
  1. Flash the flash device (using "main.hex" as an example)
  • sudo dfu-programmer at90usb1287 flash main.hex
  1. Reset the device and start executing the updated firmware
  • Press and release the "RST" button

About

Wunderboard wunder.2 2013 code samples and docs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published