I'm trying debug a stm32f103rb with 20k RAM. I'm using a JLink-EDU. But I get the following error message:
"ERROR: Could not write CPU register MSP: written: 0x20004FFF"
The programm is flashed, and it works (toggled LED), but it does not stoped at the breakpoint. The gdbserver has the version 4.12.
My gdb commands:
monitor speed 10
monitor flash device = STM32F103RB
monitor endian little
monitor flash breakpoints = 1
monitor flash download = 1
load "$(TARGET_OUTPUT_FILE)"
monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)
---
TARGET_OUTPUT_FILE="...../main.elf"
What is the problem?
"ERROR: Could not write CPU register MSP: written: 0x20004FFF"
The programm is flashed, and it works (toggled LED), but it does not stoped at the breakpoint. The gdbserver has the version 4.12.
My gdb commands:
monitor speed 10
monitor flash device = STM32F103RB
monitor endian little
monitor flash breakpoints = 1
monitor flash download = 1
load "$(TARGET_OUTPUT_FILE)"
monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)
---
TARGET_OUTPUT_FILE="...../main.elf"
What is the problem?