cancel
Showing results for 
Search instead for 
Did you mean: 

Hal_Gettick() always returns 0 for STM32F0 DISCOVERY

VBAS
Associate

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

1 REPLY 1
STea
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.