Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Using a Cyclone IV to program its own FLASH

Status
Not open for further replies.

shaiko

Advanced Member level 5
Advanced Member level 5
Joined
Aug 20, 2011
Messages
2,644
Helped
303
Reputation
608
Reaction score
297
Trophy points
1,363
Visit site
Activity points
18,302
Hello,

I'd like to use a Cyclone IV E FPGA to program it's own configuration file - The programming file will be transferred to the FPGA from a CPU via a serial port.

The memory device is: EPCQ16
https://www.altera.com/literature/hb/cfg/cfg_cf52012.pdf

From reading the datasheet I understand that these are the pins that will have to be driven by the FPGA:

nCS
DCLK
DATA0
DATA

Is this correct?
Anything I missed?
 

The configuration file's size is around 5MBs - the FPGA's RAM resources are a lot less then that - won't I need some kind of RAM memory to buffer the configuration file as it's being received by the CPU?
Do you know of any application note regarding this subject?
 

You don't need a buffer at all because the flash can be programmed byte-by-byte. The altasmi component is providing an optional sector buffer for programming speed enhancement.

Did you already review the altasmi user manual? It's giving basic usage suggestions if I remember right.
 
  • Like
Reactions: shaiko

    shaiko

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top