Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Stack and Heap Memory Check

Altera_Forum
Honored Contributor II
962 Views

I have a software requirement to check all memory. This memory includes the stack and heap in SDRAM, and this is my dilema. I realize I need to write this in Assembly and lock out interupts when I do this, but does anyone have guidance on this subject?

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
248 Views

There is a new option in nios2 5.1, which will help, 

-mstack-check 

 

Read the nios2 doc gnu-tools gcc nios2 options 

(however, this is not yet ported to buildroot.)
0 Kudos
Reply