This method requires LeoOS 0.2 or newer.
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:
And then, run the update script by typing:
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:
Replace [VERSION] with the version you downloaded.
The process of flashing should begin. After it completes, you should be good to go.
The problem does not occur when using the first method to flash the firmware as the leo_fw update script will also flash the bootloader.
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:
Now you can proceed with the firmware flashing operation.