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:
- This is an ST5100_MA board with a single STM32F746IGTx chip.
- Generated by System Workbench for STM32
source find interface/stlink-v2.cfg
hla_serial V?o#gwUV’8#g
- hla_serial V?p#gwUVUG#g
transport select hla_swd
set WORKAREASIZE 0x50000
source find target/stm32f7x.cfg
- use hardware reset, connect under reset
reset_config srst_only srst_nogate
Does anyone knows what I’m doing wrong?
Regards.
Dev.