stm32f4 flashing with gdb failure

Juan Solano jsm at jsolano.com
Sat Dec 5 12:04:31 UTC 2020


Hi all,

I am unable to flash the sample applications using gdb. I am trying hello.exe, with a Nucleo stm32f429zi board, connecting through a Black Magic probe:

(gdb) load
Loading section .start, size 0x270 lma 0x0
Load failed

info mem in gdb shows 0x8000000 flash regions but does not show any ram in 0x0

Furthermore, the stm32f4 bsp linkscmds.stm32f4 file shows:
RAM_INT : ORIGIN = 0x20000000, LENGTH = 128K
ROM_INT : ORIGIN = 0x00000000, LENGTH = 1M

There is no reference to flash origin, which in this processor is in 0x8000000 but aliased to address address 0x00000000 (BOOT0 = 0).

Any ideas?
Juan.


More information about the devel mailing list