Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi Dave,
Good news, I finally managed to program the flash with my user_4SGX530_fpga.flash file !!! For my old Stratix -IV board version 90, I think is was one of the very first of its kind, I used the following procedure: 1) Generated the .flash file: sof2flash --input=user_4SGX530_fpga.sof --output=user_4SGX530_fpga.flash --offset=0x02000000 --pfl --optionbit=0x00018000 --programmingmode=PS 2) I configured the flash with the same vintage factory BUP restore_s4gx530_fpga_bup.sof This acts as a platform for the software which actually programs the flash and it must load 100% green or nothing works ! 3) I then used the following command: nios2-flash-programmer --base=0x08000000 --debug --dualdie user_4SGX530_fpga.flash Your suggestion of using --debug --dualdie made the difference ! without it, it just would not work ! Thanks, S.