Invalid state usage fault( INVSTATE ) for arm instruction

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

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