Hello!
I have a hard time flashing an image to the stm32f302 using DroneCode probe connected via DCD cable. Here is the gdb output:
(gdb) mon swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 ARM Cortex-M
(gdb) attach 1
Attaching to program: bootloader.elf, Remote target
warning: while parsing target memory map (at line 1): Required element <memory> is missing
0xfffffffe in ?? ()
(gdb) load
Loading section .text, size 0x1acc lma 0x8000000
Load failed
What alerts me first is that it detects the target as a general Cortex-M and not the STM32. Is it normal? Is the DCD cable sufficient for SWD ? Should I also connect reset signal ?
Than there is this warning about the memory map, not sure how to interpret it.
What other gdb commands I could use to test the connection?
Thanks in advance for any hint!
Best,
Olexandr