Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By hughanderson
#26117 Hi,
I posted this on another forum, but realized it probably should be here instead. Sorry for similar postings.

When I run the ESP8266 example webservers from the Arduino IDE they mostly work fine.
However, if I run nmap against the particular ESP8266 unit with the webserver, it ends up doing a wdt reset.
I have seen the behaviour on NodeMCU v1.0, and the Huzzah boards, and using a range of
sample code based on that provided in the examples directory, as well as the examples themselves.

To duplicate the issue, flash the Examples/ESP8266WebServer/HelloServer, with an appropriate ssid and password.
In my case the access point allocates 192.168.2.205. To demonstrate the reset, use nmap, the network mapper utility:

Code: Select all   nmap 192.168.2.205

The ESP8266 will, after 4 seconds, respond with something like:

Code: Select all   ets Jan  8 2013,rst cause:4, boot mode:(3,7)
   wdt reset
   load 0x4010f000, len 1264, room 16
   tail 0
   chksum 0x42
   csum 0x42
   ~ld

Can others confirm this behaviour, and suggest what might be happening?
Cheers Hugh
User avatar
By martinayotte
#26167 Interestingly, I can reproduce the issue with a TCPServer (Telnet).
And to figure out if it is SDK issue, I've put back and AT firmware on a module, and I was not able to reproduce while having a TCP Server executed with AT commands.
So, it is really a bug in ArduinoIDE code that probably IGRR should investigate.