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

Programming flash on Stratix IV GX devkit not working

Altera_Forum
Honored Contributor II
1,191 Views

I'm unable to program the flash on this devkit. Here's my procedure: 

 

1. Open Quartus II 9.1sp1 

2. Choose File/Convert Programming Files 

3. Choose Programming file type as .pof, Configuration device as CFI_64MB, and Mode as Fast Passive Parallel 

4. Check the "Memory Map File" box 

5. Click "Sof Data". This adds an item for SOF Data, Page 1 (according to the docs, Page 1 is supposed to be User Hardware section) 

6. Click Add file, and add the top.sof that comes with the devkit 

7. Click Generate 

 

The first issue I notice is that in the generated map file, the start address is 0x20_0000. According to the docs, though, this is the start of page 0 for Factory Hardware. Anyways, I continue with this. I then: 

 

1. Open Quartus programmer 

2. Click "Auto Detect". The 4SGX230 and EPM2210 are detected as expect3ed. 

3. Right-click EPM2210, choose "Attach Flash Device" 

4. Choose CFI_64MB and close 

5. Double-click the flash, and add the previously generated .pof 

6. The flash expands to include a Page_1 and OPTION_BITS subitem 

7. I select Program/Configure for the Page_1 and OPTION_BITS item 

 

Now when I click "Start", the GUI greys out for about a second and comes right back. Clearly the flash is not being programmed. 

 

Any ideas what's wrong? I get no warning msgs, etc. I've tried various Program/Configure checkbox configurations, but no programming seems to occur. 

 

I can program the FPGA directly without issue. 

 

The second issue, as mentioned, is that in the .pof generation steps the converter auto-selects a start address of 0x20_0000 for the .pof. When I decide to give it a start address rather than auto select, regardless of what address I enter, during generation the error message "Start and/or end address exceeds memory size".
0 Kudos
0 Replies
Reply