0
votes

I've would like to check whether STM32 Workbench works properly or not.

So, I've created new project for my F7 Discovery. I am using the HAL library and also enabled FreeRTOS. As FreeRTOS needs an independent timer, I enabled TIM1 for HAL and SysTick works for FreeRTOS.

Unfortunately, while debugging the project in Workbench, the program each time ends in the TIM1 interrupt routine, again and again, but I did NOT set any breakpoints here. How can I debug my code if everything I can see during debugging is TIM1 ISR?

1
Add your TIM1 configuration code.Bence Kaulics
TIM1 configuration is as in the 1drv.ms/u/s!Ak8yaxR1DeFsnXlNb1Wfz8eJKcG4, this is created by CubeMX.VIPPER

1 Answers

0
votes

As I understand it this is a feature of the r0p1 M7 core. ST only licensed the r0p1 core. Unsure if newer versions or model of the chip will be any better.

I read on another forum that this could perhaps mitigate the problem:

  (DBGMCU)->APB1FZ = 0x7E01BFF;
  (DBGMCU)->APB2FZ = 0x70003;