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 two short videos (registration required) highlighting:

System Workbench for STM32

Realtime variable plotting tool for Linux

Hello everyone! I’ve struggled with the problem, that I cannot graphically monitor my variable in real-time many times. I’ve used STMStudio on windows long times ago, but for Linux, there is no such tool. I have written a small python script, based on Matplotlib plotting library, which can connect to running OpenOCD session and monitor variable by its address. What do you think?

Screenshot 20190519 173656

How to use it in system workbench:
1. Create a new debug session. Run-> Debug configuration and double-click on ‘Ac6 STM32 Debugging’.
2. In this new session, we do not want to start GDB(we’ll connect to OpenOCD with OCDPlot). I have not found way to just disable running OpenOCD and skip GDB run, so I’ve replaced GDB binary in “Debugger” tab on “/bin/bash” binary. See screenshot. This will lead to error in the first start, but OpenOCD still runs.
3. Also, we do not need to flash our target, we just want to connect. Uncheck “Load Image” and “Load Symbols” checkboxes on “Startup” tab.
4. Run Debug. There will be error message “Could not determine GDB version using command”, just press “Ok”
5. Run ocdplot.py script:
$ ./ocdplot.py -a 0x40000024 -t uint32_t -n 100

where -a is the address of variable we want to watch, -t its type, -n - watching interval.

If you like this tool, feel free to commit new features into the repo!:)
Gdb Settings
Gdb Settings2