I am trying to upload the Blink example from the Arduino IDE to a ESP8266-01 module using an Arduino Uno as serial programmer.
Now, the upload is successful but, upon restart (and disconnecting GPIO0 from GND), nothing happens.
I have tried with different example sketches but it seems code was not uploaded.
My Board manager configuration
- Board: Generic ESP8266 Module
- Flash mode: QIO
- Flash frequency: 40 MHz
- CPU frequency: 80 MHz
- Flash size: 1M (128K SPIFFS)
- Debug port: Serial
- Debug level: none
- Reset method: ck (tried nodemcu too without success)
- Upload speed: 115200
- USB port
As an addition, here's what I get from the ESP01 through the Arduino IDE Serial monitor:
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld
e:
ets Jan 8 2013,rst cause:3, boot mode:(3,7)
ets_main.c
and here's the IDE console window output:
sptool.py v1.3
Connecting..........
Auto-detected Flash size: 8m
Running Cesanta flasher stub...
Flash params set to 0x0020
Writing 229376 @ 0x0... 0 (0 %)1024 [...]
Wrote 229376 bytes at 0x0 in 39.0 seconds (47.0 kbit/s)...
Writing 229376 @ 0x10000... 0 (0 %)1024 [...]
Wrote 229376 bytes at 0x10000 in 39.0 seconds (47.0 kbit/s)...
Leaving...
The sketch I am using
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is acive low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
1
instead of the macro – dandavis Feb 27 '17 at 5:21