Skip to content

Software

aaronmueller edited this page Jun 8, 2011 · 7 revisions

To get the device working, the microcontroller needs a bootloader and a firmware. Both have to compile first on a PC and flash onto the microcontroller with a programmer. The prerequirements for the following steps are:

  • A host system to build the bootloader and the firmware. You don't need them if you use the precompiled versions. To build the latest code, a Unix or OSX system with the proper tools is prefered. You need the avr-gcc to compile the source and avrdude to transfer the binary to the microcontroller.
  • A programmer to transfer the bootloader and the firmware to the device and set some fuse bits. All sorts of programmers works here. Iy you don't have one, look at this list. Good programmers are the AVRDragon, STK500 or the USBProg. All programmers are multi purpose programmers to use with all kinds of (AVR) microcontrollers.
  • If your computer doesn't have a serial RS232 interface, you need a serial to USB adapter to connect to the HackStick from your computer.

Set up the software

Connect the programmer to the microcontroller

Flash the device

Work with the interactive console

Clone this wiki locally