Forum Discussion
Altera_Forum
Honored Contributor
19 years agoMost of the info. you need can be found in an objdump file, which can be optionally generated by the IDE. (nios2-elf-objdump on the command line)
You do, however, have to be wary of where you've decided to place the stack, heap, and exception address. There's a pretty decent description of how memory is managed (albeit in a Linux system) here (http://www.informit.com/articles/article.asp?p=173438). In general, what you'd like to do is not really possible unless you place the stack and heap in a separate memory or are darn sure that neither your stack nor your heap will "invade" the area that you're attempting to test. Cheers, - slacker