Forum Discussion
Thank you for the response Anand. I am trying to get the remote_update.c file to fit the 10M08 onchip memory. It says
Info: Linking nios2_rsu_sw.elf
nios2-elf-g++ -T'../hal_bsp//linker.x' -msys-crt0='../hal_bsp//obj/HAL/src/crt0.o' -msys-lib=hal_bsp -L../hal_bsp/ -Wl,-Map=nios2_rsu_sw.map -O1 -g -Wall -mno-hw-div -mno-hw-mul -mno-hw-mulx -mgpopt=global -o nios2_rsu_sw.elf obj/default/hello_world_small.o -lm -msys-lib=m
c:/intelfpga_lite/16.1/nios2eds/bin/gnu/h-x86_64-mingw32/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-mingw32/nios2-elf/bin/ld.exe: nios2_rsu_sw.elf section `.text' will not fit in region `onchip_memory2_0'
c:/intelfpga_lite/16.1/nios2eds/bin/gnu/h-x86_64-mingw32/bin/../lib/gcc/nios2-elf/5.3.0/../../../../../H-x86_64-mingw32/nios2-elf/bin/ld.exe: region `onchip_memory2_0' overflowed by 39528 bytes
Is there a modified remote_update.c that can fit the 10M08 chip? I got the file from the rsu reference project for 10M50. Would I need to modify the remote_update.c and optimize it for 10M08 chip since 10M08 only has 378 Kb of M9K memory whereas 10M50 has 1638 Kb.