ATxMega GCC Linker Problem

Gast #2787376
Lesenswert?

Hi,

i am writing a New Bootloader for ATxMega Family.
With it i often have a linker problem, w. tells an overlapping of Memory 
segments ( see picture Linker Error )

The code uses about 40% of the hole Boot-Range, and w. some small 
changes in code, i get it running ( wondering ? )

So, why is there such a big difference between

char ucBuff[6] = "300225"; // generating linker Error

to ( working one )

char ucBuff[6];
ucBuff[0]='3';
ucBuff[1]='0';
..
ucBuff[5]='5';

Do you know the difference ? Why do i get the linker problem ?

BR Zimmi
Angehängte Dateien:

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren