cancel
Showing results for 
Search instead for 
Did you mean: 

could not verify st device

anupam1511
Associate

i am working on board stm32f103c8t6 and when i am going for debugging in stm32cubeide its shows error

For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : STLINK V2J44M29 (API v2) VID:PID 0483:3752
Info : Target voltage: 3.194795
Info : clock speed 4000 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x2ba01477
Info : [STM32F103C8Tx.cpu] Cortex-M3 r2p0 processor detected
Info : [STM32F103C8Tx.cpu] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for STM32F103C8Tx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
Error: timed out while waiting for target halted
Error executing event gdb-attach on target STM32F103C8Tx.cpu:
/opt/st/stm32cubeide_1.15.0/plugins/com.st.stm32cube.ide.mcu.debug.openocd_2.2.0.202401261111/resources/openocd/st_scripts/gdb_helper.tcl:18: Error: TARGET: STM32F103C8Tx.cpu - Not halted
in procedure 'gdb_attach_hook' called at file "/opt/st/stm32cubeide_1.15.0/plugins/com.st.stm32cube.ide.mcu.debug.openocd_2.2.0.202401261111/resources/openocd/st_scripts/target/stm32f1x.cfg", line 185
in procedure 'first_gdb_attach_hook' called at file "/opt/st/stm32cubeide_1.15.0/plugins/com.st.stm32cube.ide.mcu.debug.openocd_2.2.0.202401261111/resources/openocd/st_scripts/gdb_helper.tcl", line 18
Info : device id = 0x20030410
Info : flash size = 128 KiB
Warn : GDB connection 1 on target STM32F103C8Tx.cpu not halted
shutdown command invoked
Info : dropped 'gdb' connection

 

facing errorfacing errorerror facingerror facing

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @anupam1511 and welcome to the ST Community.

This again looks very much like a fake STM32, More details can be found on this post

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
STTwo-32
ST Employee

Hello @anupam1511 and welcome to the ST Community.

This again looks very much like a fake STM32, More details can be found on this post

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.