-
Notifications
You must be signed in to change notification settings - Fork 17
Using:Setup
maniacbug edited this page Aug 15, 2011
·
8 revisions
Navigation: Home | Scenarios | Installing | Using | Future
Using:Setup | Using:Troubleshooting | Using:Shell | Using:Sensors | Using:Actuation | Using:SLIP | Using:Webserver | Using:HTTP | Using:RPL
Edit Makefile.avr-zigduino, and change the default avrdude port to match your local settings. This only needs to be done once ever.
AVRDUDE_PORT ?= /dev/ttyUSB0
Each node needs a unique MAC address. The avr-zigduino platform expects to find the MAC address as the first 8 bytes in EEPROM.
There is a special program just to program the MAC address. It uses the same first 7 bytes, and lets you choose a different number for the last. From this point forward, we will refer to that last digit of the MAC address as the "Node number".
$ cd tools/set-eeprom $ make NODE=3 AVRDUDE_PORT=/dev/ttyUSB0