Forum Discussion
sRama28
New Contributor
5 years agoNIOS SRAM memory corruption check
hi intel
need answer for below.
1.how to find heap and stack starting and ending address. heap_start and stack base adress are same in objectdumb file .is it right?
2.how to check stack growin...
EricMunYew_C_Intel
Frequent Contributor
5 years agoYou can run a Nios simulation to find the sp and heap locations and for monitoring.
You can allocate your program and stack in different memory regions.
The sp should be within the limit of stack memory.
Your code should not be changing by adding breakpoints.