Skip to main content
ZRoma.1
Visitor II
May 4, 2023
Question

How do I flash firmware to the B-G431B-ESC1?

  • May 4, 2023
  • 1 reply
  • 2443 views

I'm trying to get the basic firmware running, but I think I'm doing something wrong because the ESC doesn't seem to function.

I've generated an IDE project for the B-G431B-ESC1 using the ST Motor Control Workbench, which I then opened in STM32CubeIDE and clicked "Build 'debug' for project" followed by "Run". Everything seems to complete without issues, but when I power the ESC with a 24V supply and give it a PWM signal from a XP3-SSi RC controller the motor doesn't run.

I attached the project's log file, as well as the output from the build and run commands.

This topic has been closed for replies.

1 reply

ST Employee
August 22, 2023

Hello @ZRoma.1 , I'm sorry for the late reply. If you still need help, it looks like your board is flashed. To control the motor from an incoming PWM signal, have you followed the doc Concerning the ESC functionality? Have you activated the Electronic speed control function from the WorkBench?
Chapter 6 :Connection and first execution of the electronic
speed controller
Link : https://www.st.com/resource/en/user_manual/um2516-electronic-speed-controller-discovery-kit-for-drones-with-stm32g431cb-stmicroelectronics.pdf

Here is the documentation: