这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 一个dsk6711申请空间的问题

共1条 1/1 1 跳转至

一个dsk6711申请空间的问题

菜鸟
2005-09-27 15:27:07     打赏
我用的是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 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]