在IDE中build project时,怎么老说我的onchip memory已满,不够呀
- UID
- 120104
- 性别
- 男
|
在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 |
|
|
|
|
|
- UID
- 93468
- 性别
- 男
|
你在IDE下run时,下到的是onchip-memory中的,所以不够。
epcs是用flashprogrammer下载的。 |
|
|
|
|
|
- UID
- 93468
- 性别
- 男
|
你改在offchip的mem中运行就可以了。
[此贴子已经被作者于2005-9-9 9:39:17编辑过] |
|
|
|
|
|
- UID
- 120104
- 性别
- 男
|
heekee,
我该怎样改在offchip的MEM中运行呀,是不是要加一个片外MEMORY呀,怎么做,万望你赐教呀,我都快晕死啦。 |
|
|
|
|
|
- UID
- 120104
- 性别
- 男
|
build project 是在run as Nios II hardware的前一步呀,也就是相对于编译吧,怎么就出现full的错误呀,我应该要怎么解决,是先用flashgrammer下到epcs吗,唉,faint,faint |
|
|
|
|
|
- UID
- 121399
- 性别
- 女
|
|
|
|
|
|
- UID
- 120104
- 性别
- 男
|
zabxnr
你是笑偶问题太无知吧,偶是菜鸟,也希望你帮个忙啦。
我可以加EPCS和SDRAM CONTROLLER,但不知道怎么加SDRAM,我怎么在MEMORY找不到呢,大家能不能帮我一把,谢谢了。 |
|
|
|
|
|
- UID
- 121399
- 性别
- 女
|
|
|
|
|
|
- UID
- 120104
- 性别
- 男
|
|
|
|
|
|
- UID
- 119307
- 性别
- 男
|
soso I was born to love you |
|
|
|
|
|
- UID
- 123043
- 性别
- 男
|
想看更多的东西?来我的博客,精彩多多!
http://blog.eccn.com/u/bjxiong/index.htm |
|
|
|
|
|