打印

Invalid state usage fault( INVSTATE ) for arm instruction

[复制链接]
356|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
棋王高手|  楼主 | 2018-9-9 09:34 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Hi,
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?
Regards,
Anoop.MM

使用特权

评论回复

相关帖子

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

本版积分规则

378

主题

378

帖子

0

粉丝