If for some reason you got a bad flash on your 2560-based board, you can always bail yourself out by re-flashing the bootloader with an Arduino Uno kit and then uploading the firmware.
To do this, follow our bootloader flashing guide but instead of selecting the “Sanguino 1248p” for the board, select the “Arduino MEGA 2560” board and follow the exact same steps as outlined in the video guide on the bootloader flashing guide page.