STM32H753I HardFault_Handler() __iar_packbits_init_single3
I have simple application( LED toggling) built for STM32H753I-EVAl board using IAR EWARM Toolchain. I am using IAR I-Jet debugger to download and debug application.
When I download application, i am getting Fault exception
"the processor has escalated a configurable-priority exception to hardfault
am imprecise data access error has occurred"
Call Stack:
HardFault_Handler()
<Exception frame>
[__iar_packbits_init_single3 + 0x19]
<Unknown handler>
Seems the Reset_Handler in startup code calls SystemInit() and then __iar_program_start. The control never comes out the function to main().
What could cause fault exception toolchain specific functions.? Am I missing something in initialization?
Observation: Sometimes the application is running successfully. The LED toggling is perfectly fine. Tried running application on two boards. Seeing fault exception on both boards but not always.
