I've been trying to upload any sketch to an ESP-01 with auto-download/upload USB programmer/adapter.
I've tried blank sketches and blink sketches. From here, I tested to see if there is continuity between GND and GPIO0. There is. It should be programming.
It is always this error:
esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
A comment on the Amazon product page says, "Uploading sketches via Arduino IDE, using one of the programming boards, goes OK. All pins have to be pulled-up (10kΩ) to 3V3."
So I tried uploading this sketch to no avail:
void setup() {
pinMode(1, INPUT_PULLUP);
pinMode(2, INPUT_PULLUP);
pinMode(3, INPUT_PULLUP);
}
void loop() {
}
Relative to ground, all the pins are 3v3, except GPIO0 is 2.09 V.
Is there anything else I should try? I've also tried different computers.