Hi
I want to burn the program in Mega 2560 chip by using Mega 2560 as ISP.
The method is below.
- Upload the arduino ISP in Arduino 2560 board.
- Connect reset circuit and osillation circuit to Mega 2560 standalone chip
- Connect the wire from Mega 2560 board to Mega 2560 standalone chip.
Mega standalone
MISO(50) - MISO(50)
SCK (52) - MISO (52)
MOSI(51) - MOSI (51)
SS (53) - Rset(53)
3.1 Edit the boards.txt file
Arduino Mega w/ ATmega2560
-------------------------
mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560)
mega.menu.cpu.atmega2560.upload.protocol=wiring
mega.menu.cpu.atmega2560.upload.maximum_size=253952
mega.menu.cpu.atmega2560.upload.speed=115200
mega.menu.cpu.atmega2560.bootloader.high_fuses=0xD9
mega.menu.cpu.atmega2560.bootloader.extended_fuses=0xFD
mega.menu.cpu.atmega2560.bootloader.file=stk500v2/stk500boot_v2_mega2560.hex
mega.menu.cpu.atmega2560.build.mcu=atmega2560
mega.menu.cpu.atmega2560.build.board=AVR_MEGA2560
- Select tools>programmer>Arduino as ISP. Then Burn the boatloader to 2560.
- Select file>upload using programmer.
It is successful but the program cannot run.