FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

How To Program Only The Nios Software to Flash Memory?

YBoro
Beginner
607 Views

Hi, I want to program the flash memory directly, only the elf file from the nios without changing the .sof file and prevent the long compilation of the quartus in order to combine the elf and sof. If I change only the C source There is any way to program only the changing of the nios program into flash memory (outside of the ALTERA) and in power cycle the FPGA will loaded with the same .sof file but with new .elf fille?

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
416 Views

Hi,

yes you can do this. First what kind of flash you are using? if I have the sof and the Hex (code) I can create a JIC or POF file to program the flash. Then you can update the code only (HEX). BTW you must notice that changing in Qsys design requires re-compiling the design and updating the Code based on the new .sopcinfo file. If you just need to change the software (HEX) it is OK no nee to recompile the design on Quartus.

Regards,

 

0 Kudos
YBoro
Beginner
416 Views

Hi,

Thanks for the fast answer,

I know when I change the qsys file I need to recompile, But in my case I change only the HEX (C Source in NIOS).

I have this flash memory: W25Q32JVSSI.

Please guide me how to load the changing of the hex file only.

Best Regards,

0 Kudos
Ahmed_H_Intel1
Employee
416 Views
0 Kudos
Reply