Hello everyone, I have an Arduino Mega on which I'm unable to upload my program using my new computer and the new Arduino IDE 2.0.1.
My Mega is around 12ish years old and I'm able to upload program using my old computer and "Arduino Alpha 0022".
I've went through a lot of forums over the last few weeks but never found anything that could solved my issue.
Here is the error message I get when I'm trying to upload (Which seems to be very common)
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
Failed uploading: uploading error: exit status 1
Program is the "Basic" FastLED example (But I've tried other very simple programs that works on my old computer without any luck. It compiles without any errors.
#include <FastLED.h>
#define LED_PIN 7
#define NUM_LEDS 20
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds<WS2812, LED_PIN, GRB>(leds, NUM_LEDS);
}
void loop() {
leds[0] = CRGB(255, 0, 0);
FastLED.show();
delay(500);
}
- When I'm getting the "Board info" I get
BN : Arduino Mega or Mega 2560,
VID : 0x2341,
PID: 0x0010 - Since it's working on another computer, I assumed the Arduino is good, the cable is good and my power supply is good as well.
- I've done the "Loopback test" and it worked.
- I'm using an USB 2.0 hub to make sure it's not a USB 3 issue. (But I've tried without the hub as well)
- I've tried to update the driver, and Windows is telling me I have the latest version BUT it's written "USB Serial Port (COM8) instead of Arduino Mega... I assumed it could work since it's what it's written on my old computer as well.
- I have another Arduino Mega that I bought at the same time that has the exact same behavior.
Could my Arduinos be too old?
Any help would be welcome
Thanks!