Forum Discussion

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

Help Progaming Spansion mem chip

I am trying to use quartus to program a Spansion chip (s25fl064k0smfi011) That is used with Cyclone 3 (EP3C55). Using the Progammer from Quartus 2, I use the Active Serial Programming Mode for the EPCS16 Device. When I select the Erase, it says "Programmer Operation Successful". When I Program/Configure the chip, it says "Programmer Operation Successful". But when I select Program/Configure and Verify, it fails on the verify operation. I then test out the FPGA and it does not work. Now here is the issue. When I first flash it is successful. Flashing the same thing also is successful. If I change the .pof, erase, then Program, it fails. I then try to erase and program the original .pof, it fails. Can anyone help?

2 Replies

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

    this is a bit tricky. you are using 3rd party SPI flash as a configuration memory instead of EPCS, the altera support won't help you with this :)

    anyway, erase successful only means quartus II has successfully sent erase command to the flash, it is not certain whether the erase command really erases the chip until you do a blank check. same goes to program, you got to verify the contents and since it fails, the .pof's contents are not programmed into the flash.

    try to identify where it fails. maybe you might want to compare the datasheet for EPCS vs. spansion flash, check especially the SPI command timing diagram and command's opcode.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello ZZYZX,

    Please launch the PDF file atached as it will detail

    the "Connecting Spansion SPI Serial Flash to Configure

    Altera FPGAs" application note.

    This application note supports the Altera EP3C55 FPGA and

    Spansion SPI (S25FL064K as a minimum) for Cyclone III.

    Regards,

    SES

    help progaming spansion mem chip I am trying to use quartus to program a Spansion chip (s25fl064k0smfi011) That is used with Cyclone 3 (EP3C55). Using the Progammer from Quartus 2, I use the Active Serial Programming Mode for the EPCS16 Device. When I select the Erase, it says "Programmer Operation Successful". When I Program/Configure the chip, it says "Programmer Operation Successful". But when I select Program/Configure and Verify, it fails on the verify operation. I then test out the FPGA and it does not work. Now here is the issue. When I first flash it is successful. Flashing the same thing also is successful. If I change the .pof, erase, then Program, it fails. I then try to erase and program the original .pof, it fails. Can anyone help?