Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHi,
The bootloader is located within the EPCS Controller which you have included into your NIOS system (using either SOPC or QSys). The bootloader code is in the first 1kB area of the EPCS Controller address space. That's why you have to set the NIOS CPU's reset vector to the beginning of the EPCS Controller's address space so that the CPU would start running the bootloader code from there. Because the EPCS Controller address space in NIOS system is only 0x7FF, you can't place your application code into that area like you would do with parallel flash device (which is fully accessable in the NIOS address space). And that's why you need the bootloader to copy the data from the EPCS to the main memory. More details can be found from the following Altera documents: - Embedded Peripherals IP User Guide (the section "EPCS Serial Flash Controller Core") - Application note 458 "Alternative Nios II Boot Methods" Regards, Jari