Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

NIOS SRAM memory corruption check

sRama28
Beginner
294 Views

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 growing and corrupting program lines in SRAM .suggest any memory corruption check method?

3.if i created RTOS task after the task execution stack pointer is pointing bss section of code .is it right behavior or sp always within the limit of stack memory?

4.if i added any breakpoints code behavior is changing getting failure in ethernet driver files what is the reason?

 

0 Kudos
3 Replies
sRama28
Beginner
264 Views

any update on this intel guys ..

EricMunYew_C_Intel
Moderator
228 Views

May I know which document you followed?


EricMunYew_C_Intel
Moderator
217 Views

You 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.


Reply