Skip to main content
Associate
May 9, 2025
Question

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

  • May 9, 2025
  • 2 replies
  • 720 views

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

2 replies

GMA
Technical Moderator
May 13, 2025

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
Associate
May 15, 2025

Dear GMA, 

Thanks for your reply. 

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

Gael A
ST Employee
May 16, 2025

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.
Associate
May 17, 2025

STM32CubeMX 6.13.0