Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

How to program a file to the CFI_512Mb flash through the Nios II Flash Programmer?

Hello, I can program the rozipfs binary data file to the CFI_256Mb flash (256P30) through the Nios II Flash Programmer, but i can't do this with a cfi_512mb flash (512p30), why, how to?

I have checked the CFI_512Mb flash, it is ok. I refer to the an478 to create one PFL project, and use the non-factory mode, I have program the .pof file successfully, and the FPGA could run correctly after re-powered.

The difference is that the CFI_256Mb flash could programmed using the factory mode, why?

The address of the Nios II CFI-Flash interface is resolved correctly, the lowest bit of it has not used, this is right, for I have successfully program the .elf file to the 256Mb flash using the same method.

software version: quartus ii 11.1.

flash programmer error: error code 8:...

Who can help me, thank you!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you everybody,

    I have resolved this problem, because the clock source of the tri-state bridge and the CFI-flash at the SOPC/QSYS system is 56.25MHz in this application, although this is larger than the frequency limit of these components (Altera recommended it to set this frequency higher than 50MHz) , I using a clock crossing bridge and increase this frequency to 75MHz, the 512P30 Flash could programmed successfully, every thing is ok!

    Thank u.