However if used correctly (some timing may be required) it can also often be used to upload a new sketch in some errant boards just prior the UPLOAD phase.
Press & hold Reset, start a code download. Release Reset when the IDE shows "compiled xxx of 128xxx" bytes.
Timing can be easier if you select File:Preferences and turn on verbose outputs.
Might take a couple of tries to get the release timing correct.
Reset button just resets the '2560 - whether the computer detects it does not depend on the state of the 2560, but on the serial adapter. Does the port appear under tools -> port menu when it's plugged in? If not, that is a bad sign for the hardware.
Is it based on 16u2 serial adapter (like official boards or faithful clones)? What were you doing before it stopped working? Is the USB cable known good? Bad USB cables seem to be the plague of the year (last year's was ftdigate).
Thanks all - the port does NOT appear under tools -> port menu when connected via USB to a Mac and also when linked to a raspberry PI running raspbian
I think the problem started after we did a firmware upgrade/upload (via FarmBot OS - https://software.farmbot.io/v1.0/docs/arduino-firmware )
The L/LED does come on and stays on now (don't think it was doing this before).
Have also got another board, which works fine. I noticed that the other/working one has the Arduino -/+ logo on it. Perhaps that means the faulty one is a clone. (see image)
Last month my Mega clone was not detected anymore (after an upgrade of the IDE?).
Too lazy to sort it out.
Just deleted the IDE, and re-installed it.
After that it worked again.
Leo..