AR# 29981

|

11.1 EDK - How do we know the start address of the heap and stack sections?

Description

How do we know the start address of the heap and stack sections?

Solution

- Heap and stack sections are listed in the memory MAP that XMD reports when the software application (the ELF file) is downloaded.

- Adding the compiler option " -Wl,-Map -Wl,main.map " for that particular application generates a MAP file in the project location which helps to check with the start address of the stack and the heap locations.

AR# 29981
Date 12/15/2012
Status Active
Type General Article
People Also Viewed