Altera_Forum
Honored Contributor
21 years agoEPCS boot loader start location
Hello,
I'm upgrading a Cyclone EP1C6 based Nios 1 to Nios 2 system. In the Nios 1 system I use USB and a PC app to load C code .srec files via ASMI into the serial eeprom used to house the PLD binary. I have a USB and ASMI bootloader stored in initialised memory. It works well. I use a 4M memory, 1M for the PLD binary, the other 3M for NIOS programs. In Nios 2, ASMI is gone, so I must use EPCS. However EPCS uses 2K of internal memory. There is no longer room to store my USB boot loader, and besides the NIOS 2 instruction set is less efficient and I can't fit the program into internal memory any more anyway. So instead I want to use the EPCS to load the entire operating program from serial EEPROM. I still want to be able to upgrade the code (and PLD binary) over the USB. This means I need to know where the code is inside the EEPROM. There is no hint in the documentation on how to locate the code at a particular location in the EEPROM, and then have the boot loader fetch it from there. Does anyone know how to do this? Any help much appreciated, Bart Schroder