cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to debug/STLink to STM32MP157C-DK1

SDW
Visitor

New to STM32CubeIDE and trying to compile/download examples to STM32MP157C-DK1.

It seems that the ST-Link on this particular board is not functioning correctly, both STM32CubeProgrammer and command line suggest that there is 'No device found on target'.

 

C:\Windows\System32>C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.1.400.202404281720\tools\bin\ST-LINK_gdbserver.exe -p 61234 -l 1 -d -s -cp C:\ST\STM32CubeIDE_1.16.1\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_2.1.400.202404281720\tools\bin -m 2 -g


STMicroelectronics ST-LINK GDB server. Version 7.8.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.

Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled

Target no device found

Error in initializing ST-LINK device.
Reason: No device found on target.

 

However if I connect with ST-Link in OpenOCD mode it shows that there is a processor (two indeed!). If I try to debug with this connection I get a host of other weird errors...

 

I have flashed the ST-Link to the newest version 'V2.J45.M31'.

I can connect successfully to another ST-Link capable dev-board (ST-USB02).

 

Any suggestions?

0 REPLIES 0