EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
正在使用此编译器/链接器属性在外设RAM中定位32K变量:
0 t; @$ B" }2 W7 o__attribute __((section(“。 ARM .__ at_0x20000000”)))); //位于ARM外设RAM中
! w. {' k1 s# [$ U8 F* ~我构建的代码没有错误,然后尝试加载它,然后加载器说: ----------------- $ ~* C- P9 B; N0 p' o5 T
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
# a$ @7 {: m, F! F0 A------------------
0 C) I: u( f4 Q. J3 dWhich confuses me because it thinks it needs to programFLASH at that RAM address for the first 0x103 bytes. The memory map says this:
1 D) f5 O" f9 O/ j, Q------------------
$ B4 x V+ p, S) r) e) ]% [# }Load Region LR$$.ARM.__at_0x20000000 (Base: 0x20000000,Size: 0x00008000, Max: 0x00008000, ABSOLUTE, COMPRESSED[0x00000104])
$ d$ p% f5 D B6 a Execution RegionER$$.ARM.__at_0x20000000 (Exec base: 0x20000000, Load base: 0x20000000, Size:0x00008000, Max: 0x00008000, ABSOLUTE, UNINIT, COMPRESSED[0x00000104]) . a! E& d: c' ]: z& h" O
Exec Addr Load Addr Size Type Attr Idx E Section Name Object 4 g1 T: p% i* \ p P3 E
0x20000000 COMPRESSED 0x00008000 Data RW 1360 .ARM.__at_0x20000000 spectral_processing_sophia_2.o . |1 y. ?, E( I
------------------ ( i2 O2 \: h# O4 |9 Y d
这表示这些RAM地址确实存在“加载区域”。
5 r% U q; K3 E2 z$ I我已经在ULINK Target Driver Setup中检查了我的编程算法定义,并将FLASH定义为片上FLASH
2 `, D3 ?) J G% W从512K ROM的0x00000000-0x0007ffff开始。 ! \$ O" S, W, q6 U, F9 q" j" Y
谁能向我解释一下?加载程序为什么认为需要在RAM中刷新那些0x103字节? 0 S1 U1 g; r% Z) ?# N8 T. @) A1 U) S
|