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

Remote update Cyclone IV from EPCS

Altera_Forum
Honored Contributor II
1,330 Views

Hello. 

 

I have DE2-115 and i'm able to reconfig it from EPCS with NIOS. 

But I have some problems with factory image. 

 

My factory image takes addresses in EPCS from 0x0 to 0xF0000. (Sectors 0 - 15) 

NIOS II erase sectors from 0 by 15. After it NIOS II is writing image to EPCS. 

After Power Up everithing is fine. FPGA reconfigured from EPCS. 

 

In next step i'm erasing sector number 16.(It was empty.) 

After Power Up FPGA didn't reconfigure from EPCS. 

 

What's going on? Is it going on because changes epcs status register?  

Am i moving in the right direction?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
356 Views

Please check these points: 

- Are you sure you are correctly erasing sector 16? Try to read back epcs data. Maybe you are actually erasing sector 0. 

- Does the FPGA+NIOS image really fits between 0 and 0xF0000? I would expect a bigger image for the C-IV device used on the DE2-115. 

- After power up, check if FPGA doesn't reconfigure at all or if instead it configures but Nios doesn't boot.
0 Kudos
Altera_Forum
Honored Contributor II
356 Views

Thank you for your answer. 

I checked all this things and found error in address of erasing block. 

Stupid mistake.
0 Kudos
Reply