cancel
Showing results for 
Search instead for 
Did you mean: 

B-G431B-ESC1 / MCSDK Motor Pilot/Profiler Failed Connection

TH3221
Associate III

Board: B-G431B-ESC1

OS: Windows 11

Attempting to use the Motor Pilot or Profiler but unable to connect. I know I am connected because ST-Link can read the MCU and I am able to program it. From previous posts it seems to be related to the version of MCSDK so I attempted to use 5.4.8, 6.2.1, 6.2.0, 6.1.0, and 6.3.1. Done the obvious restart computer, board, run as admin.

  • Generated Firmware using the MC workbench, ensured Motor Profiler was checked in Application Configuration and uploaded to board
  • Double checked to make sure UART was initialized
  • Another post said to set build configuration to release, didnt work

 

Not sure how to diagnose from here 

 

From the Motor Profiler (Any of them)

[INFO] - UART worker: Successfully open port COM6 @ 115200

[INFO] - : try to configure the board'

From the Motor Profiler (Any of them)

[ERROR] - : Failed to discover Board at 1843200 Bauds and 115200 Bauds

[INFO] - : disconnect UART START

[INFO] - : Disconnected from board

[INFO] - : disconnect UART END

More information from the programmer

11:54:11 : ST-LINK SN : 0674FF485051727187183257
11:54:11 : ST-LINK FW : V2J45M30
11:54:11 : Board : B-G431B-ESC1
11:54:11 : Voltage : 3.23V
11:54:11 : SWD freq : 4000 KHz
11:54:11 : Connect mode: Normal
11:54:11 : Reset mode : Software reset
11:54:11 : Device ID : 0x468
11:54:11 : Revision ID : Rev X
11:54:11 : ST-LINK SN : 0674FF485051727187183257
11:54:11 : ST-LINK FW : V2J45M30

11 REPLIES 11
shorai
Associate III

I've just had the same problem.

Appears to be fixed with an upgrade of the firmware and download of the example program.

i.e.  - ST-Link needs to be updated to latest

       - Install a dummy version of your project using parameters any motor

        - The run the profiler and get updated profile for your motor.

Hope thay helps 

Kamil1
Associate III

Hi, I have exactly the same issue. Is there any clear solution to this?

I'm using the MCSDK 6.4.1, motor pilot 6.4.1, and stlink firmware is V2J47M34

 

Thank you

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.