Uploading the Bootloader error

Can someone please help!

The history of the error is as follows:-

I changed the hotend of my 3d printer so this required a change in the firmware settings
I connected the computer via usb to the printer and uploaded the firmware which completed the upload
As the printer restarted it was accidentally switched off
On switching the printer on it only shows the splash screen no progress bar movement (showing progress of boot up).

I was informed on another forum that he had heard that you could re-flash the board after a bad flash.
The printer has a 2560 board installed which I think has a Bootloader.
I’ve tried to re-connect using the usb cable but the printer is no longer detected.

I have tried connected a Arduino mega 2560 rev3 board and following numerous diy’s including this one:

I manage to send the sketch to the mega, but when it comes to sending the Bootloader to the printers board I get the following:-

Arduino: 1.8.11 (Mac OS X), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Error while burning bootloader.

The board is set to mega 2560
The processor is set to mega 2560
The port is set to the arduino mega card
The programmer is set to ArduinoISP on sending the sketch to the board but then I change it to
Arduino as ISP.

Please can someone point me to a solution to this problem?

I have checked the cabling and all wires test for continuity.

Could you take a few moments to Learn How To Use The Forum.
It will help you get the best out of the forum in the future.

Posting tips.

  • Your OS and version can be valuable information, please include it along with extra security you are using.
  • Always list the version of the IDE you are using and the board version if applicable.
  • How to insert an image into your post. ( Thanks Robin2 )
  • Add your sketch where applicable but please use CODE TAGS ( </> )
  • Add a SCHEMATIC were needed even if it is hand drawn
  • Add working links to any specific hardware as needed (NOT links to similar items)
  • Remember that the people trying to help cannot see your problem so give as much information as you can