Avatar for Neptune443

Neptune443

Member since Oct 2018 • Last active Oct 2018
  • 1 conversations
  • 5 comments

Most recent activity

  • in ESP8266
    Avatar for Neptune443

    Finally got it!!! YiiiiiHaaaa!!!!

    python ..\code\esptool\esptool.py --port COM5 --baud 460800 write_flash --flash_size=detect -fm dio 0 .\espruino_1v99_esp8266_4mb_combined_409­6.bin
    
  • in ESP8266
    Avatar for Neptune443

    I use the CH340 USB to serial driver (COM5:)

    I've installed python and esptool.py. I've used this to flash ESP8266 boards for microPython and that works fine.

    PS C:\Users\me\OneDrive\Documents\esp8266\E­SPruino> python ..\code\esptool\esptool.py --port COM5 --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
    WARNING: Flash size arguments in megabits like '32m' are deprecated.
    Please use the equivalent size '4MB'.
    Megabit arguments may be removed in a future release.
    esptool.py v2.3-dev
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266EX
    Uploading stub...
    Running stub...
    Stub running...
    Configuring flash size...
    Flash params set to 0x004f
    Compressed 3856 bytes to 2763...
    Wrote 3856 bytes (2763 compressed) at 0x00000000 in 0.3 seconds (effective 123.2 kbit/s)...
    Hash of data verified.
    Compressed 509332 bytes to 340820...
    Wrote 509332 bytes (340820 compressed) at 0x00001000 in 30.1 seconds (effective 135.6 kbit/s)...
    Hash of data verified.
    Compressed 128 bytes to 75...
    Wrote 128 bytes (75 compressed) at 0x003fc000 in 0.0 seconds (effective 78.7 kbit/s)...
    Hash of data verified.
    Compressed 4096 bytes to 26...
    Wrote 4096 bytes (26 compressed) at 0x003fe000 in 0.0 seconds (effective 3647.9 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    PS C:\Users\me\OneDrive\Documents\esp8266\E­SPruino> putty
    

    From putty I am trying to connect to the board directly with 115200 baud and then I power cycle it and try again. After that I attempt the Espruino Web IDE with 115200 baud.

    I have also tried this esptool.py line:

    python ..\code\esptool\esptool.py --port COM5 --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
    

    which flashes the board, also tried this one:

    python ..\code\esptool\esptool.py --port COM5 --baud 115200 write_flash --flash_freq 40m --flash_mode qio --flash_size 4m 0x0000 "boot_v1.6.bin" 0x1000 espruino_esp8266_user1.bin 0x7C000 esp_init_data_default.bin 0x7E000 blank.bin
    

    but that one says: Detected overlap at address: 0x7c000 for file ...

    I have tried these versions, in order, with both working esptool.py lines above:
    1) https://www.espruino.com/binaries/esprui­no_1v99_esp8266_4mb/
    2) https://www.espruino.com/binaries/esprui­no_1v99_esp8266/
    3) https://www.espruino.com/binaries/esprui­no_1v98_esp8266_4mb/
    4) https://www.espruino.com/binaries/esprui­no_1v95_esp8266_4mb/

    Still no console in putty or the Web IDE

  • in ESP8266
    Avatar for Neptune443

    It is an AI Thinker ESP-12F (ESP8266) device. Do the flashing addresses match this device? How can I find out what the addresses should be?

  • in ESP8266
    Avatar for Neptune443

    I am using Windows 10 and tried a serial connection in putty every time as well after flashing the device.

    Yes I verified the baud rate both in the Espruino web ide and in putty.
    And after every time I flashed the device I tried to connect with both the web IDE and a serial connection in putty and then power cycle the device (disconnect from the usb). Still nothing. I am assuming that I am getting the wrong addresses in the flashing process but I have tried every set of addresses I have seen. I have not tried to downgrade the version though. Will try that.

  • in ESP8266
    Avatar for Neptune443

    Hi, I am brand new at this.

    I can't get started. Flashing seems OK, well from esptool.py point of view.

    My board says ESP-12F and ESP8266MOD on the chip.
    I have tried all flashing versions of the readme file in both espruino_1v99_esp8266.tgz and espruino_1v99_esp8266_4mb.tgz. I just do not know what more to try.

    The Espruino Web IDE says everytime I've flashed and tried connecting (using 115200 baud):
    Unable to retrieve board information. Connection Error?
    Connected to COM5 (No response from board)

    What else can I do?

Actions