- Mon Jan 23, 2017 7:03 pm
#61442
Hi, I hope you are getting your problem sorted. I cannot help you, I'm afraid, but it's comforting to know I'm not suffering alone, haha.
I obtained a couple of firmware images today, courtesy of the brilliant "cloud-build" service, but I have been unable to get them to work. I think I've done all the right things, but as a noob, who knows?
Setup: NodeMCU devkit 0.9 (the older, wider one, but still 4 Mb)
Cloud build firmware: Obtained today, 23/1/2017. As well as my custom build (14 modules - dev branch) I also downloaded the "default" master build, just to have something standard to test with.
I have used the command line:
xxx@newbie:~/ESPstuff/Firmware$ sudo python ../esptool/esptool.py --port /dev/ttyUSB1 write_flash -fm dio -fs 32m 0x00000 ./nodemcu-master-7-modules-2017-01-23-10-06-11-float.bin 0x3fc000 ./esp_init_data_default.binI always erase the flash before writing.
The write seems to go OK, flashing its percentages until done, and then outputs this:
esptool.py v1.3-dev
Connecting...
Couldn't connect. [<class '__main__.FatalError'>; Timed out waiting for packet header]. Retrying...
Running Cesanta flasher stub...
Flash params set to 0x0240
Wrote 430080 bytes at 0x0 in 37.3 seconds (92.3 kbit/s)...
Wrote 4096 bytes at 0x3fc000 in 0.4 seconds (89.6 kbit/s)...
Leaving...Which seems reasonable.
However, when I try to connect all I get is a short stream of garbage, almost like it's not initialising properly. I am using the esp_init_data_default.bin file recommended. Here's a sample output on rebooting in ESPlorer:
PORT OPEN 9600
Communication with MCU..Got answer! Communication with MCU established.
AutoDetect firmware...
Can't autodetect firmware, because proper answer not received (may be unknown firmware).
Please, reset module or continue.
lbC�ȶ��p$>d�42h��K4��n�J�g��L��.�)�@���
I should add that if I flash my previous firmware (nodemcu_float_0.9.6-dev_20150704.bin) on at any stage, with or without erasing it works just fine. Incidentally I don't use any -fs or -fm flags when I flash this one, just a straight write to 0x0000.
I can't really see anything else I should be doing, I've read up all I could find, would be nice to get this one sorted...
Last edited by alex_g on Mon Jan 23, 2017 7:20 pm, edited 1 time in total.