Make sure that your Raspberry Pi is connected to CORE2 board through a micro USB hSerial port.
You can find all firmware versions and their changelogs on our GitHub releases page.
Choose the version you want and download
leo_firmware.hex file to your computer
leo_firmware.hex file inside home directory of your Rover.
This part is already covered in our previous tutorial:
Make sure you are in the home directory (
/home/husarion) and type:
The process of flashing should begin. After it completes, type:
sudo systemctl restart leo
to restart the ROS serial node.
If you happened to receive a not-previously-flashed CORE2 board, you might 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 connected the Rover to the Internet, just type:
Then, do the following commands:
/opt/husarion/tools/rpi-linux/core2-flasher --unprotect/opt/husarion/tools/rpi-linux/core2-flasher bootloader_1_0_0_core2.hex/opt/husarion/tools/rpi-linux/core2-flasher --protect
Now you can proceed with the firmware flashing operation.