• Thanks, very handy the .bat files. I followed the procedure with no change in speed. I placed the files in the "espruino_1v95_esp8266" directory. I ran info, erase and flash batch files.

    C:\Users\Pok\myfolder\esp\tools\espruino_1v95_esp8266>esptool.py --port COM20 --
    baud 115200 --no-stub chip_id
    esptool.py v2.0.1
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266
    Enabling default SPI flash mode...
    Chip ID: 0x000e9f1c
    Hard resetting...
    
    C:\Users\Pok\myfolder\esp\tools\espruino_1v95_esp8266>esptool.py --port COM20 --
    baud 115200 --no-stub read_mac
    esptool.py v2.0.1
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266
    Enabling default SPI flash mode...
    MAC: 2c:3a:e8:0e:9f:1c
    Hard resetting...
    
    C:\Users\Pok\myfolder\esp\tools\espruino_1v95_esp8266>esptool.py --port COM20 --
    baud 115200 --no-stub flash_id
    esptool.py v2.0.1
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266
    Enabling default SPI flash mode...
    Manufacturer: ef
    Device: 4016
    Detected flash size: 4MB
    Hard resetting...
    
    C:\Users\Pok\myfolder\esp\tools\espruino_1v95_esp8266>esptool.py --port COM20 er
    ase_flash
    esptool.py v2.0.1
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266
    Uploading stub...
    Running stub...
    Stub running...
    Erasing flash (this may take a while)...
    Chip erase completed successfully in 7.4s
    Hard resetting...
    
    C:\Users\Pok\myfolder\esp\tools\espruino_1v95_esp8266>esptool.py --port COM20 --
    baud 115200 write_flash --flash_freq 40m --flash_mode qio --flash_size 4MB 0x000
    0 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x3FC000 esp_init_data_defau
    lt.bin 0x3FE000 blank.bin
    esptool.py v2.0.1
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266
    Uploading stub...
    Running stub...
    Stub running...
    Configuring flash size...
    Flash params set to 0x0040
    Compressed 3856 bytes to 2763...
    Wrote 3856 bytes (2763 compressed) at 0x00000000 in 0.2 seconds (effective 124.4
     kbit/s)...
    Hash of data verified.
    Compressed 456756 bytes to 320993...
    Wrote 456756 bytes (320993 compressed) at 0x00001000 in 28.3 seconds (effective
    129.1 kbit/s)...
    Hash of data verified.
    Compressed 128 bytes to 75...
    Wrote 128 bytes (75 compressed) at 0x003fc000 in 0.0 seconds (effective 78.8 kbi
    t/s)...
    Hash of data verified.
    Compressed 4096 bytes to 26...
    Wrote 4096 bytes (26 compressed) at 0x003fe000 in 0.0 seconds (effective 4095.8
    kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting...
    

    I replugged and reflashed the WSdesp8266C. It does not go faster than before.

     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v95 Copyright 2017 G.Williams
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    Flash map 4MB:512/512, manuf 0xef chip 0x4016
    >Start connection process
    Try Connecting to WiFi  Gardening, cheaper than therapy
    =undefined
    Test for error
    Test for error
    Test for error
    null
    connected? err= null info= {
      "ip": "192.168.2.5",
      "netmask": "255.255.255.0",
      "gw": "192.168.2.1",
      "mac": "2c:3a:e8:0e:9f:1c"
     }
    Wi-Fi Connected
    >
    =undefined
    n= 4 t: 0.018 sec
    n= 3 t: 1.688 sec
    [WS] "2048"
    n= 2 t: 3.165 sec
    [WS] "4096"
    n= 1 t: 4.655 sec
    [WS] "6144"
    n= 0 t: 6.156 sec
    [WS] "8192"
    n= 0 t: 6.159 sec
    n= 3 t: 7.659 sec
    [WS] "10240"
    n= 2 t: 9.126 sec
    [WS] "12288"
    n= 1 t: 10.600 sec
    [WS] "14336"
    n= 0 t: 12.089 sec
    [WS] "16384"
    n= 0 t: 12.091 sec
    n= 3 t: 13.568 sec
    [WS] "18432"
    n= 2 t: 15.080 sec
    [WS] "20480"
    n= 1 t: 16.564 sec
    

    1 Attachment

    • photo (3).JPG
About

Avatar for Polypod @Polypod started