打印
[ZLG-ARM]

lpc2214 中bank1运行程序问题

[复制链接]
1932|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
yoyofair|  楼主 | 2007-12-19 21:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
模板用的是铁匠编写的,


程序的主要想法是在bank0(flash)以bin文件的形式存储,系统启动时片内的程序把
bin文件复制到bank1(sram),中断向量映射到0x40000000.程序bank1运行

但是在DB_ERAM_BANK1 编译时出现了

Startup\Startup.s(251): warning: A1496E: Absolute relocation of ROPI address with respect to symbol 'Reset_Handler' at offset 0x20 may cause link failure

Startup\Startup.s(252): warning: A1496E: Absolute relocation of ROPI address with respect to symbol 'Undef_Handler' at offset 0x24 may cause link failure

。。。。。。

警告。
分散加载文件如下
LR_IROM1 0x81000000 0x00080000  {  ; load region <512K bytes external SRAM>
  ER_IROM1 0x81000000  {       ; load address = execution address
   *.O (RESET, +First)  
  * (+RO)
  }
  
  RW_IRAM1 0x81060000 0x00020000  {  ; RW data
   * (+RW +ZI)
  }  
}

请问一下这个是什么问题

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

18

主题

55

帖子

0

粉丝