Hardware Setup
[Simple Sniffer and Scanner Application]

Flashing the Firmware

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
 

On the Firmware Selection page you find a list of supported plattforms together with the names of the HEX files, the required fuse values and the baud rate settings.

Connecting the Board to the PC.

After connecting the board with the PC, it has to be verified, that the board is recognized as a virtual COM port device.

Linux: The command dmesg helps you to find the assigned serial port.

The device names are usually /dev/ttyUSB[0-9] for FTDI and CP210x based boards and /dev/ttyACM[0-9] for the Raven RZUSB Stick.

  >dmesg | grep tty
  usb 4-1: FTDI USB Serial Device converter now attached to ttyUSB0
  cdc_acm 2-3.1:1.0: ttyACM0: USB ACM device
  usb 2-3.3: cp2101 converter now attached to ttyUSB1
 

Windows: The name of the assigned COM port can be found in the "Device Manager".

A quick way to open the Device Manager (see http://en.wikipedia.org/wiki/Device_Manager) is either to type "devmgmt.msc" into the Command Prompt ( cmd.exe) or do:

 Start -> Run -> devmgmt.msc -> OK
 
Note:
If your board is not recognized on your OS, the USB driver may be out of date. That is probably the case, if you run Windows or Linux prior the kernel version 2.6.29. In the package uracoli-usb-<version>.zip you will find the necessarry drivers, driver patches and a description, how to fix this issue. The USB package can be obtained from http://uracoli.nongnu.org/download.html.

This documentation for µracoli was generated on Wed Mar 14 2012 by  doxygen 1.7.1