打印

Invalid state usage fault( INVSTATE ) for arm instruction

[复制链接]
439|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
Spikess|  楼主 | 2018-9-9 07:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
We tried to execute a small assembly instruction function in .asm file for M7 core controller in GHS.
But it initiated a hard fault exception with INVSTATE (Invalid state usage fault) bit is set when code started to execute the first instruction of assembly function in arm file.
When this same assembly instruction function added as part of C file by using _asm assembler, this assembly routine executed well without any issues.
Why this happen?

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

417

主题

421

帖子

0

粉丝