Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Hi,
- the stack grows towards lower memory, so put it at the highest accessible memory location. - setting the exception address can be done in the second tab sheet of the SOPC builder Stefaan - Altera_Forum
Honored Contributor
eRen,
setup of the stack pointer is made in file crt0.s. Copy this file from '<NIOS-Dir>\components\altera_nios2\HAL\src\' to your software directory and make your changes. If the compiler finds this file in your directory it is not searched further. Mike - Altera_Forum
Honored Contributor
Thanks Mike and Stefaan.
eRen