EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
正在使用此编译器/链接器属性在外设RAM中定位32K变量:
/ a9 |" s0 f H9 h__attribute __((section(“。 ARM .__ at_0x20000000”)))); //位于ARM外设RAM中
' G4 F% E# c/ {* w0 X1 k我构建的代码没有错误,然后尝试加载它,然后加载器说: -----------------
& \8 w) N$ c; A+ J4 |Load "C:\\Users\\cordc_admin\\Documents\\KeilProjects\\Wavebuoy V5.1\\Objects\\wavebuoy_CORDC.axf" No Algorithm found for: 20000000H - 20000103H Partial Erase Done (areas with no algorithms skipped!) No Algorithm found for: 20000000H - 20000103H Partial Programming Done (areas with no algorithmsskipped!) Partial Verify OK (areas with no algorithms skipped!) Application running ... Flash Load finished at 16:07:04 % c: J" I/ t. C* v
------------------ [5 K _$ ^0 K1 f% A3 ~
Which confuses me because it thinks it needs to programFLASH at that RAM address for the first 0x103 bytes. The memory map says this:
+ A& J* P% _3 X r------------------
6 s6 \! r. I6 d8 qLoad Region LR$$.ARM.__at_0x20000000 (Base: 0x20000000,Size: 0x00008000, Max: 0x00008000, ABSOLUTE, COMPRESSED[0x00000104]) # O% }7 B+ u7 r$ i
Execution RegionER$$.ARM.__at_0x20000000 (Exec base: 0x20000000, Load base: 0x20000000, Size:0x00008000, Max: 0x00008000, ABSOLUTE, UNINIT, COMPRESSED[0x00000104]) 8 b/ \9 ]/ [. g" m: x+ Y& ~
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
$ U( s: Q4 l; w4 p: t, n8 R 0x20000000 COMPRESSED 0x00008000 Data RW 1360 .ARM.__at_0x20000000 spectral_processing_sophia_2.o
3 [; p5 @# C8 s, y3 t/ O& c/ A2 l------------------
1 d) J) R, ~; l+ @3 b, Z7 T' U! E这表示这些RAM地址确实存在“加载区域”。
" Z1 @- ]5 M# ? U" `我已经在ULINK Target Driver Setup中检查了我的编程算法定义,并将FLASH定义为片上FLASH
1 m* a- f, {# Z! z' t9 x从512K ROM的0x00000000-0x0007ffff开始。
+ M" }, f) T6 q h O3 }5 i2 A谁能向我解释一下?加载程序为什么认为需要在RAM中刷新那些0x103字节? # @, y$ c, j, f% B7 n
|