Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12609 Discussions

Problems with NIOS IDE's Flash Programmer.

Altera_Forum
Honored Contributor II
901 Views

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!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
182 Views

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...
0 Kudos
Reply