Keil™, An ARM® Company

Technical Support

BL51: OBTAINING THE MEMORY MAP OF A PROJECT


Information in this article applies to:

  • C51 Version 5.50

QUESTION

I need to find the memory map for my project. For example, where is the linker placing different code segments and how much code, data and idata memory am I using? I am calling the linker from the command line.

ANSWER

When you call the linker, you need to use the PRINT directive to generate a linker listing (map) file. For example:

BL51 MYPROG.OBJ TO MYPROG.ABS PRINT(MYPROG.M51)

will generate the file MYPROG.M51 containing the memory map, symbol table, library routines used, etc.

MORE INFORMATION

  • Refer to PRINT in the BL51 User's Guide.

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure