Micro-Controller platform: STM32L0x1 
Environment: Bare-Metal (No OS) 
Brief description of the problem: 
From interrupt context, we are trying to copy information received to EEPROM. Soon after entering into this routine, we it hard fault.  
I started to debug according to the information provided here,  
https://community.arm.com/dev... 
But still can\'t exactly figure out the reason. In fact just to verify, even if we don\'t write to EEPROM the program still crashed. I have attached register information here.  
I suspect it could be something related to stack corruption but unable to prove my theory. Any direction to solve this mystery will be greatly appreciated. |   
     
  
 |