I follow the step to use Arduino Mega 2560 to program Atmel Atmega 2560 chip.
- set the Mega 2560 as ArduinoISP by upload it code.
- burn the boatloader on new atmel atmega 2560. it is successful.
- Step File > upload using programmer. The Rx and Tx Led is blinking. Uploading...Done Uploading.
it is successful.
I disconnect the Arduino Mega2560 board. Switch on the target bpard and test it. It seem to be nothing. For example. Turn on the pin 19 of Atmel Mega 2560 chip..(pin 53 of arduino Mega 2560). It doesn't have it.
It is spent half day to fix. Hope help. Thank you very much.