MyFPGA Forum

标题: 【FAQ】编译NiosII工程提示address is not within region onchip_memory2 [打印本页]

作者: BOB_Sun    时间: 2022-5-17 11:44
标题: 【FAQ】编译NiosII工程提示address is not within region onchip_memory2
Q: 参考DE0-Nano开发板的My_First_NiosII_Qsys.pdf 文档,创建DE10-Standard开发板的My_first_NiosII工程,在Nios II Eclipse里编译Project时,报错提示:address 0x10da4 of hello_world_0.elf section .bss' is not within region onchip_memory2';collect2.exe: error: ld returned 1 exit status
make: *** [hello_world_0.elf] Error 1,该如何解决呢?


A: 这是因为On-Chip Memory IP的Total memory size参数设置小了,可以在Qsys里修改增加该参数,比如参考TSP开发板的My_first_NiosII工程,设置Total memory size参数为50000,然后保存Qsys,重新Generate HDL,基于新的.sopcinfo文件创建Nios II工程。





欢迎光临 MyFPGA Forum (http://www.myfpga.org/discuz/) Powered by Discuz! X3