You are reading a single comment by @ClearMemory041063 and its replies. Click here to read the full conversation.
  • I just flashed the same type of chip using this batch file a couple of days ago.

    :: Flash ESP8288-12 4MB chip with Espruino
    :: CD C:\Users\jj\Documents\espruinoEsp8266Fla­sh\espruino_1v95_esp8266
    set /p pport=Enter a Com port 
    echo %pport%
    pause
    esptool.py --port %pport% --baud 115200 write_flash --flash_freq 40m --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
    pause
    
    :: To flash a 4MB esp8266 (e.g. esp-12) using the serial port use:
    :: esptool.py --port [/dev/ttyUSB0|COM1] --baud 115200 write_flash \
    ::  --flash_freq 80m --flash_mode qio --flash_size 32m \
    ::  0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin \
    ::  0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
    

    Give that a try.
    If you get Espruino up and running then in the left window of WebIDE try to following commands:

    require("ESP8266).getFreeFlash()

    and then

    process.env

About