本帖最后由 SCREA 于 2018-5-4 07:02 编辑
图把那个打勾后报的错误
Thu May 03, 2018 22:25:45: Loaded macro file: C:Program Files (x86)IAR SystemsEmbedded Workbench 7.4armconfigdebuggerSTSTM32F1xx_XL.dmac
Thu May 03, 2018 22:25:45: Flash download warning: 98304 out of 98304 bytes from data record CODE:[0x08008000,0x0801FFFF] will not be flashed
Thu May 03, 2018 22:25:45: There were warnings while generating flash loader input.
See the Debug Log window for details.
Thu May 03, 2018 22:25:46: Failed to load flash loader:
stm32F103RB 是 128K Flash.
我在Keil下能任意地址编写,但IAR下0x8000~0x1FFFF 就不能编写了,为何?
IAR 下 icf文件是默认的-----即flash是全片flash范围
发现问题了,这是编译器问题,没有更新Flash(下面第二张图),我写进去了,然后重新Debug withdownload, 看见数据了(下面第1张图)。
很奇怪,为啥0x8000之前的数据更新了。
一周热门 更多>