Skip to main content
load2005
Associate III
November 25, 2020
Solved

CubeMX+FreeRTOS+keil: breakpoint is hit but the program continue to execute after 10 seconds

  • November 25, 2020
  • 1 reply
  • 818 views

Hi,ALL

I have generated project with CubeMX 6.0.1.

It contains FreeRTOS.

The chip is STM32L4S7ZIT

When breakpoint is hit i see that after 10 seconds (approximately) the program is executed further. Although breakpoint is still active. It is placed in one task.

Is it possible to fix this problem?

After i step further i step into interrupt from timer17 (it is a clock base). It is normal.

But why the whole system is executed?

Thanks

This topic has been closed for replies.
Best answer by load2005

The problem was in watchdog. I have disable it and now it's ok.

1 reply

load2005
load2005AuthorBest answer
Associate III
November 25, 2020

The problem was in watchdog. I have disable it and now it's ok.