Updating the firmware
From Tuxisalive
English • Français
This article explains how to update Tux Droid with the latest firmware version.
Updating the firmware is not difficult, but is not riskless. If something goes wrong during the process, a CPU can be corrupted. Please read this article attentively and respect the instructions.
Contents |
Prerequisites
To be able to update the firmware, you need a working Linux 32 bits' installation. 64 bits' installations are not supported yet for the firmware update.
You also need :
- A screwdriver to remove the battery cover
- The white programming cable
Download the latest firmware package
Download the tar archive here : http://ftp.kysoh.com/ssv3/misc/TuxDroid_Firmware_0.9.1.tar.gz
- Name : TuxDroid_Firmware_0.9.1.tar.gz
- Size : 94208 B
- MD5 : 32d8a3f582b49337a30f50b8f2eef877
Prepare the tools
Untar the archive in your home :
tar -xf TuxDroid_Firmware_0.9.1.tar.gz -C ~/
Go to the uncompressed directory :
cd ~/TuxDroid_Firmware_0.9.1
Add dfu-programmer and tuxup to your PATH :
PATH=~/TuxDroid_Firmware_0.9.1:$PATH
Be sure that no Tux Droid process is running.
for process in `ps h -e |grep tux |awk '{print $1}'`; do \
sudo kill -9 $process 2>/dev/null; \
echo "Process $process killed"; \
done
Update the dongle
The first step is to update the USB dongle.
tuxup fuxusb.hex
The output must be :
Programming fuxusb.hex in the USB CPU Version 0.9.1 Validating... 6472 bytes used (39.50%) [ OK ] Time elapsed: 5 seconds.
If tuxup fails to update fuxusb.hex, you can try to run tuxup as root.
At this step, if the fuxusb.hex is correctly updated, it's recommended to unplug / plug the dongle.
Update Tux
To update the CPUs inside Tux Droid, you have to remove the battery cover located in the back of Tux Droid. Once the battery cover is removed, you'll be able to connect the white programming cable between Tux Droid and the dongle.
Be sure the cable is correctly connected before starting the update. It's also recommended to plug the power supply during this operation.
Start Tux Droid in the bootloader mode. To do that, press the head button while you switch on Tux Droid. Only the left eye must be lit.
Update the firmware with the command :
tuxup tuxaudio.{hex,eep} tuxcore.{hex,eep} tuxrf.hex fuxrf.hex
The output must be :
Programming tuxaudio.hex in tuxaudio CPU Version 0.9.1 FLASH [#############################################################] [ OK ] Programming tuxaudio.eep in tuxaudio CPU EEPROM [#############################################################] [ OK ] Programming tuxcore.hex in tuxcore CPU Version 0.9.1 FLASH [#############################################################] [ OK ] Programming tuxcore.eep in tuxcore CPU EEPROM [#############################################################] [ OK ] Programming tuxrf.hex in tuxrf CPU Version 0.9.0 FLASH [#############################################################] [ OK ] Programming fuxrf.hex in fuxrf CPU Version 0.9.0 FLASH [#############################################################] [ OK ] Time elapsed: 24 seconds.
If you get this output, your Tux Droid is up-to-date. You can now restart Tux, unplug the white programming cable, and start using your Tux Droid !

