Press & Hold Reset while you start the sketch download.
Release it when you see the "Compiled xxx of 128000" bytes message.
May have to try a few times to get the right time.
If you can't make that work, re-loading bootloader using an ISP programmer will be needed.