Forum Discussion
Altera_Forum
Honored Contributor
20 years agoLoading of code to SRAM
Hello all, In the system library properties I can ask for my code to run from the SRAM. I'm interested in knowing what happens behind the scenes when I compile and Run / Debug my code using...
Altera_Forum
Honored Contributor
20 years agoFor run/debug in the IDE (not flash bootload, as previously discused), the nios2-download app is called from the IDE. nios2-download communicates to the Nios debug core (thus necessitating the presense of one in your design) via your JTAG download cable. On the Nios side of things, the processor receives a special break signal that casues it to execute code from a small monitor inside the debug core. This monitor accepts commands from your PC (nios2-download) to read/write/verify memory as required to download and debug your application.