cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with HAL_Init()

seprac
Associate II
Posted on July 10, 2015 at 17:18

Hi, I am kind of new to the STM32 but have found the libraries (HAL) to be greatly useful.

I am using the STM32F4 Discovery Board,

Even when I was trying to simply blink the onboard LEDs using the GPIO Peripheral, it is simply going to an infinite loop (Found in CooCOX debugger), except when an interrupt is triggered). 

After an entire day's struggle, trying to find out what is wrong....the programme worked as intended on deleting HAL_Init() from the main.

Am I missing something?...if you want I can post my code here

10 REPLIES 10
seprac
Associate II
Posted on July 25, 2015 at 17:12

Thanks a lot sir!!

Since the stm32f4xx_it.c and stm32f4xx_it.h are not included in the original HAL Libraries......I didn't bother to implement them in my project folder.

I took them from a GPIO Example and added to the project and it ran perfectly!

Thanks a lot once again for your time....