• I am having a similar problem with a NodeMCU. I tried the line in (post 8) that helped the topic starter, but to no avail.

    1. Flashing seems to go fine (see bottom of this post)
    2. I can sometimes access the Espruino prompt in Putty (1 out of 3 or 4 tries)
    3. I never see a prompt in Espruino

    When I click the connect button in Espruino and choose the COM port, then I see the following in the IDE:

    • an orange box with text "Disconnected"
    • a line with some garbage text "0 ű‚Á"
    • a red box with text "Unable to retrieve board information. Connection error?"
    • a green box with text "Connected to CO4 (no response from board)"

    Here is my line that I use for flashing:

    esptool.py.exe --port COM4 --baud 115200 write_flash --flash_size=detect -fm dio 0 .\espruino_1v99_esp8266_4mb_combined_409­6.bin
    

    And here are the flash results:

    esptool.py v2.5.1
    Serial port COM4
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266EX
    Features: WiFi
    MAC: 18:fe:34:e1:a4:16
    Uploading stub...
    Running stub...
    Stub running...
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Flash params set to 0x0240
    Compressed 4194304 bytes to 353773...
    Wrote 4194304 bytes (353773 compressed) at 0x00000000 in 31.7 seconds (effective 1058.0 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    

    I can upload any Arduino sketch that I have to this module (NodeMCU from Amica), and they all work as expected. So, I think the module is fine. I don't have any others to try right now.

    Any help is appreciated

  • I am having a similar problem with a NodeMCU. I tried the line in (post 8) that helped the topic starter, but to no avail.

    I have the same problem on the same ESP8266 V2 (NodeMCU from Amica) board.
    I tried all the versions firmware but I can not find a solution to the problem.

    Under the esplorer and ardiono IDE board works great.

    I have been using ESP32s (dev kit1) with ESPriino for a long time and have not seen such problems.

    port speed: 115200 (I tried different 9600-115200)

    *** To flash a 4MB esp8266 (e.g. esp-12) using the serial port use:

    esptool.py --port COM4 --baud 115200 write_flash --flash_freq 80m --flash_mode qio --flash_size 4MB 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
    

    *** To flash a 4MB eps866 with Flash map 4MB:1024/1024 (BOARD=ESP8266_4MB)

    esptool.py --port COM4 --baud 460800 write_flash --flash_freq 80m --flash_mode qio --flash_size 4MB-c1 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000  esp_init_data_default.bin 0x3FE000 blank.bin
    

    *** http://forum.espruino.com/comments/14448­403/

    esptool.py --port COM4 --baud 460800 write_flash --flash_size=detect -fm dio 0 .\espruino_1v99_esp8266_4mb_combined_409­6.bin
    

    1 Attachment

    • Capture.JPG2131313131.JPG
About

Avatar for Bubastic @Bubastic started