Skip to main content
load2005
Associate III
Nov 25, 2020 4:31 PM UTC
Solved

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

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.
load2005
load2005Best answer
Associate III
Nov 25, 2020 5:28 PM UTC

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

1 reply

load2005
load2005AuthorBest answer
Associate III
Nov 25, 2020 5:28 PM UTC

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