Altera_Forum
Honored Contributor
16 years agoProblem while compiling NIOSII application to be loaded into DRAM from FLASH
Hi,
I am writing a custom boot loader + an application. The bootloader will run from onchip-ram and will copy application,which needs to be stored in CFI flash, to DRAM. Reset & exception vectors in SOPC points to onchip-ram. I am able to compile the bootloader with no error. But the problem is that I am not able to compile application code. While compiling code, linker gives following error: alt_irq_handler.c:96: relocation truncated to fit: r_nios2_call26 osintenter
I have to use customized bootloader because it also performs some additional tasks apart from loading application from FLASH to DRAM. Any idea ?? FYI: I am using Altera Embedded Dev. Kit (3c120). Thanks in advance Sanjay