You can use the leo_fw package to flash the newest firmware from Raspberry Pi without connecting any additional cables. To do this, login to the Rover:
Make sure you have the latest versions of the packages:
sudo apt update && sudo apt upgrade
And then, run the update script by typing:
rosrun leo_fw update
The script will guide you through the flashing process.
Make sure that your Raspberry Pi is connected to CORE2 board through a micro USB hSerial port. You'll need a USB A <-> USB micro cable provided with the Rover.
You can find all firmware versions and the list of changes on our GitHub releases page.
Check for the newest version and download the .hex file (ex.
leo_firmware_v1.0.0.hex) to your computer.
Place the firmware .hex file inside
/home/pi directory of your Rover.
Make sure you are in the home directory (by default you should be there;
/home/pi) and type:
The process of flashing should begin. After it completes, you should be good to go.
If your Core2-ROS board has not been previously flashed, you may need to flash the bootloader first for a firmware to work.
To do this, download the bootloader from here and upload it to your Rover, or if you already connected the Rover to the Internet, just type:
Then, do the following commands:
core2-flasher --unprotectcore2-flasher bootloader_1_0_0_core2.hexcore2-flasher --protect
Now you can proceed with the firmware flashing operation.