codwarrior 2.7 , mpc5554 , multiple warnings

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

codwarrior 2.7 , mpc5554 , multiple warnings

946 Views
khurram712
Contributor I

Hi

 

after compilation of my source code there are several warnings of overlapping sections like .bss , . data , .sdata 

along with one main warning that internal ram length is less/limited...it is overlapping with stack and heap...

 

i tried to solve the problem of limited length by editing MPC5554_Debug.lcf(could nt changed in MPC5554.debuf as there was no such option) file.I changed "len" variable by changing its value to an extent that it would remove "main intenral ram " warning.luckily the other warnings were removed as well on next compilation but now the code during live debugging is showing no register contents at all..neither it is showing  which instruction the processor  is currently working..it sorts of halts

 

i would like to know if it is necessary to remove these warnings ..as it seems they can cause a critical error at time of debugging or should i leave them as they are..

 

if i need to remove them..what is the proper solution.

 

Regards

 

Khurram Hameed

Labels (1)
0 Kudos
Reply
1 Reply

620 Views
stanish
NXP Employee
NXP Employee

Hi khurram712,

 

Which target do you use? internal_flash vs. RAM

 

I suspect this may be caused by an issue in your linker command file or a ROM image settings issue (if you use internal_flash target).

 

Could you possibly post your:

1) .lcf file

2) .map file

3) exact warning messages (use Ctrl + C in warning/errror window to copy&paste the window content )

 

If you don't want to share this information on Forums feel free to create a Service Request here:

 

https://www.freescale.com/webapp/servicerequest.create_SR.framework

 

Stanish

0 Kudos
Reply