Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/13/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.6.4. Generating Memory Initialization File

To generate application image .hex file using the elf2hex command:
elf2hex <elf input file> -b <On-chip memory start address> -w <On-chip memory data width in bits> -e < On-chip memory end address> -r 4 <hex output file>
e.g. elf2hex software/app/build/hello.elf -b 0x0 -w 32 -e 0x4FFFF -r 4 -o