共1条
1/1 1 跳转至页
一个dsk6711申请空间的问题

我用的是dsk6711,外接的是16Mbytes sdram配置成code/data.
我在程序里想能从sdram里分配1Mbytes的空间用来存储数据。
我用下面的语句:
unsigned char Data_Buf[1024 * 1024];
编译的时候出现下面的错误:
>> error: relocation overflow occured at address 0x000001f0 in section '.b
ios'
of input file 'c:/ti/c6000/bios/lib/lnkrtdx.a62'. The 19-bit
relocated address 0x40299 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 n
eed
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
如果我只申请1k的空间的话就没有问题。
请问大虾们,这是怎么回事?是不是我哪儿设置错了?请指教
关键词: 一个 dsk6711 申请 间的 问题
共1条
1/1 1 跳转至页
回复
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 | |
【分享开发笔记,赚取电动螺丝刀】几个单片机I2S外设的BLCK时钟对比被打赏20分 | |
【功率监测与控制系统DIY活动成果贴】DIY功率计与LabVIEW数据采集被打赏100分 |