Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

How to set Virtual Memory Address for excalibur with mmu?

Altera_Forum
Honored Contributor II
1,289 Views

Hello everyone. 

The NiosII MMU boot mechanism puzzle me for several days. 

With MMU,elf can be converted to the hex with virtual address by adding the mmu module.but I use the command elf2hex with this error: 

$ elf2hex --input=nios2_germs_monitor.elf --base=0xd0004000 --end =0xd0004800 --width=32 --output=memory_monitor_.hex Exception in thread "main" java.lang.IllegalArgumentException: Data base address must be positive at com.altera.memory.ConcatinatingMemory.add(ConcatinatingMemory.java:32 ) at com.altera.memory.ELFMemory.read(ELFMemory.java:152) at com.altera.memory.ELFMemory.read(ELFMemory.java:92) at com.altera.elf2hex.Elf2hex.<init>(Elf2hex.java:111) at com.altera.elf2hex.Elf2hex.main(Elf2hex.java:52)  

Could anyone give me some clue? 

 

Kinder Regards!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
583 Views

I got it by using the same elf2hex command in new version Qt instead of old one(5.1).

0 Kudos
Reply