# Firmware Installation

For flashing the firmware on your sniffer board you need a JTAG or ISP programmer, e.g. AVR Dragon, AVR ISP or AVR JTAG-ICE MkII.

The procedure of how to program the firmware and the fuse settings into the Controller is explained in the documentantion of your programming software.

Here is an example for flashing a RCB230 on a Sensor Terminal board avrdude via JTAG-ICE or similiar.

     avrdude -P usb -c jtag2 -p atmega1281 \
    	 -U lfuse:w:0xe2:m -U hfuse:w:0x11:m -U efuse:w:0xff:m \
    	 -U sniffer_stb230b.hex

According to the transceiver board you want to use as sniffer hardware, the aproriate HEX file and right fuse settings have to be programmed. Here is a list with the settings for the supported plattforms.

Note:
  If the firmware of your transceiver board is not contained in sniffer package, you can compile the firmware from the µracoli source code package (see http://uracoli.nongnu.org/buildprocess.html).

Atmel STK541 with RCB

- sniffer_psk230b.hex - RCB w/ AT86RF230 Rev. B
- sniffer_psk230.hex - RCB w/ AT86RF230 Rev. A
- sniffer_psk231.hex - RCB w/ AT86RF231
- sniffer_psk212.hex - RCB w/ AT86RF212
- Fuses: -U lfuse:w:0xe2:m -U hfuse:w:0x11:m -U efuse:w:0xff:m\ (F_CPU=8MHz w/ internal RC-Oscilator)
- CPU: -p atmega1281
- Baudrate: n/a since this boards use a FT245 with parallel interface.

dresden elektronik Senor Terminal Board with RCB

- sniffer_stb230b.hex - RCB w/ AT86RF230 Rev. B
- sniffer_stb230.hex - RCB w/ AT86RF230 Rev. A
- sniffer_stb231.hex - RCB w/ AT86RF231
- sniffer_stb212.hex - RCB w/ AT86RF212
- Fuses: -U lfuse:w:0xe2:m -U hfuse:w:0x11:m -U efuse:w:0xff:m
- CPU: -p atmega1281
- Baudrate: n/a since this boards use a FT245 with parallel interface.

Atmel RZUSB Stick

- sniffer_rzusb.hex
- Fuses: -U lfuse:w:0xde:m -U hfuse:w:0x91:m -U efuse:w:0xfb:m
- CPU: -p at90usb1287
- Baudrate: n/a since the Stick uses the AT90USB1287 USB PHY.

AN Solutions USB Dongle

- sniffer_any2400st.hex - ANY2400
- sniffer_any900st.hex - ANY900
- Fuses: -U lfuse:w:0xe2:m -U hfuse:w:0x11:m -U efuse:w:0xff:m
- CPU: -p atmega1281
- Baudrate: 38400 bit/s

Since the CP210x is connected via UART, the RX oscilator needs to be calibrated in order to provide propper signals. However with the internal RC oscilator a maximum data rate of 38400 bit/s is possible, so this sniffer may drop packets in the case when higher network traffic througput occurs.