Skip to main content
Associate
December 15, 2024
Solved

ST Motor Control with STLinkV3

  • December 15, 2024
  • 4 replies
  • 975 views

Hi all,

I have adapted the B-G431B-ESC1 board into a custom design and I am using a STLINK-V3MINIE for programming. I can program the controller and I can communicate via the serial interface.

But ST Motor Pilot V1.2.12 does not detect the UART interface. The 'Board Connection' area is greyed out. I tried older versions of the MotorPilot but it did not work too. 

Can ST Motor Pilot not work with STLINKs or do I need a different one than the STLINK-V3MINIE?

 

Kind Regards
 Thundernail

Best answer by LHOUE

Hi @Thundernail2000 ,

I see that your COM port has been listed by motorPilot. That's good! 

So you have only to press to "discover board" button or if you know which Motor control firmware (FOC/6STEP/HSO) is present in your ESC board, you can click on load UI select the qml file corresponding to your firmware and you will have then the possibility to click on connect.

 

BRs

4 replies

AScha.3
Super User
December 15, 2024

Is in your system the serial port visible?

Did you connect to the serial port of mini E ?

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate
December 16, 2024

Yes, Windows shows it as "USB Serial Device (COM3)".

Thundernail2000_1-1734355331310.png

I can select the port in other terminal programs. 

But ST Motor Pilot does not even give me the option to press the refresh button.

Thundernail2000_0-1734355281449.png

 

LHOUEBest answer
ST Employee
December 16, 2024

Hi @Thundernail2000 ,

I see that your COM port has been listed by motorPilot. That's good! 

So you have only to press to "discover board" button or if you know which Motor control firmware (FOC/6STEP/HSO) is present in your ESC board, you can click on load UI select the qml file corresponding to your firmware and you will have then the possibility to click on connect.

 

BRs

Associate
December 16, 2024

Hi LHOUSE,

Thank you. That helped.

"Discover Board" does not work for me, because it is a custom board. The error message I got is misleading:
Thundernail2000_0-1734377616947.png
From this I thought that I had no connection instead of that the software just does not know the board. 

With GUI -> Load GUI it then enables the 'Connect' button on the top and communication with the board is working. 

Kind Regards
 TN