打印

很好奇,下文中的优化指令序列是什么?会导致Z/B版本不兼

[复制链接]
1808|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
pheavecn|  楼主 | 2008-12-5 10:23 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
2.6 Compatibility issue with latest compiler releases
Description
Compilers with improved optimizations for the STM32F10xxx have been recently released
on the market. Revisions Z and B of the medium-density STM32F10xxx devices
(STM32F10xx8/B) do not support some of the sequences associated with the high-level
optimizations done in these compilers. Revision Y is not affected by this limitation.
Errata sheet STM32F10xxx silicon limitations
7/14
Workaround
This behavior is fully deterministic, and should be detected during firmware development or
the validation phase. Consequently, systems already developed, validated and delivered to
the field with previous silicon revisions are not affected.
For code update of revision Z and B devices already in the field, do not use these new
compilers. To date, compilers known to generate these sequences are:
● IAR EWARM rev 5.20 and later
● GNU rev 4.2.3 and later
For new developments associated with these compilers, revision Y of the STM32F10xx8/B
must be used.
沙发
pheavecn|  楼主 | 2008-12-8 09:20 | 只看该作者

找到了,应该是这个问题。

ARM: CHECKING FOR CORTEX-M3 LDRD ERRATA 602117

LDRD r0,[R0]这样的指令碰到中断,会出错。

使用特权

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

本版积分规则

88

主题

918

帖子

0

粉丝