cengr
驱动牛犊
驱动牛犊
  • 注册日期2004-02-25
  • 最后登录2008-12-11
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2326回复:0

请问DSP中怎么把才能把.bss正确分配到片外的SDRAM中?

楼主#
更多 发布于:2005-04-19 17:22
我现在在做6205的调试,想把程序烧到片外的flash中
所以我定义了一个很大的unsigned int数组超过64K,用来存放HEX过的数据,准备烧到flash里面,但是由于.bss太大了,我想放到片外的SDRAM,SDRAM是在CE0空间。但是我发现只要是把.bss放在SDRAM里面,程序怎么链接都有问题。
如果.bss过大,出错就是
>>   error: relocation overflow occured at address 0x00000000 in section \'.bios\'
of input file \'c:/ti/c6000/bios/lib/biosi.a62\'.  The 16-bit
relocated address 0xae18 is too large to encode in the 15-bit field. You may need to add a mask to the assembly instruction or use other target specific assembly features if you really only need the lowest 15 bits of this symbol. Please see the section on Relocation in the Assembly User\'s Guide.
请问这个该怎么解决?
如果将来碰到很大的程序,需要数据空间超过64K怎么办?
游客

返回顶部