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


Cannot add Global Variables in debugging

Hi all, since last updates, I cannot add global variables in debug windows view.
I expect to see the locsal variables as well, but nothing is in variables window.

The only way is watch expressions, but I’d like to live monitor a variable and this can be done only through variables window.

Using ST-LINK V2 debugger, any setting I miss?

DSF-GDB does not support displaying global variables in the variables view.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040Question
BTW, the Variables tab shows automatically the local variables. It is automatically updated with the new local variables while jumping into a function.
You can use the expressions view to show the global variables you are interested in.


it’s what I realized today googling around.
But I was looking for variable view since it seems that it allows a live monitoring of the some selected variables, as in keil.
do you know some turnaround?


Both Expression and Variables views are working in the same way. The program execution must be stopped to get updated values. It is part of the wish list as you can see in this post :
http://www.openstm32.org/forumthread269Question
Another solution : could it be possible to transmit the variable values in using a serial link / UART?

Hi, I know and use this system.
But sometimes it is useful to monitor the variables during program execution.
I cannot transmit over USB/UART (already in use for the app). The only possibility is through the debugger.

Look at this post:
https://mcuoneclipse.com/2013/01/27/live-view-for-variables-and-memory/Question

maybe there is a turnaround to get some variables inspected live through st-link?


BTW did you ever tried trace_printf?