EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
正在使用此编译器/链接器属性在外设RAM中定位32K变量: 2 Y! Z2 |1 f/ D7 G8 R: n' V' M
__attribute __((section(“。 ARM .__ at_0x20000000”)))); //位于ARM外设RAM中
( P3 P+ Q! N, g" \4 a( X我构建的代码没有错误,然后尝试加载它,然后加载器说: ----------------- . ~% X3 b9 d1 l8 y7 K% V2 n' q) Q9 k
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
; s" r# @; J* h: ^, N------------------ 4 V7 h; @1 w# o8 O* w$ ?
Which confuses me because it thinks it needs to programFLASH at that RAM address for the first 0x103 bytes. The memory map says this:
' @: W8 `2 c3 C: {$ P------------------ : E- b4 ~5 c5 l* d; G
Load Region LR$$.ARM.__at_0x20000000 (Base: 0x20000000,Size: 0x00008000, Max: 0x00008000, ABSOLUTE, COMPRESSED[0x00000104]) . c9 E/ q! }# _ v ^6 k5 P1 d5 [
Execution RegionER$$.ARM.__at_0x20000000 (Exec base: 0x20000000, Load base: 0x20000000, Size:0x00008000, Max: 0x00008000, ABSOLUTE, UNINIT, COMPRESSED[0x00000104]) ' b' b/ I2 h9 ?) i$ @8 y7 \# j2 Q
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
$ q9 M% M5 ^/ y 0x20000000 COMPRESSED 0x00008000 Data RW 1360 .ARM.__at_0x20000000 spectral_processing_sophia_2.o . }- d+ {( H* u6 m4 w
------------------
0 [* v* f- E8 l9 N& q这表示这些RAM地址确实存在“加载区域”。
+ ]" P( v% [% t% [( \& {; h7 J e我已经在ULINK Target Driver Setup中检查了我的编程算法定义,并将FLASH定义为片上FLASH
2 N; C4 m4 U: m* e$ ]从512K ROM的0x00000000-0x0007ffff开始。
) c/ I* t3 N' D! `: V7 E谁能向我解释一下?加载程序为什么认为需要在RAM中刷新那些0x103字节?
6 g5 N' m6 Z+ b W3 C) T, ? |