"Device is not connected" Error in Motor Control Workbench 5.4.6 with X-NUCLEO-IHM07M1 and STM32F302R8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-09 4:47 AM
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:
- 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.).
- 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.
- 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”.
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
- Labels:
-
STM32F3 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-13 8:25 AM
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).
Best regards.
GMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-15 2:22 AM
Dear GMA,
Thanks for your reply.
I tried with the procedure mentioned here. But still, device is not connected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-16 6:53 AM
Hello sundar_mepco,
Could you please tell which version of CubeMX you are using for code generation ?
Hope this will help,
Gaël A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-17 4:34 AM
STM32CubeMX 6.13.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-05-19 2:33 AM
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.
Hope this will help,
Gaël A.
