Tom Whipple

FreeRTOS on an Arduino board with Eclipse

Environment is an Ubuntu Linux box, connected to an Ardunio Diecimilia board via USB.

Environment Setup

This is very similar to what is shown here.

  1. Install Eclipse and rxtx via Synaptic package manager.
  2. Install Exemplar manually (copy jar into eclipse plugin directory)
  3. TRICK: Eclipse didn’t find all the classes at first, so I had to make the symlinks match:
    tw@asok:/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/amd64$ ls -la librxtx*
    lrwxrwxrwx 1 root root 22 2007-12-09 15:13 librxtxI2C.so -> /usr/lib/librxtxI2C.so
    lrwxrwxrwx 1 root root 22 2007-12-09 15:13 librxtxRaw.so -> /usr/lib/librxtxRaw.so
    lrwxrwxrwx 1 root root 24 2007-12-09 15:13 librxtxRS485.so -> /usr/lib/librxtxRS485.so
    lrwxrwxrwx 1 root root 25 2007-12-09 15:03 librxtxSerial.so -> /usr/lib/librxtxSerial.so

Linux sees the Arduino:

The avrispmkII I bought was painfully slow. The bug is discussed on the avrdude site. The upshot was that I had to connect it to a windows machine and change the isp clock to 2MHz (1/4 the 8MHz Arduino clock).

mail@tomwhipple.com
612-220-1465