Skip to main content
Visitor II
January 21, 2024
Question

Hal_Gettick() always returns 0 for STM32F0 DISCOVERY

  • January 21, 2024
  • 1 reply
  • 1091 views

Hi, I am working on custom Bootloader and Application stored with different starting address on same Flash 

When I jump from my Bootloader to Application area which contains Blinking LED With HAL_Delay() function  my application is stuck in HAL_Delay ()function.And also I have observed that if I debug using break points it is executing perfectly, but not working in run mode. 

Can anyone please help

Thanks in advance

    This topic has been closed for replies.

    1 reply

    ST Employee
    January 23, 2024

    Hello @VBAS ,

    If your application gets stuck in the HAL_Delay() function, it might be due to the system clock not being properly configured. Make sure the system clock is correctly initialized in your application.

    BR