Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- Hello all, Once again my laziness gets the best of me and here I am. I have created two FPGA/NIOS loads, one factory and one application. The factory load has a remote reconfig controller, so I can play with this functionality. In the long run I wat to be able to download the application load, but for now all I want to do is get both loads in the EPCS and initiate a reconfig. I know the factory will start at EPCS location 0 and thus the boot for nios should be pretty staright forward. Now the application load I am not so sure . Here are a few questions: 1) If all I want to do is get a bootable factory and application load(FPGA / NIOS) into the EPCS is the easiest method to use the convert programming files in QII and build up a multi design image? or should I stick with the scripts and the flash programmer? 2) for the application bootloader, do I have to customize the bootloader code. I have read this on other threads, but did not know if their was a simpler method. --- Quote End --- The bootloader installed with the EPCS component knows only how to load the NIOS II software that follows the factory configuration (at 0). If you program an "update" NIOS II application, say, half way into the EPCS, you can load it from the running factory version by copying it over the factory version (hint: use code in on-chip memory like the bootloader does). The hard part is when the update runs, it needs to know that it's the update so it doesn't try to copy itself infinitely. By the way, you have this booting problem even if you use the ALT_REMOTE_UPDATE component to stored a second configuration in EPCS. Bill