[resolved]failed to start debuuging on STM32F0308-Discovery board
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: 1000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v17 API v2 SWIM v0 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 2.921615
Info : stm32f0x.cpu: hardware has 4 breakpoints, 2 watchpoints
adapter speed: 1000 kHz
Error: timed out while waiting for target halted
TARGET: stm32f0x.cpu - Not halted
in procedure 'program'
in procedure 'reset' called at file "embedded:startup.tcl", line 478
in procedure 'ocd_bouncer'
- Unable to reset target **
shutdown command invoked
------------------------------------
Error in final launch sequence
Failed to execute MI command:
load /home/nsun/gitRep/omniControllerSource/prjMngmnt/STM32F0308Discovery_030R8T6/maxMixOnSW4STM32/maxMixSTM32F0308Discovery030R8_OnSw4Stm32/Debug/maxMixSTM32F0308Discovery030R8_OnSw4Stm32.elf
Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet