Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By sumotoy
#35907 Are you using the last 2.0rc2 ESP8266 arduino?
I have 2 nodemcu modules running from 4 days already, no problem, but another user had similar problems to yours and was an SPI speed issue, don't ask me why but some module cannot run at full SPI speed.
So download the new version I just posted and in settings file you need to change the SPI speed from 80000000UL to 8000000UL and try again.
User avatar
By micropet
#35909 Hi,

I always use the latest version of iggrs Github and have just installed your current version.

#define _ESP8266MAXSPISPEED 8000000UL I just tried.

Unfortunately, the board will boot every 5 seconds with the following message:

  ets January 8, 2013, RST cause: 4, bootmode: (3.6)

WDT reset
Load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ ld

or:


Exception (0):
epc1=0x40201c55 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: cont
sp: 3fff0b20 end: 3fff0e90 offset: 01a0

>>>stack>>>
3fff0cc0: 3ffeacec 7fffffff 3ffefd98 402035d4
3fff0cd0: 3ffefd48 00000032 3ffefd98 40202977
3fff0ce0: 00000009 00000008 00000002 00000002
3fff0cf0: 00000032 000000ff 00000034 3fffc200
3fff0d00: 00000008 00000000 53000000 00000000
3fff0d10: 40201c2e 00000030 0000001b 00000006
3fff0d20: 3ffefd48 00000004 00000001 40202ed0
3fff0d30: 00000032 3fff0d80 00000002 00000002
3fff0d40: 00000008 00000002 00000001 60000100
3fff0d50: 00040000 00000000 00000000 3fff0d80
3fff0d60: 00000002 00000006 3ffefd48 40203010
3fff0d70: 00000002 00000000 3ffefe60 00000030
3fff0d80: 00000001 00000001 00000000 00000000
3fff0d90: 00000000 00000001 00000000 00000002
3fff0da0: 00000032 3fff0d80 3ffe961c 00000007
3fff0db0: 0000008a 0000000c 00000000 3ffefd98
3fff0dc0: 3ffe99e8 3ffefd48 3ffefd98 3ffefd98
3fff0dd0: 3ffe8494 00000006 3ffefd48 40203354
3fff0de0: 00000028 00000001 00000002 4020344e
3fff0df0: 3ffe8494 3ffefd48 0000000c 4020344e
3fff0e00: 3ffe8494 00000001 00000000 3ffefe60
3fff0e10: 3fffdc20 0000000c 00000002 3ffefe60
3fff0e20: 3fffdc20 3ffe8494 0000000c 402034ba
3fff0e30: 3ffe99e8 3ffefd98 3ffefd48 40203d39
3fff0e40: 3ffe8494 00000001 3ffefd48 40204020
3fff0e50: 3fffdc20 00000000 3ffefd48 40204085
3fff0e60: 3fffdc20 3ffe8494 3ffefd48 402018a4
3fff0e70: 00000000 00000000 3ffefe58 402035a0
3fff0e80: 00000000 00000000 3ffefe70 40100114
<<<stack<<<


Peter