Upgrading Robot Firmware
Prerequisites
- Type-C usb cable.
- A computer with Ubuntu 20.04 or later.
Go clone the xrock repository, and follow it's instruction to build the xrock tool.
Then, download the file we sent to you. Usually it will be sent as a tar.gz file. You need to extract it. After extraction, it is usually named like xxxx.ext2
.
Putting the controller into bootloader mode
Base
- Shutdown the robot. Make sure the robot is completely off. (Switch is off and screen turns dark).
- Push the Emergency Stop button.
- Turn on the main power switch.
All base products have a screen, so you can view if it is in bootloader mode simply by checking the screen. Chassis Controller
After successfully putting the controller into bootloader mode, the screen will display the bootloader mode message.
Start flashing
Connect the type-C usb cable to the controller.
Then, run ./xrock flash write 262144 {PATH_TO_THE_EXT2_FILE}
on your ubuntu computer that just compiled xrock.
MAKE SURE YOU TYPE 262144 CORRECTLY. If you type it incorrectly, you will brick the controller.