Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

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?