WeMos D1 mini clone
Posted: Tue Oct 18, 2016 1:48 am
I got a few D1 clones https://www.aliexpress.com/item/5sets-D ... 26305.html and cant get the Arduino IDE to flash a working sketch to them. The flash looks to complete without error but on a reset they go into a bootloop with the following error:
But if I reflash NodeMCU to the units I can get Lua scripts to run so the modules seem fine:
I have tried different modules/speeds/settings but nothing seems to work to get an arduino script ro work
thanks
Charles
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
Exception (28):
epc1=0x4021454a epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
ctx: sys
sp: 3ffffa70 end: 3fffffb0 offset: 01a0
>>>stack>>>
3ffffc10: 00000000 ffffffff ffffffff ffffffff
3ffffc20: ffffffff ffffffff ffffffff ffffffff
3ffffc30: ffffffff 000001ff ffffff04 ffff0001
3ffffc40: 0000000e 65756c42 65687445 65542072
3ffffc50: ef006863 efeffefe efeffefe efeffefe
3ffffc60: efeffefe 6c697769 746f6e6c 65766967
3ffffc70: 6d756f79 79656b79 1004d800 201afe40
3ffffc80: ff09c440 ff09943f 201c7c3f 01c20040
3ffffc90: 00001c00 00000300 ff09ac00 efeffe3f
3ffffca0: efeffefe ffffffff ffffffff ffffffff
3ffffcb0: ffffffff ffffffff ffffffff ffffffff
3ffffcc0: ffffffff ffffffff ffffffff ffffffff
3ffffcd0: ffffffff ffffffff ffffffff ffffffff
3ffffce0: ffffffff ffffffff ffffffff ffffffff
3ffffcf0: ffffffff ffffffff ffffffff ffffffff
3ffffd00: ffffffff ffffffff ffffffff ffffffff
3ffffd10: ffffffff ffffffff ffffffff ffffffff
3ffffd20: ffffffff ffffffff ffffffff ffffffff
3ffffd30: ffffffff ffffffff ffffffff ffffffff
3ffffd40: ffffffff ffffffff ffffffff ffffffff
3ffffd50: ffffffff ffffffff ffffffff ffffffff
3ffffd60: ffffffff ffffffff ffffffff ffffffff
3ffffd70: ffffffff ffffffff ffffffff ffffffff
3ffffd80: ffffffff ffffffff ffffffff ffffffff
3ffffd90: ffffffff ffffffff ffffffff ffffffff
3ffffda0: ffffffff ffffffff ffffffff ffffffff
3ffffdb0: ffffffff ffffffff ffffffff ffffffff
3ffffdc0: ffffffff ffffffff ffffffff ffffffff
3ffffdd0: ffffffff ffffffff ffffffff ffffffff
3ffffde0: ffffffff ffffffff ffffffff ffffffff
3ffffdf0: ffffffff ffffffff ffffffff ffffffff
3ffffe00: ffffffff ffffffff ffffffff ffffffff
3ffffe10: ffffffff ffffffff ffffffff ffffffff
3ffffe20: ffffffff ffffffff ffffffff ffffffff
3ffffe30: ffffffff 04080000 001c110c 01010000
3ffffe40: ffffffff 00000003 ffffff00 ffffffff
3ffffe50: ffffffff ffffffff ffffffff ffffffff
3ffffe60: ffffffff ffffffff ffffffff ffff0064
3ffffe70: ffffffff ffffffff ffffffff ffffffff
3ffffe80: ffffffff ffffffff ffffffff ffffffff
3ffffe90: ffffffff ffffffff ffffffff ffffffff
3ffffea0: ffffffff ffffffff ffffffff ffffffff
3ffffeb0: ffffffff ffffffff ffffffff ffffffff
3ffffec0: ffffffff ffffffff ffffffff ffffffff
3ffffed0: ffffffff ffffffff ffffffff ffffffff
3ffffee0: ffffffff ffffffff ffffffff ffffffff
3ffffef0: ffffffff ffffffff ffffffff ffffffff
3fffff00: ffffffff ffffffff ffffffff ffffffff
3fffff10: ffffffff ffffffff ffffffff ffffffff
3fffff20: ffffffff ffffffff ffffffff ffffffff
3fffff30: ffffffff ffffffff ffffffff ffffffff
3fffff40: ffffffff ffffffff ffffffff ffffffff
3fffff50: ffffffff ffffffff ffffffff ffffffff
3fffff60: ffffffff ffffffff ffffffff ffffffff
3fffff70: ffffffff ffffffff ffffffff ffffffff
3fffff80: ffffffff ffffffff ffffffff ffffffff
3fffff90: ffffffff 2fd08f3d fd7cc865 08a2bbd5
3fffffa0: 400201e9 fb5a45f5 ffffff00 55aa55aa
<<<stack<<<
But if I reflash NodeMCU to the units I can get Lua scripts to run so the modules seem fine:
Code: Select all
NodeMCU 0.9.5 build 20150318 powered by Lua 5.1.4
lua: cannot open init.lua
> function listap(t)
>> for ssid,v in pairs(t) do
>> authmode, rssi, bssid, channel =
>> string.match(v, "(%d),(-?%d+),(%x%x:%x%x:%x%x:%x%x:%x%x:%x%x),(%d+)")
>> print(ssid,authmode,rssi,bssid,channel)
>> end
>> end
> wifi.sta.getap(listap)
> SPARK-TGN3LV 4 -84 f8:23:b2:6d:44:c4 8
BlueEther Tech 4 -56 c8:0e:14:42:30:88 12
I have tried different modules/speeds/settings but nothing seems to work to get an arduino script ro work
thanks
Charles