Arduino Mega2560 as ISP to program another Arduino Mega2560

westfw:
I'm not sure whether it will wrap to 0x0 (your sketch), or to 0x10000 (middle of nowhere, where it will eventually wrap again.)

Hi westfw,
on the 2560 at the end of the flash the PC do not jump to 0x0, I discover this behavior some months ago and found that we need modifie the fuses.
NOrmally in the arduino board the high_fuses=0xD8, we need it change to D9 (the submenu' code posted here is mine ;))