failed to start debuuging on STM32F0308-Discovery board
I tried to import STM32F0308-Discovery_Demo.
As I expected, the build all through, and failed at the same point when launching debugging.
--------------------------
Error in final launch sequence
Failed to execute MI command:
load /home/nsun/STM32Cube/Repository/STM32Cube_FW_F0_V1.6.0/Projects/STM32F0308-Discovery/Demonstrations/SW4STM32/STM32F0308-Discovery_Demo/Debug/STM32F0308-Discovery_Demo.elf
Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet
---------------------------
-----------------------------
OpenOCD launch command (run in /home/YourName/liveToolsTrack/liveEclipsewithPluginSW4STM32andCubeMX/cpp-neon/eclipse/../../../../.p2/pool/plugins/fr.ac6.mcu.debug_1.11.0.201610101240/resources/openocd/scripts/st_board):
/home/YourName/liveToolsTrack/liveEclipsewithPluginSW4STM32andCubeMX/cpp-neon/eclipse/../../../../.p2/pool/plugins/fr.ac6.mcu.externaltools.openocd.linux64_1.11.0.201610101240/tools/openocd/bin/openocd -f stm32f0308_disco.cfg -s /home/YourName/liveToolsTrack/liveEclipsewithPluginSW4STM32andCubeMX/cpp-neon/eclipse/../../../../.p2/pool/plugins/fr.ac6.mcu.debug_1.11.0.201610101240/resources/openocd/scripts/st_board -s /home/YourName/liveToolsTrack/liveEclipsewithPluginSW4STM32andCubeMX/cpp-neon/eclipse/../../../../.p2/pool/plugins/fr.ac6.mcu.debug_1.11.0.201610101240/resources/openocd/scripts -c gdb_port 3333