0xchocolate / flipperzero-esp-flasher

Flipper Zero app to flash ESP chips from the device (no computer connection needed!)
GNU General Public License v3.0
399 stars 29 forks source link

How to flash D1 mini (AZ-Delivery esp8266mod12-f) with Flipper Zero ESP Flasher? #32

Open BlkPingu opened 4 weeks ago

BlkPingu commented 4 weeks ago

Context

Since CH340 drivers for the ESP8266 D1 mini drivers for Mac are not compatible with MacOS Sonoma I was looking for alternatives to flash my ESP and found out about ESP flasher.

The problem

I can't figure it out from the README of ESP flasher. They are all very concerned about flashing marauder on the wifi boards, but not flashing other binaries like WLED.

Essentially, I need to know:

  1. which GPIO Pins I need to connect (Flipper to D1 mini)
  2. How to set the D1 mini into DFU mode: I can't find anything on this. It has one button instead of the usual 2.
  3. How to flash the ESP8266 firmware: meaning apart from the firmware itself, what files do I need to select in the ESP flasher app and where to get them

I saw that there are files for the ESP32 marauder in this repo thats linked from the ESP flasher repo and I suspect you want me to use the rightmost columns files as the header says something about D1 mini: 0x1000, 0x8000, 0xE000 and the WLED firmware instead of the marauder firmware.

I downloaded these files and they all say something about marauder. I don't understand enough here to know if I can use these to flash my WLED firmware as well.

Even if I wanted to try this, I still don't know what pins I need to connect to my D1 mini.

Please advise.

BlkPingu commented 2 weeks ago

nobody?

Bald-79 commented 6 days ago

I will not create a separate branch, I will ask here.ESP Flasher seems to support switching tsp32 to firmware mode without pressing buttons. If so, do I need to use additional GPIO pins besides RX and TX? What other exits are needed?

0xchocolate commented 6 days ago

@Bald-79 To enter the bootloader / download mode automatically, connect EN to flipper pin 6 and GPIO0 to flipper pin 7.