Sat Apr 18 12:51:41 EDT 2020



Last time I tried the controller didn't start up properly.  Maybe try
another board.  The image does look like normal, e.g. has meaningful
stack pointer in first word and entry point in second.

tom@panda:~/git/dap42/build$ hd DAP103-BLUEPILL.bin 
00000000  00 50 00 20 45 2a 00 08  41 2a 00 08 3f 2a 00 08  |.P. E*..A*..?*..|

How to flash a binary in gdb?

It might be simpler in openocd:

mon flash write_bank <num> <file_name> <offset>