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

hex file generation for nios code

Altera_Forum
Honored Contributor II
1,079 Views

I am trying to figure out how to generate a hex file for on chip RAM initialization containing Nios code, as I want to have the code loaded into RAM when the FPGA is initialized (the design only uses on chip RAM for program memory). Is there a way to have the Nios build tools generate a hex file image of the code, so I can add it into the programming file for the config device?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
301 Views

I finally found the answer. The mem_init_install target did not exist, but I found another post that described how to add it under 'make targets->build' in order to get the build tools to generate the hex file I wanted.

0 Kudos
Reply