# NodeMCU ESP8266-12E Flashing Espurino #5890
Replies: 1 comment
-
Posted at 2017-10-12 by Wilberforce It appears to me that the qio is documented here already? http://www.espruino.com/ESP8266_Flashing Perhaps the initial page on the esp8266 docs could contain flashing info? Posted at 2017-10-13 by @gfwilliams Does There are also the 'combined' images that are super-easy to flash, and don't need the erase (because they just overwrite the whole memory area). Personally I'd suggest using them for beginners - they're slower to flash but there's very little to go wrong Posted at 2017-10-13 by stevo Apologies, I think the way I formatted the post's text made it difficult to see the command line code underneath 'Run write_flash command:' The correct setting for this board: Posted at 2017-10-13 by stevo I saw the combined images and wasn't sure how to flash them to the device without digging into esptool documentation. Could you provide example command or link to one? Posted at 2017-10-17 by Antoine I have the exact same issue with a set of new nodemcu :( Fist I had a lot of kernel panic on my mac due to a faulty driver. I had to reinstall my system. Now the espruino IDE is not communicating with the board :'(
I have an other nodeMcu board that's working perfectly (I guess it's an other model) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-12 by stevo
NodeMCU ESP8266-12E Flashing Espruino
This is still a work in progress. Posting here hopefully with all exact error messages that were gotchas for me so it can be found more easily. More likely, I'll publish a github project to keep track of NodeMCU flashing info for Espruino and otherwise specific to this make/model.
Thanks to the Espruino forum admins to let use third-party board users have a lil' space on their forum to discuss this. I must mention, it seems if you want to use javascript on a microcontroller the best way to go is a genuine Espruino board NodeMCU and the like will likely take a lot of your free time for a couple weeks to get things working the way you thought they would :D
On with it then below you'll find:
ESP8266 Model Info
Results of esptool's flash_id:
This is what I bought: HiLetgo New Version ESP8266 NodeMCU LUA CP2102 ESP-12E Internet WIFI Development Board Open source Serial Wireless Module Works Great with Arduino IDE/Micropython
Flashing Espruino Firmware
erase_flash
command./dev/
is specific to macOSI don't believe it matters if you use
/dev/cu.*
or/dev/tty.*
SLAB_USBtoUART
is what shows up for me your's may be different. I'll add directions to figure this out when I get to it :DDisconnect/Reconnect USB from device. (I haven't tested this to see if it's necessary)
Run
write_flash
command:esptool.py --port /dev/cu.SLAB_USBtoUART --baud 115200 write_flash --verify --flash_freq 80m --flash_mode dio --flash_size 32m 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x37E000 blank.binaries
dio
to flash the device properly. -- Below, @gfwilliams mentions that some other boards are able to handleqio
and those boards can use it '...for faster access'.Common Errors
Using
qio
option when running thewrite_flash
command to flash the firmware:Beta Was this translation helpful? Give feedback.
All reactions