Forum Discussion
Altera_Forum
Honored Contributor
16 years agowell,i see!
if u don't want to lost the program when u power up your board next time,u must add CFI or EPCS Serical Flash Controller module before your generate the sopc system,as well as Avalon-MM Tristate Bridge.(remember,u should set reset address to cfi_flash or ecps_flash) After that,u can use nios2-flash-programmer in NiosII command shell to test whether the hardware connection of flash is right!if there is no problem,it will shows some detail messages of your flash. Then,use NiosII to build a project,after that ,u can use flash programmer to burn it into the flash or EPCS. The last step,repower your board,it will boot from the EPCS,and then load the software in flash.