Forum Discussion

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

Program a FLASH memory though FPGA

Hello,

I would like to program the flash memory (EPCS for exemple) by a uP connected to the FPGA by a serial link SPI.

The first download would be done by JTAG connector. But the updates would by done by the SPI link between the FPGA and uP. I don't wont to used the Passive Mode to configure the FPGA but I want to download the program in the memory

My first idea was to used SFL megafonction but it seems it it a bridge between JTAG link and serial link memory and not I/O and serial link.

Does anyone can help me ?

Thanks.

Pierre

2 Replies

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

    Hi,

    in your case, you should use the Active Serial configuration mode.

    You can use the SFL to write the EPCS via JTAG.

    You can use the ASMI (Altera Serial Memory Interface) in your design to write (and read) the EPCS device. It's up to you to make the interface between the ASMI and the SPI, though.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, I ve seen a Megafonction which may allow to program the flash. It is called ALTASMI_PARALLEL.