Forum Discussion
Hi,
Thank you for your response. Apologies for causing confusion.
I checked on your memory initialization screenshot you attached, you have chosen both 'Initialize memory content' and 'enable non-defult initialization file' . You do not have to do so, but only enable non-default initialization file. Here are the summary of steps for you to check whether you have done it correctly:
1. Build your SOPC system with onchip ROM and enable the "Enable non-default initialization file" option.
2. Generate your SOPC system.
3. Create a Nios II IDE project based on the just generated SOPC system.
4. Build your Nios II IDE project and make sure that the *.hex file according to your "User-created initialization file"-name was created.
5. Go back to SOPC and regenerate the system that now includes your *.hex.
6. Implement your SOPC sytsem in a Quartus project and compile this to get your *.sof and *.pof files.
You have to make sure that the Nios II IDE creates a *.hex file named according to the field "User-created initialization file". If all your settings in SOPC are okay (reset vector, etc.) then it should work after you re-generated your SOPC system and recompiled your Quartus project.
After recompilation of your Quartus project, the Nios program should be also in your *.sof file.
Thank you.
Regards,
Kelly