Forum Discussion
Altera_Forum
Honored Contributor
11 years agoBooting up the FPGA configuration with one CPU is described here
http://www.altera.com/support/kdb/solutions/rd11192013_118.html Then forthe second CPU to be booted from on-chip memory, you need to do the following (of course the FPGA configuration must be loaded at the beginning as described in the above link) 1- Define on-chip memory as "RAM" 2- check "Enable non-default inistialization file" (refer to step 5 for the hex file generation) https://www.alteraforum.com/forum/attachment.php?attachmentid=9176 3- in NIOS II settings, point the reset vector to the on chip memory https://www.alteraforum.com/forum/attachment.php?attachmentid=9177 4- In order to generate the hex file from the elf file generated by Eclipse, the easiest way is shown below https://www.alteraforum.com/forum/attachment.php?attachmentid=9178 5- Double click on "mem_init_generate" and the hex file is generated and saved in a folder inside your app folder