I downloaded a RADAR program (Radarcode.Ino).
Loaded it into the ARDUINO IDE and compiled it using a AVRMEGA 2560 as source processor. NO errors.
Disassembled the HEX-code and recompiled the Disassembled code in AVR STUDIO 6. (Just to make sure the disassembly was done correct It was. )
Afterwards I examined the disassembled listing. I was really amazed when I discovered that several lines (all STS and LDS instructions) had references
to adresses i the SPEC-REGISTER area (0x40 - 0x1FF) and these references/addresses wee NOT assigned to anything (maybe an ordinary RAM-cell ).
(I guess it's because it was originally written for a AVR328(P) , but here I use an AVR-2560! Should't the code be relocated ?? Considering the NO-error )
Have anyone in this group ever seen something like that, ever ??
Snestrup2012 AKA Kris