Forum Discussion
Altera_Forum
Honored Contributor
19 years agoi can't tell you how to fix the cfi but i can give you a hint what i do in these cases ...
it seems to me that the cfi is not lost. mostly there is something wired going on with the currently running nios design. so i download the fpga by using the *.cdf and then i have a properly running nios2 then i imediatly run the flash prommer again and can program the flash. .... $QUARTUS_ROOTDIR/bin/quartus_pgm --cable='USB-Blaster [USB-0]' EP2C50.cdf $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --device=1 --base=0x00000000 EP2C50.flash no idea why i need to load the fpga image and not using the currently running nios. both images are the same ! the one running and the one from *.cdf maybe you can give this a try .. Regards. Michael