Firmware update

Firmware flashing

Connect to micro USB hSerial port

Make sure that your RaspberryPi is connected to CORE2 board through a micro USB hSerial port.

You'll need a USB A - USB micro cable provided with the Rover.

If you want to flash the firmware more ofter, buy a short (5 cm) one so you'll be able to leave it connected all the time inside the main electronics box (MEB).

Check if there's a firmware file in the filesystem



If you see any file named 'firmware (...) .hex' use this exact name in the next steps.

(otherwise) Download the newest Leo Rover firmware

You can find all firmware versions and their changelogs in our GitHub releases page.

Choose the version you want and download the .hex file (ex. 'leo_firmware.hex') to your computer.

Upload the firmware to the Rover

Place the firmware .hex file inside /home/husarion directory of your Rover.

Flash the firmware

Make sure you are in the home directory (by default you should be there;/home/husarion) and type:

/opt/husarion/tools/rpi-linux/core2-flasher leo_firmware_name.hex

Modify the last phrase in the line above if your file name is different.

For ex. Leo Rover 1.6 firmware for Buehler motors will be named similar to 'leo_firmware_v0.5_buehler.hex' - use the full name in the command.

The process of flashing should begin. After it completes, restart the Rover.



Core2-ROS straight out of the box = bootloader not flashed

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:

/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.