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

Remote Update Cyclone III from EPCS with NIOSII!!

Altera_Forum
Honored Contributor II
2,146 Views

I have created a combined hardware and software image for both the factory design and the application image and programmed them to the EPCS. However when I reconfiguration in NIOSII at the application image address(0x300000 in EPCS), the factory image is always loaded.  

 

the problem in sum is that the reconfiguration's hw_offset is not used the in EPCS process. 

 

I also check with all the Altera Forum for this issure. but nothing can help for me. 

 

so,I think there are some reason for the reconfiguration offset problems ? does anyone has the same situation?
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
650 Views

Have you created a custom bootloader to allow you to boot the application image? The default bootloader will not do this. You can program the FPGA with the correct fpga image but the default EPCS bootloader will always look at the factory software image. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

Hi jakobjones, 

 

I'm trying to do the same thing. Do you have a custom bootloader example for this case? 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

Hi jakobjones, 

 

I am trying to do the similar... you would think an example would be available from Altera... 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

Have a look at this thread: 

http://www.alteraforum.com/forum/showthread.php?t=20623&referrerid=2226 

 

I have posted a bootloader there. However, it was hand tweaked for Stratix II. 

 

The other thread you'll want to look at is: 

http://www.alteraforum.com/forum/showthread.php?t=23447&referrerid=2226 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

If someone has a Cyclone III custom bootloader example for this case please help. 

 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

Hey ywppeng and crayner, 

 

take my email: lehagen83@gmail.com. So we can talk about this. 

 

Thanks
0 Kudos
Altera_Forum
Honored Contributor II
650 Views

 

--- Quote Start ---  

Have you created a custom bootloader to allow you to boot the application image? The default bootloader will not do this. You can program the FPGA with the correct fpga image but the default EPCS bootloader will always look at the factory software image. 

 

Jake 

--- Quote End ---  

 

 

thanks Jak, 

 

I mean that the remote config can't load the application FPGA image, I make a second FPGA(.sof) image in the EPCS, (The LED will show it running).but it shows that the second FPGA(.sof) image failed to load.
0 Kudos
Reply