I'm using a Jlink edu v8.0 and the Linux gdb server v4.22 with an STM32F103C8T6 board.
With the included JLinkExe, I can program the STM's flash without any issue. Trying to
do the same using gdb,
target remote localhost:2331
monitor flash download 1
monitor flash device STM32F103C8
load main.elf,
I can see the contents of main.elf in memory, but they don't overwrite the flash.
What gives? What am I doing wrong?
With the included JLinkExe, I can program the STM's flash without any issue. Trying to
do the same using gdb,
target remote localhost:2331
monitor flash download 1
monitor flash device STM32F103C8
load main.elf,
I can see the contents of main.elf in memory, but they don't overwrite the flash.
What gives? What am I doing wrong?