- Post By EDGARDO FITA
- 1 year ago
Hi,
In exercise 02_leds_config I've tried to blink a led with HAL_Delay() and led_on()/led_off() functions.
The issue is given in delay func. that leads the program through Default_Handler, stalling in an infinite loop,
/**
* @brief This is the code that gets called when the processor receives an
* unexpected interrupt. This simply enters an infinite loop, preserving
* the system state for examination by a debugger.
*
* @param None
* @retval : None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
.size Default_Handler, .-Default_Handler
Can you check this ? Thanks !
OK, this is solved in next section (part 2)
I won't delete the question for someone facing the same problem.
Regards