I’m using the APM32F003 MINI BOARD :
i can only debug my program on Eclipse but i cannot run the program i have the following Error when i try to run :
xPack Open On-Chip Debugger 0.12.0+dev-g482aaa08e-dirty (2024-01-18-02:09)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport “swd”. To override use ‘transport select <transport>’.
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0×314b:0×0101, serial=00110047390000144e574c46000258
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.1.0
Info : CMSIS-DAP: Serial# = 00110047390000144e574c46000258
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0×0bc11477
Info : [apm32f00x.cpu] Cortex-M0+ r0p1 processor detected
Info : [apm32f00x.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for apm32f00x.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting ‘gdb’ connection on tcp/3333
Info : flash size = 32 KiB
undefined debug reason 8 (UNDEFINED) - target needs reset
Warn : Prefer GDB command “target extended-remote :3333” instead of “target remote :3333”
[apm32f00x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0×000029dc msp: 0×20001000
[apm32f00x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0×000029dc msp: 0×20001000
[apm32f00x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0×000029dc msp: 0×20001000
[apm32f00x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0×21000000 pc: 0×0000276c msp: 0×20000fd8
Info : dropped ‘gdb’ connection
shutdown command invoked