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


OpenOCD debugging issue : Launching STM32F4xx-Nucleo-WriteURI.elf has encountered a problem.

I have installed SystemWorkbench for Eclipse -> install_sw4stm32_win_64bits-v1.0.exe installer along with the java : jre-8u40-windows-x64.exe.
To compile a test project on it I have taken a sample NFC project from hereQuestion.I can build it fine and flash it using ST Link Utility and it works as expected.
But I am not able to debug the code .I have already configured the OpenOCD and gdb for this .What are the configuration for flashing and debugging the code .

Debug Configuration :

Debug Configuration Debugger Tab


Debug Configuration Main Tab


Debug Configuration Startup Tab


OpenOCD Configuration :


OpenOCD

I basically followed this linkQuestion .
Looking forth for a documentaion to “flash and debug the code” using SystemWorkBench,

Kindly let me know or ask for any mising information.
Thanks and Rgds,
S

Hi,

Firstly, it seems that you’re running an old version of System Workbench, so please update it (Help > Check for Updates)

To debug your code, you have to create a “Ac6 STM32 Debugging” debug configuration, it will launch GDB and OpenOCD. You don’t need to create any “GDB Hardware Debugging” or external tool program configuration. Here a link to the documentation : http://www.openstm32.org/Creating+debug+configuration?structure=DocumentationQuestion

Regards,
Kevin.


HI Kevin,
Thanks for the Quick response.
There are three variants of Systemworkbench I am seeing here :
System Workbench for STM32
Installing System Workbench for STM32 from Eclipse
and
System Workbench for STM32 – Bare Metal

Is the debugging support ony provided in the last version?Which One should I choose?
I am updating the SW currently as you suggested(Help > Check for Updates).
Thanks and Rgds,
S


The two label you’re mentioning is the same product, just two way to install it. It works the same.

Kevin.