So it's time to update the firmware, for the first time, for the last time. Hopefully not the last time!
- Install the Arduino IDE on your computer from https://www.arduino.cc/en/Main/Software. At this moment, 1.8.13 is the latest version.
- Open the Arduino Preferences menu (File->Preferences or Arduino-Preferences on macOS)
- Enter
https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json
into the Additional Boards Manager URLs -- this is to allow Arduino to download the RedBoard support in the following steps. - Click OK to close the Preferences window
- Open
Tools->Board
and selectBoards Manager
- Search for
RedBoard Nano
to install theSparkFun Apollo3 Boards
and selectInstall
. At this moment, 1.1.2 is the latest version of the Apollo3 Board support from SparkFun and is confirmed to work with the latest Foxie Clock firmware. - Select
Tools->Board->SparkFun RedBoard Artemis Nano
- Select
Tools->Programmer->Ambiq Secure Bootloader
- Make sure your Foxie Clock is plugged into your computer with a USB-C cable.
- Select
Tools->Port
in Arduino and choose the correct port for your Foxie Clock. On most platforms, this will have "wch" at the beginning of the serial port name. If there is more than one available port, you can unplug the clock, openTools->Port
to see what is there, then plug in the clock again and select the newly available port.
Note: On some operating systems (such as macOS), you may need to install WCH's CH340 drivers and reboot for the board support to detect the correct serial port. See SparkFun's How to Install CH340 Drivers for more information.
- OPTIONAL, but highly recommended: Select
Tools->Burn Bootloader
to write the latest version of SparkFun's bootloader to the Nano -- this is still important for the Artemis boards for Arduino to be able to write the firmware reliably.
SparkFun's Hookup Guide for the SparkFun RedBoard Artemis Nano
SparkFun's Artemis Development with Arduino
The best thing is to git clone https://github.com/afoxinsocks/foxie-clock
to your local computer, then you can simply git pull
to get the latest changes at any time.
- In Arduino IDE, open
foxie-clock/firmware/firmware.ino
- Make some changes, if you want!
- Select
Sketch->Upload
- Remember, you can always undo any local changes easily with git in case you really mess it up. Don't be afraid to try new things!