Skip to main content
Associate III
December 3, 2024
Question

STEVAL-ESC001V1 Motor Pilot connection

  • December 3, 2024
  • 5 replies
  • 2264 views

I have tried connecting both STLink and UART but Motor Pilot is not getting connected, 

ERROR: No STLink VCP detected

I am using (V1.2.9) and tried using older version but still issue persists. Kindly help.

5 replies

tejas_ampAuthor
Associate III
December 17, 2024

Is there anyone at ST?

Gael A
ST Employee
December 17, 2024

Hello tejas_amp,

Which Firmware are you using ? What is your MCSDK version ? Have you made sure that the MCProtocol was enabled in the project before generating ?

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
tejas_ampAuthor
Associate III
December 17, 2024


I am using firmware generated through MCWorkbench by going to Inverter section and selecting STEVAL ESC001V1 with "Electronic Speed Controller" enabled.

MCSDK 6.3.0 version

How to ensure that the MCProtocol was enabled in the project before generating ? Where it is available.

I also tried using older 5.x version suggested in doc but it was not even generating code.

Gael A
ST Employee
December 17, 2024

Hello,

The MCP is located in the User Interface tab inside the Workbench. Please make sure that you are using the Motor Pilot provided with the Workbench you used to generate the FW. Also, please consider upgrading to MCSDK 6.3.2.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
tejas_ampAuthor
Associate III
December 17, 2024

Yes MCP is enabled at 1843200 B/s but still no connecttion is showing in motor pilot

Gael A
ST Employee
December 17, 2024

Hello again,

Could you please tell me how you connect the board to your computer ? You can send pictures if you want.


If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
tejas_ampAuthor
Associate III
December 17, 2024

I have connected UART and ST Link connections

 

1.jpg

Gael A
ST Employee
December 17, 2024

Could you tell me what device you use for connecting the ESC001 to the computer ? Also please focus the picture on the connection between the two.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
tejas_ampAuthor
Associate III
December 17, 2024

I used "ST Link V2 Programmer For STM8 and STM32" (https://robu.in/product/st-link-v2-programmer-for-stm8-and-stm32/?gad_source=1&gclid=EAIaIQobChMIyYD6gdquigMV3j1ECB2KfiYtEAQYASABEgLi2vD_BwE) for debugging and usb to uart bridge for uart. Connections are same as specified in manual. Even uart is working fine when i am trying to send data through code and output on putty.

Gael A
ST Employee
December 17, 2024

Hello,

I think I found the issue, as you are using a non official STLink device, the Discover Board function will not work.

You need to load the GUI you need and then manually connect using the correct COM Port.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.