EDA365电子论坛网

标题: 加载程序“未找到算法....”警告 [打印本页]

作者: greensmile    时间: 2020-11-9 13:28
标题: 加载程序“未找到算法....”警告
正在使用此编译器/链接器属性在外设RAM中定位32K变量:

: J" k. b1 G1 L5 W1 U
__attribute __((section(“。ARM .__ at_0x20000000”)))); //位于ARM外设RAM中

" y  |: X3 [, @% a6 C( [% y
我构建的代码没有错误,然后尝试加载它,然后加载器说:
-----------------
8 s5 l& K9 H+ 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

% W2 c4 ]. M: q. ?6 j
------------------
% [: c) k7 q! t( n. r+ s
Which confuses me because it thinks it needs to programFLASH at that RAM address for the first 0x103 bytes.  The memory map says this:

3 V% M/ v0 Y* b; }8 M  ~9 }) H
------------------
5 p' J9 q9 A9 o; E" {: Q, ]7 i
Load Region LR$$.ARM.__at_0x20000000 (Base: 0x20000000,Size: 0x00008000, Max: 0x00008000, ABSOLUTE, COMPRESSED[0x00000104])
  K5 ~8 K: P2 e- r
    Execution RegionER$$.ARM.__at_0x20000000 (Exec base: 0x20000000, Load base: 0x20000000, Size:0x00008000, Max: 0x00008000, ABSOLUTE, UNINIT, COMPRESSED[0x00000104])
% S( w0 d" G, D$ C5 H5 Q! G
    Exec Addr    Load Addr   Size         Type   Attr     Idx    E Section Name        Object
% ?- t% u) x6 _" w) f& O
    0x20000000   COMPRESSED  0x00008000   Data   RW        1360    .ARM.__at_0x20000000  spectral_processing_sophia_2.o

' Z" z+ @: B6 Z) ^1 A
------------------

- r/ Z/ ?, z2 V0 N
这表示这些RAM地址确实存在“加载区域”。
+ c* D& M6 k3 j* E) }
我已经在ULINK Target Driver Setup中检查了我的编程算法定义,并将FLASH定义为片上FLASH

! x" N; T3 l8 m* m) @& H
从512K ROM的0x00000000-0x0007ffff开始。
( y+ I- y( X- y* o" F
谁能向我解释一下?加载程序为什么认为需要在RAM中刷新那些0x103字节?

' g6 ~4 [( X& x, y$ \' \( r- G; A
作者: yin123    时间: 2020-11-9 14:19
这是啥原因啊,我也想知道,有大神么
作者: regngfpcb    时间: 2020-11-9 14:55
路过,来看看
作者: ulppknot    时间: 2020-11-9 14:56
因为大概它有一些内容,或者没有作为分散文件中的加载区域的一部分进行处理。 代替使用AT指令,使用分配了地址的指针。




欢迎光临 EDA365电子论坛网 (https://bbs.eda365.com/) Powered by Discuz! X3.2