failed to start debuuging on STM32F0308-Discovery board
caught in console:
Open On-Chip Debugger 0.10.0-dev-00272-gf17dc4a (2016-10-10-08:40)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport “hla_swd”. To override use ‘transport select ‘.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 950 kHz
adapter_nsrst_delay: 900
none separate
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v28 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.915101
Info : stm32f0x.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : accepting ‘gdb’ connection on tcp/3333
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
Error: timed out while waiting for target halted
TARGET: stm32f0x.cpu - Not halted
in procedure ‘reset’
in procedure ‘ocd_bouncer’
Info : device id = 0x20006440
Info : flash size = 64kbytes
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
Error: timed out while waiting for target halted
TARGET: stm32f0x.cpu - Not halted
in procedure ‘reset’
in procedure ‘ocd_bouncer’
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
adapter speed: 950 kHz
Error: timed out while waiting for target halted
TARGET: stm32f0x.cpu - Not halted
in procedure ‘reset’
in procedure ‘ocd_bouncer’
Error: Target not halted
Error: failed erasing sectors 0 to 7
Error: flash_erase returned -304
Error: address + size wrapped(0xffffffff, 0x00000004)
Info : dropped ‘gdb’ connection