Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

Remote update Cyclone IV from EPCS

Altera_Forum
Honored Contributor II
1,652 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
678 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
678 Views

Thank you for your answer. 

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

Stupid mistake.
0 Kudos
Reply