---

** [tickets:#363] OpenOCD dose not work debugging with mbed.**

**Status:** new
**Milestone:** 0.11.0
**Created:** Tue Sep 06, 2022 08:14 AM UTC by JIN LEE
**Last Updated:** Tue Sep 06, 2022 08:14 AM UTC
**Owner:** nobody
**Attachments:**

- 
[ocderror.jpg](https://sourceforge.net/p/openocd/tickets/363/attachment/ocderror.jpg)
 (58.6 kB; image/jpeg)


i'm using mbed 6.15+STM32H743VI.

i start the debugging, it works no problem until my board power off.

but the problem arises, when the power on again after power off.

if erasing a flash memory(using st-utilty), it become possible debugging agian.

i think, it is not hardware or wiring issue.

because, i tested my board with mbed 5.15 and cubeIDE(without OS).

this problem only happend with mbed6.15.

Is it not compatible with mbed6.15?

this is my error log.

========================================================================

C:\Users\jsshin\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd\bin\openocd.exe
 -c "gdb_port 60213" -c "telnet_port 60211" -f interface/stlink-v2.cfg -f 
target/stm32h7x_dual_bank.cfg -c init -c "reset init" -c "echo 
VisualGDB_OpenOCD_Ready"
Open On-Chip Debugger 0.11.0 (2021-11-18) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/stlink-v2.cfg is deprecated, please switch to 
interface/stlink.cfg
Info : auto-selecting first available session transport "hla_swd". To override 
use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results 
might differ compared to plain JTAG/SWD
Info : clock speed 1800 kHz
Info : STLINK V2J39S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.203144
Error: Cortex-M PARTNO 0x0 is unrecognized
Warn : target stm32h7x.cpu0 examination failed
Info : starting gdb server for stm32h7x.cpu0 on 60213
Info : Listening on port 60213 for gdb connections
Error: Cortex-M PARTNO 0x0 is unrecognized
TARGET: stm32h7x.cpu0 - Not halted


---

Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.


Reply via email to