Flashing Tekko32 45A Single ESC - AlkaMotors/AM32-MultiRotor-ESC-firmware GitHub Wiki
The instructions on this page are for Artery AT32F421 MCUs. These MCUs use the uVision program instead of the STM32 Cube program to update the bootloader. Other ESCs, like the RDQ 3-6S 32bit dShot1200 30A ESC, also use the Artery AT32F421 MCU. However, these other ESCs may require the PB4 bootloader (instead of the default PA2), and they may require a different firmware build. Notes have been added to guide others through this process.
ℹ️ In case of display problems of the images, please load the website as desktop version | |
Tekko 32 45A Single ESC Check if your ESC corresponds |
|
Download ST-Link Utility: https://www.st.com/en/ development-tools/ stsw-link004.html |
|
Install software & drivers (you will be ask if drivers should be installed during process) |
|
Plug in your ST-Link device | |
Open ST-Link Utility Click ST-LINK ➡️ Firmware Update |
|
Click Device Connect, then Yes>>>> to Upgrade Firmware Unplug your ST Link |
|
Download AT32F421_AM32_Bootloader: https://github.com/AlkaMotors/ AT32F421_AM32_Bootloader Unzip file |
|
Download Keil MDK-Arm: (you will be ask if drivers should be installed during process) |
|
Go to the Bootloader folder and Unzip ArteryTek.AT32F421… (Just double click and you will be asked to install "Keil Pack Unzip" Confirm Unzip the Pack by clicking Next>> Close everything |
|
Tekko 32 45A Single ESC Now it‘s time to connect to the ESC Connect the pads to thecorresponding pins of the ST-Link as shown in the photo. You can solder thin wires to the The cables should all have the SWCLK pad with this ESC!Here is extremely little space to the capacitors, to which V_Bat is applied |
|
RDQ 3-6S 32bit dShot1200 30A ESC Skip this if updating the Tekko Connect the pads to thecorresponding pins of the ST-Link as shown in the photo. You can solder thin wires to the The cables should all have the connection using the negative battery pad for the ESC.:bangbang: |
|
Tekko 32 45A Single ESC
ℹ️ For me, the Pogo Pins Connect a battery plug to |
|
Plug in your ST Link Power the ESC Go to the Bootloader folder andopen the AM32 Project file(µVision will open) |
|
Right click Target 1, click Options for Target 1'… |
|
Go to Debug-Tab (1) Select ST Link Debugger from dropdown (2) Click Settings (3) |
|
If everything is connected correctly, you will see your target under SW Device. Confirm both windows with OK If you see no target connected, |
|
Right click Target 1, click Options for Target 1'… ➡️ Debug ➡️ Settings ➡️ Flash Download (1) Select the Programming Algorithm (2) Click Remove (3) Click Add (4) |
|
Select the Flash Programming AlgorithmAT32F421 Flash user system data (1)Click Add (2) Confirm both windows with OK |
|
On the main screen select Flash ➡️ Download |
|
Ignore the Error message and click Options for Target 1'… ➡️ Debug ➡️ Settings ➡️ Flash Download |
|
Select the Programming Algorithm (1) Click Remove (2) Click Add (3) |
|
Select the Flash Programming Algorithm PA2 bydefault, so you don’t have to change something here |
|
Skip this if updating the Tekko32. The RDQ 3-6S 32bit dShot1200 30A ESC requires the PB4 bootloader. To change from the PA2 to the PB4 bootloader,Double click on "main.c: (1) Edit the program ~lines 22/23. Uncomment the one you want; comment-out the other. (2) Open the Project Menu (3) Click "Build Target" (4). |
|
On the main screen select Bootloader done! Close µVision windowUnplug ESC Unplug ST Link and remove connection to the ESC (SWDIO, SWCLK, GND) |
|
Download the ESC Config Tool: |
|
Tekko 32 45A Single ESC
Download and save the firmware (1) |
|
RDQ 3-6S 32bit dShot1200 30A ESC
Download and save the firmware (1) Why these files with names of other ESCs? It is confusing... each ESC designer/manufacturer |
|
Connect your ESC to a to a motor pad on the FC to GND next to the motor pads your computer via USB |
|
Do NOT power your ESC Start the ESC Config Tool: |
|
Select the right COM Port |
|
Goto Flash-Tab (1) and select the All done! 🏁 |