Forum Discussion
Altera_Forum
Honored Contributor
10 years agoMake DE0 Nano to be Bootable and use SDRAM to store hardware and software
Hi all, Please help me, I have been stuck with this problem for MONTHS. I am currently working on a Nios II based design using the DE0-Nano board and the on board 32Mb sdram. My system is as fo...
Altera_Forum
Honored Contributor
10 years agoIt isn't clear from your description, but when you're using the .jic you also need to have added the EPCS Flash Controller and have configured the NIOS to boot from the EPCS bootloader. In other words, just programming the .jic file isn't enough to make your software get copied to SDRAM after reset. In your shoes, I would revisit the .jic method after having changed your hardware to use the EPCS boot method.
Whats happening here is that the EPCS ROM bootloader is just a simple program for the NIOS that knows how to point back to the EPCS flash and copy the contents after the hardware section to the locations encoded in the .jic Here are some Altera links, AN736 in particular: https://www.altera.com/support/support-resources/knowledge-base/solutions/rd12092009_471.html https://www.altera.com/en_us/pdfs/literature/an/an736.pdf https://www.altera.com/en_us/pdfs/literature/an/an458.pdf