EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
正在使用此编译器/链接器属性在外设RAM中定位32K变量: 5 \+ p6 `( N1 S; k: y8 \" R
__attribute __((section(“。 ARM .__ at_0x20000000”)))); //位于ARM外设RAM中 # g' I. ~/ ]3 U8 m0 D% h: }* Z
我构建的代码没有错误,然后尝试加载它,然后加载器说: ----------------- ) K9 ]* U4 o. D% q* B( ^
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
3 ?1 R- ?0 `) H* C* }2 G4 h------------------
$ A. T% i$ q" Q- i' J: N# N! }, lWhich confuses me because it thinks it needs to programFLASH at that RAM address for the first 0x103 bytes. The memory map says this:
. R0 G# ^& p3 o4 v+ k+ g8 g------------------
' c: L/ j& p: N% f. oLoad Region LR$$.ARM.__at_0x20000000 (Base: 0x20000000,Size: 0x00008000, Max: 0x00008000, ABSOLUTE, COMPRESSED[0x00000104])
2 }5 {' V2 X0 [; T* F$ A# k" j& L Execution RegionER$$.ARM.__at_0x20000000 (Exec base: 0x20000000, Load base: 0x20000000, Size:0x00008000, Max: 0x00008000, ABSOLUTE, UNINIT, COMPRESSED[0x00000104])
* H- T) Y; x+ f1 h( G Exec Addr Load Addr Size Type Attr Idx E Section Name Object
/ L: H$ J0 o' N# e" ]9 B 0x20000000 COMPRESSED 0x00008000 Data RW 1360 .ARM.__at_0x20000000 spectral_processing_sophia_2.o 9 @. e9 k, t0 x- F
------------------
8 R$ Z& Y4 y T2 d4 O这表示这些RAM地址确实存在“加载区域”。
) Q( T5 k9 `. F* u" K我已经在ULINK Target Driver Setup中检查了我的编程算法定义,并将FLASH定义为片上FLASH ( }2 y1 D+ y5 u W+ }* D" e: ?) Q
从512K ROM的0x00000000-0x0007ffff开始。
. ^% i; t l( K) k3 V谁能向我解释一下?加载程序为什么认为需要在RAM中刷新那些0x103字节? / ?* J; s: ]+ m2 c7 N
|