Loading...
 

STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32


How to use Watchpoint condition ?

Hi,

I am working on a stack memory corruption bug.
I identify the corrupted stack zone and a small part of the timeline where i can detect a wrong access.
With this informations I try to create a watchpoint on the identified stack part active only during my defined timeline space.
So I created a volatile global variable (over_plop) and I put 1 into it delimiting my timeline part.

Now i create a conditional watchpoint :
1) I add my stack address on the memory window and create a watchpoint from it (I don’t find any other way)
2) I check all my checkbox in the windows appearing and I put my condition in it
Capture D’écran 2019 05 21 À 10.57.28

When I run my code I get break even if over_plop is 0.

Did I miss something?
I can’t find anything about it on documentation or on this forum, is someone already use it with sucess?
Is there another better way to get my memory corruption guilty party?