OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

Flash the controller firmware

1. Download the official firmware

Please select and download the controller firmware suitable for your robot from the table below.

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

Download link: originbot_controller_firmware_v1.0.1

2. Connect the flashing data cable

(1) Disconnect the serial communication connection between the controller and the Xuri X3 board.

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

(2) During firmware flashing, power will be supplied by the Type-C cable that will be connected later. To ensure proper flashing, do not turn on the robot’s main power switch.

(3) Use the Type-C cable to connect the “Burning” port of the expansion board to the computer (you can use the Type-C cable that comes with the radar).

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

3. Download the official firmware

(1) Start the flymcu software on the computer (click here to download);

(2) Click Port and select the serial port for flashing the firmware (choose the serial port with the “CH340” number);

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

(4) Wait for the log on the right to indicate that programming is complete, and the firmware download/update is finished;

(5) After the download is complete, restore the serial communication connection between the controller and the Xuri X3 board.

Source code debugging download

1. Install Keil software

Visit the Keil software download page and click to download the software:

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

After the download is complete, you can refer to the following steps to complete the software installation:

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

2. Download the firmware source code

Use the following command to download the source code of the OriginBot controller firmware:

$ git clone https://gitee.com/guyuehome/originbot_controller

3. Open the project and install the dependency libraries

After starting the Keil software, select to open the project, choose the project file from the previously downloaded source code, and then continue to install the necessary software packages:

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

4. Debugging download

If you want to debug online using a debugger, you need to configure as follows:

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

If you want to compile and generate HEX binary files and download them via USB, you need to configure as follows. After configuration, compiling will produce HEX files, which can be downloaded via FlyMCU software:

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware InstallationOriginBot Smart Robot Open Source Kit | 3. Controller Firmware InstallationOriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

Developing Smart Cars from Scratch • Gu Yue & Qian Mo

Created by the core team of Gu Yue Ju, it will guide everyone to design and develop a smart car from scratch. The knowledge system spans various fields such as structure, electrical, embedded systems, ROS, artificial intelligence, etc., quickly understanding the complete path of robot design and mastering the core methods of robot development.

OriginBot Smart Robot Open Source Kit | 3. Controller Firmware Installation

(Scan the QR code to view course details)

Leave a Comment