打印

Hard fault : Cortex M0+ platform.

[复制链接]
195|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

粉丝