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


Single Step Debugging while a timer is active

Hi

Tarek, thank you for your description.
I have created the .gdbinit file. And it seams to work. since by each step I become the same error: invalid command name “cortex_m”

First I thought it was something wrong with this file. But then I send the command “cortex_m maskisr on “ directly to the OCD and become the same error: invalid command name “cortex_m”

I’m using:
System Workbench for STM32 version 1.7.0.02162121829 with OpenOCD V 1.9.0.20165241146
my Target is a STM32F74bIGT
and debugger: ST-LinkV2 Firmware: V2.J27.S6
My OCD .config file contains the following:


  1. This is an ST5100_MA board with a single STM32F746IGTx chip.
  2. Generated by System Workbench for STM32


source find interface/stlink-v2.cfg

hla_serial V?o#gwUV’8#g

  1. hla_serial V?p#gwUVUG#g

transport select hla_swd

set WORKAREASIZE 0x50000

source find target/stm32f7x.cfg

  1. use hardware reset, connect under reset

reset_config srst_only srst_nogate



Does anyone knows what I’m doing wrong?

Regards.
Dev.