AnsweredAssumed Answered

CW for MobileGT - Create a User Data Segment?

Question asked by Tim Hutchinson on Aug 15, 2011
Latest reply on Aug 16, 2011 by Tim Hutchinson

Hi All,


    Can anyone offer some guidance on how to create a user data segment and then load some variables into that data segment on an MPC5125 with CodeWarrior for MobileGT? I'm sticking an NVRAM on the LocalPlus bus and I need to store some global vars in it.


I assume I need to modify the LInker Control file to create the user data segment and then maybe use a "#pragma section" statement in the code module where the variables are declared? I'm just not able to find any documentation on how to modify the LCF for the MPC5125. Any guidance or reading suggestions would sure be appreciated. Thanks!