Difference between revisions of "Kilobot Firmware"
From Kilobots
m (Giovannireina moved page Firmware 1.0 to Kilobot Firmware) |
(→Kilobot Firmware Upgrade) |
||
Line 2: | Line 2: | ||
Additionally, most of the tools provided in this website require the firmware 2.0 to work properly. | Additionally, most of the tools provided in this website require the firmware 2.0 to work properly. | ||
− | == Kilobot Firmware | + | == Upgrade to Kilobot Firmware 2.0 == |
The information reported here below can be found also on the kilobotics website (https://www.kilobotics.com/documentation). | The information reported here below can be found also on the kilobotics website (https://www.kilobotics.com/documentation). |
Revision as of 18:53, 27 January 2016
We recommend to use the firmware 2.0, which has a more stable code, more supported communication interface and allows working with Linux and MacOS. Additionally, most of the tools provided in this website require the firmware 2.0 to work properly.
Upgrade to Kilobot Firmware 2.0
The information reported here below can be found also on the kilobotics website (https://www.kilobotics.com/documentation).
- NOTE:
- You will only need to do this once. If you already have the latest controller firmware and bootlader installed, then you can skip the next steps.
We recommend doing the firmware upgrade from a Linux machine.
Here below, the steps to upgrade the kilobot firmware:
- 1. Setup of your Linux machine installing avrdude. For Ubuntu, use the following command:
-
sudo apt-get install avrdude
-
- 2. If it's not done yet, update the firmware of the Overhead Controller (OHC) (see OHC Firmware for details)
- 3. Download the file bootloader.hex
- 4. Set the OHC jumper to "external" mode as in this Figure
- 5. Connect the OHC to the PC through Usb, and plug the cable connecting the OHC to the kilobot as in Figure
- 6. Run (from the directory containing the bootloader file) the update command:
-
sudo avrdude -p m328p -P usb -c avrispmkII -U "flash:w:bootloader.hex:i"
-
- 7. If you succeed, the robot should be happy and start vibrating in your hands the terminal message should say:
Fuses OK. avrdude done. Thank you.
Similarly to this screenshot.