Forum Discussion
Altera_Forum
Honored Contributor
13 years agoYou are very kind, thanks. I do have a NIOS II design with PCIe core that works fine on the 530 board. Now I want to program the CFI so that it can boot and run on powerup.
This is the first time that I am trying to program the CFI of this board and I can't do it. I am following the user guide carefully. I don't quite understand why when I make the .flash I have to have the --offset=0x02000000 and when programming the CFI there I have to use a --base=0x08000000. These numbers don't agree with the memory map table provided above. There is a rotary switch which needs to be turned after programming. I don't care about the factory file, it's just that I can't program my design so I figured I would try the factory recovery files but they don't program either. What CFI address does the FPGA start configuring from? 0x00000000 ? or is it offset by the CPLD and the rotary switch? Can you see if it makes sense to you: sof2flash --input= <yourfile>_hw.sof --output=<yourfile>_hw.flash --offset=0x2000000 --pfl --optionbit=0x00018000 --programmingmode=PS Then, nios2-flash-programmer --base=0x08000000 <yourfile>_hw.flash http://www.altera.com/literature/ug/ug_sivgx_fpga530_dev_kit.pdf Cheers, S.