How to update firmware of XGO-Mini driver

Catalogue
  1. 1. 1 Use JLink to burn
    1. 1.1. Hardware connection
    2. 1.2. New Construction
    3. 1.3. Start burning
  2. 2. 2 Use STLink for programming
    1. 2.1. Hardware connection
    2. 2.2. Start burning
  3. 3. 3 Use USB to burn
    1. 3.1. Hardware connection
    2. 3.2. ISP burning

XGO-Mini STM32 firmware download

1 Use JLink to burn

Hardware connection

First, connect 3V3, SWDIO, SWCLK, and GND on the jlink to the corresponding pins on the motherboard. Pay attention to the line order! Inserting it backwards may burn the chip! . XGO-Mini Board

New Construction

Open JFLASH, create a new project, click the button on the right side of Target Device, and select the STM32F405RG series in the new window New project

Start burning

First drag the hex file into the software page. load hex file

Click Target->Connect to connect to the motherboard. If the connection is successful, Connected Successful will be displayed below. If it fails, please check whether the download tool and the motherboard are loose. check connection

Click Target->Auto to complete the programming. If there is no Auto, manualprogramming->Program&Verify can also be burned. Complete burning

2 Use STLink for programming

Hardware connection

First, connect 3V3, SWDIO, SWCLK, and GND on the jlink to the corresponding pins on the motherboard. Pay attention to the line order! Inserting it backwards may burn the chip! . XGO-Mini Board

Start burning

Open ST-LINK Utility ST-LINK Utillity

Drag the hex file into the grey area load hex file

Click Target -> Connect at the top, then click Target -> Program&Verify burning

3 Use USB to burn

Hardware connection

Turn the download dial to the ON position, plug in the USB data cable and connect it to the computer usb hardware connection

ISP burning

Open FLYMCU, the operation is as shown below operation process

Note that all the information inside the STM32 will be erased when using USB ISP programming, that is, the recorded zero position of the servo will be erased, so after programming using USB, it needs to be calibrated.