Hi, I have a problem when I try to load my program. I use the arm compiler (armcc) with a stm32l073.
When I use my debugger I have an Hard Fault handler every times before the main.
I use a standard statup file (startup_stm32l073xx.s). and with the debugger I can see that when BX R0 is called the program goes in HardFault_Handler.
I use 40kb of flash and 14kb of ram.
Here the emplacement where the program crashes :
EXPORT Reset_Handler [WEAK]
LDR R0, =SystemInit
LDR R0, =__main
If someone knows where is the problem ...