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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

489 Views
plabgh
Contributor I

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!

0 Kudos
1 Reply

388 Views
plabgh
Contributor I

anybody knows how to solve this problem ?

thk...

0 Kudos