Section 8: Updating the Firmware
ArduinoTrack_Combined is designed for use with the Arduino 1.6.8+ development environment, as available from http://www.arduino.cc/.
The latest firmware can always be found on Custom Digital Services GitHub site. Begin by downloading a Zip file of the firmware contents.
Extract the contents of the .Zip file to your local PC.
With the Arduino software closed, copy boards.local.txt over to the directory "C:\Program Files (x86)\Arduino\hardware\arduino\avr\". (Note, there should already be a board.txt file in this directory, but do not replace it.)
Open the Arduino IDE software. To verify that your change to the Boards.txt file was successful, go to Tools menu and select Board. You should have an option for the ArduinoTrack Shield near the bottom of the list.
On a separate Arduino Uno or similar, install the Arduino ISP Example Sketch the the Uno. Program this as you would a normal sketch, by selecting the appropriate Arduino from the Tools-Boards list, and the Comm port as needed.
Plug the ArduinoTrack Shield into Arduino Uno that is programmed as an ISP programmer.
If this is a brand new ArduinoTrack board that has never been programmed before, there are several commands that must be run from a DOS command prompt. If the ArduinoTrack was purchased as an assembled and tested kit, you can skip these steps. Note, replace "com29" with whatever comm port your ArduinoISP is enumerating on.
- Open a command prompt on the PC.
- C:\> cd \Program Files (x86)\Arduino\hardware\tools\avr\bin
- C:\Program Files (x86)\Arduino\hardware\tools\avr\bin> avrdude.exe -p m328p -b 19200 -c avrisp -C ..\etc\avrdude.conf -P com29 -U hfuse:w:0xD6:m -U lfuse:w:0xFF:m -U efuse:w:0x05:m
Back in the ArduinoIDE, go to the Tools-Board menu, select the ArduinoTrack Shield from the list of targets. From the Tools-Port menu, select the appropriate comm port for the ISP programmer Arduino.
From the Tools-Programmer menu, select Arduino as ISP from the list.
To program the shield, go to Sketch-Upload Using Programmer. The Sketch will compile and will program to the ATMega328 processor similarly to how a normal Arduino with the bootloader is programmed. However, in this situation, no bootloader is required on the Shield.