Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21611 Discussions

Program a FLASH memory though FPGA

Altera_Forum
Honored Contributor II
1,534 Views

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
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
509 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
509 Views

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

0 Kudos
Reply