I am currently uploading bootloader to a custom-made marlin board that uses atmega2560. This board is being used for a 3d - printer. I use Arduino UNO as the ISP to the board and I followed all the initial steps which are:
- Give Board connections between UNO and the marlin board (The connections are the same as that of a Mega board)
I followed the steps according to this website: https://arduino-er.blogspot.com/...
- Selected port, set the board as UNO, and selected programmer as AVRISP mkll.
- Selected the Arduino ISP from the example programs and uploaded it to the UNO and selected programmer to Arduino as ISP
- Changed the board to Arduino Mega or Mega 2560 and started the burn bootloader option
The bootloader is successfully burnt and when I try to dump a blink code, it starts the timeout error
At first, I figured out from other forums that the timeout was due to a small error in the boards.txt where the stk500v2 must be changed to wiring.
But the error didn't stop and I am not able to figure out what's wrong here. Please help me out with this!