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++

Elf2Flash problems

Altera_Forum
Honored Contributor II
1,617 Views

I'm trying to convert the NIOS II executable .elf file into .flash file with the Elf2Flash NIOS II EDS utility (v.9.1). 

My .elf file contains two differents .text linker regions.  

 

The first one allocated in SDRAM and the second one in onchip memory. 

 

In Both files <My_project>.map and <My_project>.objdump the functions allocation seems correct. 

But the payload created by elf2flash is clearly wrong. 

 

In particular the second program record doesn't look like: 

 

4 bytes Length L 

4 bytes Address A 

 

Thanks 

Federico
0 Kudos
0 Replies
Reply