So you're a Noob? Post your questions here until you graduate! Don't be shy.
User avatar
By KurtMPU
#73918 Hello to all,
I have some problems to install software using ARDUINO IDE.
I use a nodemcu CH340G. I always have problems to execute the software.
I flashed the firmware : nodemcu_float_0.9.6-dev_20150704.bin --> this works perfect!!!
On the arduino IDE I selected nodeMCU 0.9 (ESP-12 Module).
then I compiled and loaded a program to the MCU.

writing flash
................................................................................ [ 31% ]
................................................................................ [ 62% ]
................................................................................ [ 93% ]
................ [ 100% ]
starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete

it seems evry thing is ok.
When I reboot the MPU the blue lihgt is flashing.
buuuut!!!!
there is only a funny output on the com-port:

ets Jan 8 2013,rst cause:4, boot mode:(3,1)

wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v4ceabea9
~ld


Whats happend?
I would be happy to get an answer soon.
Thanks
User avatar
By btidey
#73939 The output you are seeing is the chip resetting due to a problem.

In this case it appears to be triggered by the built in watchdog timer. This can happen if there is a delay in your program that then prevents the background tasks from executing. One should normally aim to have the loop in the sketch cycle in under a second as the background tasks are then given CPU time.

You need to post the code you are trying to run to get more specific help.