Skip to content

Cannot flash the WiFi firmware to M1W #9

Description

@nalzok

So I have got myself a USB to Serial Adapter on Amazon, but I'm still getting the following error. Any tips?

$ ./flash.sh -eo -t 1MB -m dout
stat: illegal option -- c
usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
./flash.sh: line 217: [: -ge: unary operator expected

==========================
Flashing ESP8266 firmware:
--------------------------
  Flash type: 1MB
  Flash mode: dout
   Partition: 0
     Address: 0x001000
    Firmware: '../upgrade/esp8285_AT_1_2.bin'
 Erase Flash: 'yes'
================================================

esptool.py v2.7
Serial port /dev/cu.wchusbserial1410
Connecting........_____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to Espressif device: Timed out waiting for packet header

Erase flash failed!

Here is my set up (quite crude, I know)

IMG_0159
IMG_0156
IMG_0155

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions