Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Problems with NIOS IDE's Flash Programmer.

Hi friends,

I'm using NIOS II 5.01 with ep1s20+epc8+am29v065+2*idt71v416, now the off-chip sram and nor-flash can pass the test with memtest sample application code.

But when I built a system with mk_target_board in NIOS sdk shell, and do the remain things by follow the introduction of document NIOS II Flash Programmer User Guide, I got error messages with these:

Post-processing to create ext_flash.flash

Oct 8, 2005 3:15:39 PM - (??) elf2flash: Boot copier overlaps data in flash

Oct 8, 2005 3:15:39 PM - (??) elf2flash: Error generating Flash file, exiting

I had set the reset address to start address of ext_flash (0x02000000), and system lib's rodata address to ext_sram(0x01000000). I think the boot copier should be inserted to the reset address, isn't it? If so, which code segment will overlaps with boot copier. If not, how to config the reset adress and code link address?

Thanks!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    What's your CPU's exception handler's address?

    And is this while you're building the mk_target_board project? Because you shouldn't be adding any code to that project...