2025-07-15 3:44 AM
Hi everyone,
I wanted to know if semihosting is available on N6 or not as I am trying to enable it following the below tutorial.
https://community.st.com/t5/stm32-mcus/how-to-use-semihosting-with-stm32cubeide-and-stm32/ta-p/49742
but I am getting the following error.
Open On-Chip Debugger 0.12.0+dev-00608-gd8ed48fef (2025-02-06-11:15) [https://github.com/STMicroelectronics/OpenOCD]
Licensed under GNU GPL v2
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 V3J16M7 (API v3) VID:PID 0483:3754
Info : Target voltage: 3.263172
Info : clock speed 8000 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x6ba02477
Info : [STM32N657X0HxQ.ap0] Examination succeed
Info : [STM32N657X0HxQ.cpu] Cortex-M55 r1p1 processor detected
Info : [STM32N657X0HxQ.cpu] target has 8 breakpoints, 8 watchpoints
STM32N657X0HxQ.cpu in Secure state
Info : [STM32N657X0HxQ.cpu] Examination succeed
Info : gdb port disabled
Info : starting gdb server for STM32N657X0HxQ.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : [STM32N657X0HxQ.cpu] external reset detected
Info : accepting 'gdb' connection on tcp/3333
[STM32N657X0HxQ.cpu] halted due to breakpoint, current mode: Thread
xPSR: 0x81000000 pc: 0x18003a1a msp: 0x341037a0
Info : New GDB Connection: 1, Target STM32N657X0HxQ.cpu, state: halted
Info : accepting 'gdb' connection on tcp/3333
Info : New GDB Connection: 2, Target STM32N657X0HxQ.cpu, state: halted
Error: Failed to read memory at 0x00000004
Error: Failed to read memory at 0x00000004
Error: Failed to read memory at 0x00000004
Error: Failed to read memory at 0x00000004
Error: Failed to read memory at 0x00000004
Error: Failed to read memory at 0x00000004
Thanks in advance.