Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI'm running Quartus 9.1 build 222 and Nios IDE 9.1 build 222 It is picking up my software and bundling it into my .sof and .rbf files that it generates for me every time I do a VHDL build.
I can do a software compile in NIOS IDE. Then do a Quartus build and my new software is included automatically in the .sof file. There is a .hex file that is generated and placed in the same directory as my .ptf (sopc file) and the other files SOPC builder outputs. In your system library settings in NIOS IDE you have to tell the tool which .ptf file you are targeting your software to. Also you need to tell the tool which memory segment your code sections reside in. I have all of my code in an onchip memory called "onchip_memory". NIOS IDE is creating a file called "onchip_memory.hex" in the SOPC directory and it seems Quartus is picking this file up and including the code to load my hex file from the EPCS device into onchip memory automatically. Works great. I'd suggest starting with a clean project and giving it a shot.