Timeout error. Uploading Blink works but Marlin not

Like many others I have the timeout problem with my Chinese Arduino Mega 2560 r3 CH340. When I want to upload bigger sketches like Marlin it takes ages to compile and when it gets to the upload I get the error
avrdude: stk500v2_ReceiveMessage(): timeout
But when I upload small ones like the normal blink sketch it works just fine.
So the board should be fine I guess.
I also tried the thing with the 3 Exclamation Marks.
I'm pretty new to arduino and coding. So please if you have an idea let me know.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.