Hi Everyone,
I am having an issue with uploading to a genuine Arduino Mega. It worked fine for weeks… and today it doesn’t, I can not find anything when searching online, so I am asking here, maybe there is something obvious I am missing.
Basically, the project is weeks ok, and worked fine up to today.
I tested on Arduino IDE and I could upload a sketch to this very board, so I am confident the board and cable is working fine.
I am left with a failure inside PlatformIO when trying to upload, here the part of the log where it gets the timout, at the end of this message
I tried to restart the computer, remove the usb com device from the device manager, etc etc, changing port doesn’t change anything. PlatformIO properly detect the device with the right port.
Any help or hint will be greatly appreciated!
Bye,
Jean
LOG:
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [==== ] 36.8% (used 3014 bytes from 8192 bytes)
Flash: [= ] 10.1% (used 25728 bytes from 253952 bytes)
Configuring upload protocol...
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port...
Auto-detected: COM13
Uploading .pio\build\megaatmega2560\firmware.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file ".pio\build\megaatmega2560\firmware.hex"
avrdude: writing flash (25742 bytes):
Writing | ####avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout