AnsweredAssumed Answered

How to obtain address and name of gobal variable in .MAP file of MPC55xx/MPC56xx

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

Hi,

 

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 ?

tks!

Outcomes