retrolefty:
Sheesh, you would think as long as the arduino mega1280/2560 boards have been available that the exact problem and or solution would have been well known and published by now? I sure it's not common to write sketches greater then 64KB but you think a few have had the need?Lefty
Yes I Do say that the current Avr toolchain that is included in the Arduino IDE doesn't let the user write a sketch that isn't affected by that bug.
The bug only affects the access of data in the FLASH memory over the 64 kB limit, not the execution of code in that space.
The problem is inside the avr-gcc compiler.
The bug that cannot permit to access data from the Flash put over the 64 kB limit has been solved in avr-gcc 4.3.5 (or 4.4, I don't remember exactly) but the Arduino IDE comes with avr-gcc 4.3.2, and the bug is present.
EDIT: Moreover, the avr-gcc 4.3.2 has another limit: it cannot compile functioning sketches bigger than 128 kB (64 kBword).
EDIT2:
here is the a bug segnalation concerning the 64 kB limit with the data access. It's dated 9 oct 2012, so it's recent.
http://code.google.com/p/arduino/issues/detail?id=1067
Here is the guide to update the software using the latest toolchian from Atmel:
[LINUX]: http://www.leonardomiliani.com/2012/come-aggiornare-la-toolchain-avr-alla-versione-3-4-1-linux/?lang=en
[WIN]: http://www.open-electronics.org/arduino-full-memory-upgrade-to-the-last-atmel-toolchain-version/