You can verify segment allocation from the Memory map section in a linker map file. Verifying segment allocation in a .MAP file shows a sample Memory map section.
Listing 1. Verifying segment allocation in a .MAP file

- Starting address : specifies the starting address for each section. Constant and executable object code are allocated in ROM space and data object code is allocated in RAM space.
- Size : specifies the size of each sections.
- File offset: specifies the offset of a section in the file.
- ROM Address : specifies the address of the section in the ROM image. For executable code and constants sections, Starting address is equal to ROM Address . For data sections, ROM Address specifies the address in ROM where the initialization values are stored.
- RAM Buffer Address: specifies the address in RAM that is to be used as a buffer for the flash image programmer. It is important to note that the RAM buffer is not used when the RAM address equals to the ROM address.
- S-Record Line: specifies the line number of a section in the S-Record file in decimal format.
- Bin File Offset: specifies the offset of a section in the binary file.
- Bin File Name: specifies the binary file name of the section. The file name also reflects the ROM address of the section.