Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


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