首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

在IDE中build project时,怎么老说我的onchip memory已满,不够呀

在IDE中build project时,怎么老说我的onchip memory已满,不够呀

我的SOPC里面已经用了EPCS64,我编译的软件是只到onchip memory吗,为什么总说不够呀,是不是只有最后的flash programmer时才用EPCS64呀,build project时和EPCS64有关吗,如果有关,该怎么做呀。  下面是build project时的出错信息,里面的region onchip_memory_0 is full (serial_communications.elf section .text). Region needs to be 34320 bytes larger.该怎么解决呀,望大家指教,我没有用片外SRAM,


**** Incremental build of configuration Debug for project serial_communications ****

make -s all
Compiling hello_world.c...
Linking serial_communications.elf...
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: region onchip_memory_0 is full (serial_communications.elf section .text). Region needs to be 34320 bytes larger.
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 0000055b] overlaps section .exceptions [00000020 -> 000001c7]
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .rwdata [0000055c -> 00002113] overlaps section .text [000001c8 -> 0000d60f]
/cygdrive/d/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1/../../../../nios2-elf/bin/ld: section .bss [00002114 -> 0000232b] overlaps section .text [000001c8 -> 0000d60f]
collect2: ld returned 1 exit status
make: *** [serial_communications.elf] Error 1
Build completed
你在IDE下run时,下到的是onchip-memory中的,所以不够。
epcs是用flashprogrammer下载的。
你改在offchip的mem中运行就可以了。


[此贴子已经被作者于2005-9-9 9:39:17编辑过]

heekee,

我该怎样改在offchip的MEM中运行呀,是不是要加一个片外MEMORY呀,怎么做,万望你赐教呀,我都快晕死啦。
build project 是在run as Nios II hardware的前一步呀,也就是相对于编译吧,怎么就出现full的错误呀,我应该要怎么解决,是先用flashgrammer下到epcs吗,唉,faint,faint
我该怎样改在offchip的MEM中运行呀
zabxnr

你是笑偶问题太无知吧,偶是菜鸟,也希望你帮个忙啦。
我可以加EPCS和SDRAM CONTROLLER,但不知道怎么加SDRAM,我怎么在MEMORY找不到呢,大家能不能帮我一把,谢谢了。
SDRAM是片外自己加的
片外都怎么加呀,偶找不到具体的芯片。你知道吗?
你找你的原理图啊 sch
soso
 I was born to love you
问题最后解决了没有啊??怎么没有消息了!??
想看更多的东西?来我的博客,精彩多多! http://blog.eccn.com/u/bjxiong/index.htm
返回列表