I’ve been having issues recently with my Arduino Mega uploading sketches. It was working for the longest time and now it keeps giving me time out errors. Are there possibly cached fils I can delete to re establish the link? Looking for suggestions. Error message below.
Configuring upload protocol…
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port…
Using manually specified: /dev/cu.usbmodem141301
Uploading .pio/build/megaADK/firmware.hex
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.