cancel
Showing results for 
Search instead for 
Did you mean: 

"Device is not connected" Error in Motor Control Workbench 5.4.6 with X-NUCLEO-IHM07M1 and STM32F302R8

sundar_mepco
Associate II

I am attempting to evaluate motor control using the X-NUCLEO-IHM07M1 power board with the STM32F302R8 Nucleo board. I have installed STM32 Motor Control Workbench version 5.4.6 on my PC. However, I encounter the following issue:

Error: "Device is not connected"

Steps Taken:

  1. Hardware Setup:
    • X-NUCLEO-IHM07M1 is stacked on STM32F302R8 board.
    • USB connection is made via STM32’s USB mini port to the PC.
    • Power supply is connected to the motor driver board.
    • Verified jumper settings as per user manual (JP1, JP5, etc.).
  2. Software Checks:
    • USB connection is recognized in Device Manager as STLink (driver is working fine).
    • Attempted connection via Motor Profiler, but it failed to detect the board.
    • Verified that COM port is correctly assigned and visible.
  3. Motor Control Workbench:
    • Attempted to connect in the tool after selecting the correct Nucleo board and firmware version.
    • Tried both "New Project" and “Monitor” mode — same error: “Device is not connected”.
  4. System Info:

    • Windows Version: windows 10
    • STM32CubeIDE: STM32CubeIDE 1.18.1
    • ST-Link Driver Version: 2.2.0
    • Motor Control Workbench Version: 5.4.6
    • X-NUCLEO-IHM07M1 Board
    • STM32F302R8 Nucleo Board
    • Firmware Version: V2J37M26
5 REPLIES 5
GMA
ST Employee

Hello @sundar_mepco,

If you want to evaluate the motor control tool, you can use our latest MCSDK6.3.2 version available here
Have a look to Featured Video "Getting started with STM32 Motor control SDK6.0" for creating a project, compiling and flashing it.
MCSDK6.3.2 Motor Pilot Tool is able to detect board by clicking on "Discover board" button (refer to Motor Pilot wiki page). 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
sundar_mepco
Associate II

Dear GMA, 

Thanks for your reply. 

I tried with the procedure mentioned here. But still, device is not connected

Hello sundar_mepco,

Could you please tell which version of CubeMX you are using for code generation ?

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.

STM32CubeMX 6.13.0

Hello sundar_mepco,

Could you please confirm that you switched to MCSDK 6.3.2 (know that MCSDK 6.4.0 is now out) as GMA requested ? Could you please send your .stwb6 project file ? Can you confirm that you have no warning during compilation and flashing FW on the board ?
Are you able to connect via STLink using CubeProgrammer ? If yes, can you try to upgrade the STLink ?
Are you able to run the motor using the start button ? Of course, check that the feature is enabled in the WorkBench first.

If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.

Hope this will help,
Gaël A.