Communication with MCU...
Got answer! AutoDetect firmware...
NodeMCU firmware detected.
=node.heap()
45072
local FILE="script1.lua" file.remove(FILE) file.open(FILE,"w+") uart.setup(0,115200,8,0,1,0)
> >> > > > > > > > > > > > > > > > > > >
--Done--
>
>
> dofile "script1.lua"
3795
1234567890...12345
END off programm
> =node.heap()
40528
> node.compile'script1.lua'
> =file.list()['script1.lc']
508
> dofile "script1.lc"
3795
1234567890...12345
END off programm
> buff1=nil
> =node.heap()
44248
Sigggghhh.
Here is my state:
ESP8266-12E/32Mbit
GPIO0 PullUp 10k
GPIO2 PullUp 10k
Reset PullUp 10k
Ch-Pd PullUp 10k
RX PullUp 10k
GPIO15 PullDown 10k
GPIO16 to Reset 330R
Vcc to GND 100uF tantalum + 6,8uF tantalum on pins
Reset to GND 100nF
Good power and FTDI USB/RS232
And here is ESPlorer log:
file.format()
format done.
>
----------------------------
No files found.
----------------------------
>
Total : 3426401 bytes
Used : 0 bytes
Remain: 3426401 bytes
> Uploading to ESP file PictureWeb17.lua...Success
>
----------------------------
PictureWeb17.lua : 5358 bytes
----------------------------
Total file(s) : 1
Total size : 5358 bytes
Total : 3426401 bytes
Used : 5773 bytes
Remain: 3420628 bytes
> node.compile("PictureWeb17.lua") -- first problem, node.compile() crashed
ş‰€šů¤…üâ°lněµ˙ę
----------------------------
PictureWeb17.lua : 5358 bytes
----------------------------
Total file(s) : 1
Total size : 5358 bytes
Total : 3426401 bytes
Used : 5773 bytes
Remain: 3420628 bytes
> dofile("PictureWeb17.lua") -- second problem, dofile() crashed too
¨{@šś‹Ôţt’)ŐQs˙µ˙ő
NodeMCU custom build by frightanic.com
branch: master
commit: c8037568571edb5c568c2f8231e4f8ce0683b883
SSL: false
modules: adc,bit,bmp085,dht,enduser_setup,file,gpio,i2c,net,node,pwm,tmr,uart,wifi
build built on: 2016-03-22 07:19
powered by Lua 5.1.4 on SDK 1.4.0
lua: cannot open init.lua
>