Sunday 15 June 2014

Executing code on the Nios II directly after it has configured from the EPCS

I wanted my Nios II to start executing code directly after it has configured from the EPCS. The code I wanted to execute was using the On-Chip RAM. The solution was simple, however it took me longer that it should have to figure out how to do it. The following is taken from the Nios II Software Developers Handbook (p2-33) and show you how!


Creating Memory Initialization Files

After your FPGA has been complied you can write it into the EPCS as normal. See Getting your design to load from the EPCS16 on the DE0-Nano development board and Scripting the process of programming the EPCS on the DE0-Nano

References

Nios II Software Developer’s Handbook

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Thank you very much! I have read all of your posts. It is very useful!
    By the way, do you know how to start executing code directly after it has configured from the EPCS but use external SDRAM to stored the configuration and program not the On-Chip RAM?

    ReplyDelete