Far outside my area of expertise but I think that it would help if you told us what the last fuse settings were that you applied.
Your topic has been moved to a more suitable location on the forum. Introductory Tutorials is for tutorials that e.g. you write, not for questions. Feel free to write a tutorial once you have solved your problem
I’m using the avrdudes program, it runs on the pc, it communicates with the microcontroller by the ISP connection, Micro is the microcontroller avreciado, I use the arduino mega which has the Atmega2560 and the connections this well because I test on another nameplate
Use fuses to work with the external oscillator of 16 MHz and wanted to have a serial communication since it could not have serial communication when programming by ISP