ESP12F won't run my program
Posted: Tue Jan 16, 2018 1:11 pm
Hello guys,
I'm new to the ESP8266.
I have an ESP-12F (supposedly) that seems to work ok when I flash an AT firmware, but It won't run my own programs.
I've written a very simple sketch:
which is supposed to blink and print stuff. However when I upload it to the ESP, nothing happens.
After poweroff/power on, I get watchdogs error:
Are there any parameters that could be set wrong when building the sketch that would explain this behaviour ?
Thanks.
I'm new to the ESP8266.
I have an ESP-12F (supposedly) that seems to work ok when I flash an AT firmware, but It won't run my own programs.
I've written a very simple sketch:
Code: Select all
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin
pinMode(9, OUTPUT);
Serial.begin(115200);
Serial.println("Start..");
}
// the loop function runs over and over again forever
void loop() {
Serial.println("Pouet");
digitalWrite(9, HIGH); // turn the LED on (HIGH is the voltage level)
delay(100); // wait
digitalWrite(9, LOW); // turn the LED off by making the voltage LOW
delay(100); // wait
}
which is supposed to blink and print stuff. However when I upload it to the ESP, nothing happens.
After poweroff/power on, I get watchdogs error:
Code: Select all
ets Jan 8 2013,rst cause:4, boot mode:(3,5)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld
Are there any parameters that could be set wrong when building the sketch that would explain this behaviour ?
Thanks.