Skip to main content
Visitor II
June 26, 2026
Question

I am trying to run DDR_Init on the STM32MP135F-DK board using STM32CubeIDE.

  • June 26, 2026
  • 0 replies
  • 15 views

When I start a debug session, the state is as shown below, with the PC set to `Reset_Handler`. Upon performing a "Step Into" operation, the PC becomes `0xd00c`. Please tell me what the problem is.

Open On-Chip Debugger 0.12.0-00029-gf77e7cb03 (2023-12-15-13:25) [https://github.com/STMicroelectronics/OpenOCD]

Licensed under GNU GPL v2

For bug reports, read

http://openocd.org/doc/doxygen/bugs.html

srst_only srst_pulls_trst srst_gates_jtag srst_open_drain connect_deassert_srst

 

Info : Listening on port 64567 for tcl connections

Info : Listening on port 62345 for telnet connections

Info : STLINK V3J17M11B6S1 (API v3) VID:PID 0483:3753

Info : Target voltage: 3.284462

Info : Unable to match requested speed 5000 kHz, using 3300 kHz

Info : Unable to match requested speed 5000 kHz, using 3300 kHz

Info : clock speed 3300 kHz

Info : stlink_dap_op_connect(connect)

Info : SWD DPIDR 0x6ba02477

Info : stlink_dap_op_connect(connect)

Info : SWD DPIDR 0x6ba02477

Info : STM32MP135FAFx.cpu: hardware has 6 breakpoints, 4 watchpoints

Info : gdb port disabled

Info : gdb port disabled

Info : starting gdb server for STM32MP135FAFx.cpu on 61234

Info : Listening on port 61234 for gdb connections

Info : accepting 'gdb' connection on tcp/61234

Info : STM32MP135FAFx.cpu: MPIDR level2 0, cluster 0, core 0, multi core, no SMT

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x400001f3 pc: 0x0000d0d8

MMU: enabled, D-Cache: disabled, I-Cache: enabled

Info : New GDB Connection: 1, Target STM32MP135FAFx.cpu, state: halted

Info : stlink_dap_op_connect(connect)

Info : SWD DPIDR 0x6ba02477

Info : stlink_dap_op_connect(connect)

Info : SWD DPIDR 0x6ba02477

Warn : STM32MP135FAFx.cpu: ran after reset and before halt ...

target halted in Thumb state due to debug-request, current mode: Supervisor

cpsr: 0x800001f3 pc: 0x00013158

MMU: enabled, D-Cache: disabled, I-Cache: enabled

Warn : target STM32MP135FAFx.cpu is not halted (gdb fileio)

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 100ms

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: Target not halted

Error: armv7a_l1_d_cache_sanity_check: target not halted

Error: arm7a_l2x_sanity_check: target not halted

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: armv7a_l1_d_cache_sanity_check: target not halted

Error: arm7a_l2x_sanity_check: target not halted

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: armv7a_l1_d_cache_sanity_check: target not halted

Error: arm7a_l2x_sanity_check: target not halted

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Error: cortex_a_mmu: target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Warn : target not halted

Error: Could not read DSCR register

Error: Error waiting for dpm prepare

Error: unknown/unexpected STLINK status code 0x19

Error: Could not read DSCR register

Error: Error waiting for cortex_a_exec_opcode

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 300ms

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 700ms

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 1500ms

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 3100ms

Polling target STM32MP135FAFx.cpu failed, trying to reexamine

Examination failed, GDB will be halted. Polling again in 6300ms