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?

 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs