ROS交流群
ROS Group
产品服务
Product Service
开源代码库
Github
官网
Official website
技术交流
Technological exchanges
激光雷达
LIDAR
ROS教程
ROS Tourials
深度学习
Deep Learning
机器视觉
Computer Vision

Xiaoqiang Bottom Driver Firmware Download and Upgrade Methods


  • administrators

    Users received Xiaoqiang after March 11, 2017. Please refer to this post to upgrade the firmware. If you cannot upgrade, please ask for customer service before using the following method. Manually upgrade risk, please consult customer service before operation.

    Xiaoqiang v4_3.hex ,Right click “Save As…” and download it as xiaoqiang.hex

    The firmware is an ordinary hex file and supports any stm32 downloader. After stm32 is burned, please complete the host computer update operation according to the upgrade chassis ros driver package xqserial_server. Finally recalibrate the chassis IMU according to this tutorial.

    The following describes the use of Xiaoqiang’s own method of using USB to serial port to write stm32. After this upgrade, you can use the simple upgrade method in this post.

    1. Find a Windows computer, download and install this stm32flash software

    flash_loader_demo_v2.8.0.exe , right click “Save as…” to start download

    1. After power off the chassis, remove the VMOT GND wire on the middle of the green motor driver board, slowly pull out the stm32 core board on the chassis, and then adjust the two short caps on the board according to the following figure.

    0_1537583526573_cd686f72-415f-4f85-8df4-1e509952c581-image.png

    0_1537583536557_ecd8118c-6c27-4452-ba25-ea5dd13ba183-image.png

    1. Insert the stm32 board after adjustment in the second step into the chassis. Note that the pins need to be fully aligned with the chassis, and then the chassis is powered on.

    2. Unplug the usb head of the USB to serial port module on Xiaoqiang from the host computer and insert it into the windows computer. Open the Flash Loader Demo program from the Start Programs menu. All Programs->STMicroelectronics->Demonstrator GUI, the following interface appears.

    0_1537583559874_47aef954-4922-4b27-b80a-152769420bba-image.png

    1. Select the default settings, always point next (If you click next failure, re-power the chassis and try again), the following interface appears:

    0_1537583575156_30bc57b0-975a-4141-b54e-ce6e76067255-image.png

    1. Select Download to device, select the hex file provided above, click Next to start the download.

    0_1537583588645_1727a520-693c-4a13-ad24-a3c3ee2a6282-image.png

    0_1537583594284_f023947b-b5d1-47ed-bb46-c5642812776b-image.png

    1. After the burning is completed, please close the software, power off the chassis, and insert USB to serial port back to Xiaoqiang’s host computer.

    2. Slowly unplug the stm32 core board on the chassis again, adjust the two shorting caps on the board back to the initial state, insert it back into the chassis (pins need to be fully aligned with the insertion base), the green motor driver board The middle “VMOT GND” wiring is plugged in, stm32 upgrade is completed!

    0_1537583613286_7ac5a85b-beee-4510-8000-81074945b70b-image.png

    1. Chassis re-powered, according to the tips at the beginning of the article to complete the upgrade of the host computer.