Nano-RK OS-X Toolchain Install Guide

This document briefly describes how to install the tools required to compile and download Nano-RK software using MacPorts under OS X.

1) Install Latest Version of MacPorts
The easiest approach is to download the latest OS X package installer (*.dmg) from

  • At the command line you can use the port package manager to install the following:
    • avr-gcc
    • avr-libc
    • avrdude
    • subversion
    • minicom
> sudo port install avr-gcc
> sudo port install avr-libc
> sudo port install avrdude
> sudo port install subversion
> sudo port install minicom

2) Download and install the OS-X FTDI VCP driver

3) Test if driver loaded

  • Connect FireFly node to USB port of PC
  • Type: "sudo dmesg" * Make sure FTDI driver loaded
  • Type: "ls /dev" * usually the driver will load as follows:

4) Install Subversion for OS-X (or use the MacPorts version already installed)

5) Check out the Nano-RK source by typing:

svn checkout svn://

6) Make sure to change the PROGRAMMING_PORT defined in each project makefile.

# Set the Port that you programmer is connected to
PROGRAMMING_PORT = /dev/tty.usbserial-0000201AB # programmer connected to serial device

# Alternatively, replace the above line with the following to automatically select the right port under OS X
# As long as only one USB serial device is loaded this should work
PROGRAMMING_PORT = 'ls /dev/tty.* | grep usb | head -n 1' # programmer connected to serial device

7) Install and Setup Minicom or other similar terminal program

  • minicom -s
  • Serial port setup: type A: /dev/tty.usbserial-0000201AA then set 115200 8N1 with no Hardware / Software Flow Control
  • "save setup as dfl" to save as default

sw.tar - avrdude fink files (1 MB) Anthony Rowe, 01/30/2010 07:31 pm