boostar
February 17, 2020, 9:58pm
1
Hi all,
first, thanks for wled looks like i’v ever looked for.
but i cant use it for now because I get a bootloop when I change #define DATAPIN to something else like 2
I tried every combination of Lwip, Arduino Core or Flash Size. No Luck, when is change DATAPIN my esp8266 (on a devboard nodemuc) quits with:
stack>>>
ctx: cont
sp: 3ffffd40 end: 3fffffc0 offset: 01a0
3ffffee0: 00164c3d 00000000 401002e4 3fff1260
3ffffef0: 3fffff40 3fffff4c 00000000 40217853
3fffff00: 00000050 3fff1247 3fffff40 40222f24
3fffff10: 3ffe9ffa 3ffe9ff6 3fffff40 3fff1070
3fffff20: 3ffe9ffa 3ffe9ff6 3fff1260 402178b4
3fffff30: 3fff1075 3fff1247 3fff1260 40212150
3fffff40: 00706374 00000000 00c6a7f0 64656c77
3fffff50: 00000000 00216d08 401002e4 3fff1070
3fffff60: 3fff1075 3fff106f 00000000 402123a6
3fffff70: 00000000 3fff1454 40223eb8 3fffefa0
3fffff80: 3fffdad0 00000000 3fff1424 3fff1454
3fffff90: 3fffdad0 00000000 3fff1424 40214c19
3fffffa0: 3fffdad0 00000000 3fff1424 40223f68
3fffffb0: feefeffe feefeffe 3ffe8800 401006ad
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
Ada
Hi, what is the new datapin you are trying to use? It might be a pin not allowed for use (because internal flash is connected), or it is a pin used by another WLED feature.
boostar
February 18, 2020, 4:51pm
3
Hi, thanks for reply.
I tried Pin 3 and pin 13
Hmm, both these pins should work without issues… Clock pin is still GPIO0?
I will take a look at what’s wrong!
boostar
February 18, 2020, 10:47pm
5
Clock is set to 14, but this also Happens when clock is set to 2.
Hi @boostar , unless you did change the line 24 in NpbWrapper.h from
#define CLKPIN 0
to any other value, you stick with GPIO. SCLK on GPIO is for SPI and not used.
Is there a reason why you move away from DATA = 2 and CLOCK = 0 ?
boostar
February 19, 2020, 8:04am
7
Hi…
No… there is no Special reason.
I think its because these were the default pins from a Sketch I used before.
I can change it, thats no Problem but i just to warnt to Report that because it could be a bug…
boostar
February 20, 2020, 10:48pm
8
Hi,
I changed to pin 0 and 2 today. Works great.
Thanks a lot for wled, looks like it will make fun.
Hi I just tested pin 13 and pin 14 again and they work are great now