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


Timers freeze in debug mode

Hi

I am trying to debug a C program in a Nucleo091 board. I need to freeze the timers but every time that the debugger stops in a breakpoint the DBGMCU_APB2_FZ, APBHFZ register in the system workbench, is reset and the flag that controls the freeze is cleared. I try to set the flag in the initial start up but seems the debugger clears the flags.

I think that will be useful in the future to set up DBGMCU unit in a separate label in the debug configuration for the project.

Thanks.