-->
Page 1 of 1

D1 mini clone - USB serial enumeration loop in windows

PostPosted: Tue Aug 24, 2021 3:28 am
by alex_73
I have a chinese D1 mini clone (the one with an ESP-12 module on the back).
When I plug it in to windows it starts to enumerate the usb serial and immediately de-enumerate(?) again.
So the according COM port shows up for a second and is gone again just to come back immediately again a.s.f.

When I hold the reset button the COM port stays visible.
I managed to clear the flash with esptool. In this state the COM port stays available.
I flashed the Arduino ESP blink example. LED flashes fine, COM port stays gone.
I flashed the Arduino ESP FSBrowser example and I am back in the enumeration loop.

I added some logging in Arduino.This is what I get after releasing reset button with the FSBrowser flashed:
Code: Select all09:47:00.817 ->  ets Jan  8 2013,rst cause:2, boot mode:(3,6)
09:47:00.817 ->
09:47:00.864 -> load 0x4010f000, len 3584, room 16
09:47:00.864 -> tail 0
09:47:00.864 -> chksum 0xb0
09:47:00.864 -> csum 0xb0
09:47:00.864 -> v2843a5ac
09:47:00.864 -> ~ld


A second module from the same order works nicely.

Anyone any idea what is going on here?

Re: D1 mini clone - USB serial enumeration loop in windows

PostPosted: Wed Aug 25, 2021 12:34 am
by schufti
maybe failed flash due to incompatible flash mode, try using different mode (unfortunately DOUT is not 100% compatible ...)

Re: D1 mini clone - USB serial enumeration loop in windows

PostPosted: Wed Aug 25, 2021 11:04 am
by alex_73
verify_flash comes back with

Code: Select all-- verify OK (digest matched)


I tried qio, qout, dio and dout modes (--flash_mode) but all result in an enumeration loop :-(