Soft restart error
Posted: Mon Apr 15, 2019 6:23 pm
Hi Folks,
I've been working with a Wemos D1 Mini on a small (spare time) project for a few months, developing on ESPlorer, both OS X and Win 10. I'm super impressed with the NodeMCU Lua firmware. I've generally been able to do a restart by using the 'Reset' button in ESPlorer, which I understand sends node.restart(). However, recently this hasn't been working, and I've had to use the hardware reset button instead. I can't identify what has caused it and am hoping someone give me a pointer on where to look further. The serial output is as follows:
I've tried re-flashing the firmware (a freshly built version), and also looking through the firmware code for 'restprint'. Could anyone suggest a tip on where I should look or what to try next?
Kind Regards,
Alistair
I've been working with a Wemos D1 Mini on a small (spare time) project for a few months, developing on ESPlorer, both OS X and Win 10. I'm super impressed with the NodeMCU Lua firmware. I've generally been able to do a restart by using the 'Reset' button in ESPlorer, which I understand sends node.restart(). However, recently this hasn't been working, and I've had to use the hardware reset button instead. I can't identify what has caused it and am hoping someone give me a pointer on where to look further. The serial output is as follows:
Code: Select all
NodeMCU custom build by frightanic.com
branch: master
commit: 4905381c004bdeaf744a60bb940c1906c2e052d4
SSL: false
modules: adc,cron,file,gpio,net,node,pcm,rotary,rtctime,sntp,spi,struct,tmr,u8g2,uart,wifi
build created on 2019-04-15 02:03
powered by Lua 5.1.4 on SDK 2.2.1(6ab97e9)
lua: cannot open init.lua
> Soft restart by user command
print(uart.setup(0, 115200, 8, 0, 1, 1 ))
stdin:1: attempt to call field 'restprint' (a nil value)
stack traceback:
stdin:1: in main chunk
>
I've tried re-flashing the firmware (a freshly built version), and also looking through the firmware code for 'restprint'. Could anyone suggest a tip on where I should look or what to try next?
Kind Regards,
Alistair