How do we know the start address of the heap and stack sections?
- 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.