Upload an innocent sketch like blink. When the IDE reports the memory usage, double tap the reset button; this should invoke the bootloader and allow you to upload.
If upload fails after above, which operating system are you using? What does your operating system think about the board?