-1

I have connected my ESP8266 through FTDI USB cable and when I try to run the sketch for connecting local WIFI network it displays:

ESP8266 is getting external power.

RX - TX or connected to TX RX of FTDI.

I was using the code from https://www.openhomeautomation.net/getting-started-esp8266

ts Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1264, room 16 
tail 0
chksum 0x42
csum 0x42
~ld

However, when I run the wifi Scan Sketch from the sample program it works perfectly I can see all the wifi connections around my location.

Can anyone guide me on this? Am I missing some thing or this could be problem with my WIFI modem ?

Thanks for the response. I am using the below code

    // Import required libraries
#include "ESP8266WiFi.h"
// WiFi parameters
const char* ssid = "your_wifi_name";
const char* password = "your_wifi_password";
void setup(void)
{ 
// Start Serial
Serial.begin(115200);
// Connect to WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
// Print the IP address
Serial.println(WiFi.localIP());
}
void loop() {
}

Thanks

Niamath

  • Ow my eyes, please don't use caps in the question. Owwww. – Bradman175 Aug 16 '16 at 11:12
  • This doesn't appear to be about Arduinos and therefore should be in SE.EE. – Code Gorilla Aug 16 '16 at 12:07
1

The clue here is in the messages it gives you:

wdt reset

You are doing something that is taking longer than the watchdog timeout - be that a while(), for() or whatever.

If you have to block for that long polling for something then you have to a) kick the dog, and b) perform the required periodical tasks, by calling esp_schedule().

  • Thanks for your response, I have updated the post with the code. – syed niamath Aug 16 '16 at 12:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.