AnsweredAssumed Answered

Data alignment issue while changing "Linking order" in "Codewarrior for MPC55xx"

Question asked by Hareesha Karunakar on Jul 31, 2013
Latest reply on Aug 7, 2013 by Pascal Irrle

Hello Team,

I am using MPC5534 controller for our application. I use code warrior as IDE. The IDE has been compiling the source code well and is being used since 4 years.

There is a strange behavior observed and is described below:

One of the C file has been rearranged in "Linking order", followed by successful compilation. I downloaded the MOT file to target board. The software runs fine without any RESETS or exceptions. However I see that CAN messages are coming out from board normally but the contents are changing randomly unlike normal case. When MAP files are compared between working / non-working conditions, there are absolutely no extra RAM or FLASH memory usage, only difference is order of memory addressed used for variable and functions in memory layout.


What could be the problem?




Message was edited by: Hk