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

Remote system upgrade with AS of Stratix II and EPCS16

Altera_Forum
Honored Contributor II
1,109 Views

Hello, 

I'm planning to use Stratix II (EP2S30) for a design, and want to have the option to remotely upgrade my firmware/Nios II software. Now, in the early design stages, I'm trying to see what hardware I need for that. I understand that no special pin settings / peripherals are needed to support remote upgrade, but I need a serial configuration device of the correct size. 

 

The bitstream size of EP2S30 is about 9 MBit. I planned to use EPCS16, but it may not suffice with remote upgrade, because I will need at least 2 images (factory and application) - 18Mbit together, which won't fit into EPCS16. 

 

My question is - is this computation correct, and I must use EPCS64 for remote upgrade with EP2S30 ? Can I *absolutely* rely on design compression to fit two images into EPCS16 ? 

 

Thanks in advance, 

Eli
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
443 Views

It is tight, but you could most likely get away with it..... BUT .... 

 

Unless your NIOS II code is all in the internal RAM of the FPGA memory, you will need additional space in the EPCS to store the NIOS II code that will get moved by the bootloader from the EPCS to something like SRAM or DRAM. 

 

Go with the 64 and be done with it.
0 Kudos
Altera_Forum
Honored Contributor II
443 Views

Just use the EPCS64. I did a Stratix II EP2S130 design and we were able to fit 4 images (with compression of course). 

 

However, I would caution you on one other thing. The remote update functionality using AS devices can be tricky. I strongly encourage you to try your scheme on an existing development board. People often have a very difficult time using the altremote_update megacore. The Stratix II design I mentioned worked fine. The altremote_update core did not work as documented but it met our needs. 

 

In contrast, I currently have a Stratix II GX EP2S130 design where I'm trying to do the exact same thing. I have yet to successfully get remote update working on it. 

 

Anyway, just try it out before you buy off on it. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
443 Views

Thanks for the suggestions. 

Are you aware of any development / evaluation boards that come with a Stratix II and EPCS64 ?
0 Kudos
Reply