Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

hex file generation for nios code

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?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.