Vincent Trouilliez wrote:
I am still not quite clear why the map file reports Flash adresses
twice that of what the memory pointer of the AVR chip actually holds
physically ?

The not-very-technical answer:

Well, avr-gcc thinks the whole world is byte addressable. But AVR flash is (16 bit) word addressable only. So the avr-gcc tool chain works in byte addresses until the very last stages of prepping a binary, where flash addresses all get shifted right by one bit.

-dave



--
Vince


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list




_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to