As the title says... Chat on...

User avatar
By Jack Massey
#16782 Hi everyone,

I've recently acquired a NodeMCU V2 from seeed and following an attempt to flash the firmware from here:

https://github.com/Dejvino/nodemcu-firmware

onto the node I am not getting any response. I have also tried to reset it by flashing the code from here:

https://github.com/nodemcu/nodemcu-firmware

This is the process I used for flashing on linux can you let me know if I did anything wrong?

1. cd pre_build/latest
2. Hold down flash on the NodeMCU V2 and plug in.
3. esptool.py write_flash 0x00000 nodemcu_latest.bin (sudo doesn't help)
4. Reset button

When connecting to the serial I get something along the lines of:
" �n?�$ !��A_'U��I"
and no other response.

I have also tried building the firmware using the sdk from:
https://github.com/pfalcon/esp-open-sdk
which took a really long time and produced the same results.

I have also tried the latest integer version from:
https://github.com/nodemcu/nodemcu-firm ... v_20150406
and produced the same results.

What am I missing?

Thank you.
User avatar
By savitapio
#16955 I think I have the exact same issue.
what will you get from boot sequence on serial (74880 baud) (hit reset)

I'll get this:
load 0x40100000, len 30452, room 16
tail 4
chksum 0xef
load 0x33333333, len 858993459, room 4

and it hangs.
tried to flash older firmwares but it does not help.
User avatar
By cal
#17001
savitapio wrote:I think I have the exact same issue.
what will you get from boot sequence on serial (74880 baud) (hit reset)

I'll get this:
load 0x40100000, len 30452, room 16
tail 4
chksum 0xef
load 0x33333333, len 858993459, room 4

and it hangs.
tried to flash older firmwares but it does not help.


Moin,

do these numbers change after burning a new firmware?
That looks like a damaged firmware to me.
If you get always the same numbers you didn't change the firmware.

Cal
User avatar
By Lenbok
#20301
Jack Massey wrote:1. cd pre_build/latest
2. Hold down flash on the NodeMCU V2 and plug in.
3. esptool.py write_flash 0x00000 nodemcu_latest.bin (sudo doesn't help)
4. Reset button


I just got the R2 board, and after looking at http://www.electrodragon.com/w/ESP8266_NodeMCU_Dev_Board#NodeMCU_1.0_.28ESP-12E.29 I added the -fm and -fs arguments to the esptool command, which worked, e.g:

$ esptool.py --port /dev/ttyUSB0 write_flash -fm dio -fs 32m 0x00000 nodemcu_float_0.9.6-dev_20150406.bin

The uploaded firmware now responds nicely. Now I need to work out how to the the equivalent changes to my code that uses the arduino-IDE