Hard fault : Cortex M0+ platform.

[复制链接]
284|0
 楼主| 电子学长 发表于 2018-9-9 09:28 | 显示全部楼层 |阅读模式
Hello,
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

424

主题

447

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部