Forum Discussion
Altera_Forum
Honored Contributor
20 years agoRegarding why your program won't print... I can't explain it; I'd recreate the entire software project, if I faced that. Just in case something got messed up somewhere.
--- Quote Start --- originally posted by prasad_forums@Oct 9 2005, 05:45 AM also small request can u please explain me the usethree options in the
run menu and debugger(elf debugger) sub-menu
1) .download into ram
2) attach to the existing program (no download)
3)""reset the target and execute from reset vector (no download)"
i read the devloper hand book and nios ide help regarding
still it is not clear for me. --- Quote End --- These assume you have a debugger module in your CPU. 1) This does the following: - Attaches to the debug port via JYAG - Halt the processor - Copy the program (text/rodata/rwdata) to wherever they're supposed to be in RAM (NOTE: This won't work if the program is in flash). - Sets the PC to point to the start address of the new program. - Releases the CPU from the halt state. 2) This just attaches to the debug port via JTAG, so you can do things like set breakpoints and inspect memory. It assumes the program in question is already running on the target. 3) Does the same as 2) except it also tells the CPU (and maybe the whole SOPC system block) to reset itself.