AnsweredAssumed Answered

How to obtain address of gobal variable for MPC55xx/MPC56xx in CodeWarrior 2.x

Question asked by wang heng on Aug 18, 2015
Latest reply on Aug 20, 2015 by stanish



I want to develop a tool which can parse the .MAP file of CodeWarrior project, and then automatically generate another file to store gobal variables name and their corresponding address.

Using CodeWarrior 5.x, there is a detailed description about  gobal variables name and their corresponding address in .map file of S12x project.

But the .MAP files vary from CodeWarrior 5.x to CodeWarrior 2.x, there is no description about variables in .MAP file of CodeWarrior 2.x.

Could you tell me how i can obtain address and name of gobal variable in .MAP/.elf/.mot file of CodeWarrior 2.x project ?