Contents |
TinyG is very much still a work in progress. Currently the TinyG team is releasing a firmware update every few weeks. Updating your firmware (especially if you are an alpha tester) is very important to help the development team continue to make improvements, and only takes a minute or two once you are set up.
First you have to have the FTDI USB driver installed. Use the Virtual Comm Port (VCP) driver for OSX from here:
http://www.ftdichip.com/Drivers/VCP.htm
At the time this was written (7/30/11) the current version was 2.2.16
Find and double click FTDIUSBSerialDriver_v2_2_16.dmg in your Downloads directory
Unless you are running OSX 10.3, click on FTDIUSBSerialDriver_10_4_10_5_10_6. I'm not sure if this works for Lion (10.7)
Follow the default installation instructions
Now when you scan for ports you should find something like usbserial-A700eA28. This should also show up in the /dev directory as something like /dev/tty.usbserial-A700eA28.
here
To update your TG firmware on Ubuntu 10.04 the following commands are needed to be issued:
| sudo apt-get update sudo apt-get install avrdude avr-libc avrprog screen md5deep |
Once that is all installed make sure that only the POWER (only the 5v is needed however the 12v line can be connected as well) is connected. To avoid confusion of which serial port is your programmer and which serial port your TinyG is, its best to just leave the TG usb port disconnected during firmware updates.Next, make sure you are able to see the USB programmer. A quick ls /dev/ttyUSB* in a terminal window should do the trick.
| ril3y@dellbuntu:/$ ls /dev/ttyUSB* /dev/ttyUSB0 |
(Note: Most typically on Linux its /dev/ttyUSB0 or /dev/ttyUSB1)
Next we need to make sure we have the new firmware file to TinyG. This file will be called TinyG_Vxxx.hex. The xxx notes the build number. It is always a good idea to verify the md5 sum of the downloaded file to the md5 of the sum that was distributed.
| ril3y@dellbuntu:~/Projects/TinyG/firmware/tinyg_working/default$ md5deep TinyG.hex d3d14779ea3f1572ee48c408310e6c37 /home/ril3y/Projects/TinyG/firmware/tinyg_working/default/TinyG.hex |
Now that everything is verified we are almost ready to upload the new firmware to the TinyG board. Lets go ahead and make sure that we can talk to the TinyG board first.
Below is a screen shot of the procedure. However here is the text needed to be entered to do so:
| ril3y@dellbuntu:~/Projects/TinyG/firmware/tinyg_working$ sudo avrdude -c avrispmkII -P usb -p x256a3 |
|
Below is a screen shot of the procedure. However here is the text needed to be entered to do so:
| ril3y@dellbuntu:~/Projects/TinyG/firmware/tinyg_working$ sudo avrdude -c avrispmkII -P usb -p x256a3 -U flash:w:default/TinyG.hex |
|
Thats it! If you are having issues with talking to the programmer make sure that the TinyG board is powered up and that the ICSP connection hooked up correctly. If you still need assistance read the FAQ or visit the Forums for additional help.