esp-idf Cannot open DFU device WEMOS LOLIN S2 mini

MKontrol
Posts: 3
Joined: Mon Jan 16, 2023 5:41 am

esp-idf Cannot open DFU device WEMOS LOLIN S2 mini

Postby MKontrol » Mon Jan 16, 2023 6:54 am

hello,
I'm trying to load the default Hello_world example from esp-idf into a WEMOS LOLIN S2 mini board.
The device is connected and put into DFU mode.
  • Code: Select all

    E:\_esp-idf\hello_world>idf.py  --version
    ESP-IDF v5.0
    E:\_esp-idf\hello_world>idf.py build
    E:\_esp-idf\hello_world>idf.py dfu 
    E:\_esp-idf\hello_world>idf.py dfu-flash
The last command prints an error:
  • Code: Select all

    E:\_esp-idf\hello_world>idf.py dfu-flash
    Command list: dfu-util;-d;303a:2;-D;E:/Documents/Arduino/_esp-idf/hello_world/build/dfu.bin
    dfu-util 0.9
    Cannot open DFU device 303a:0002
    No DFU capable USB device available
    CMake Error at E:/Espressif/frameworks/esp-idf-v5.0/tools/cmake/run_dfu_util.cmake:27 (message):
      dfu-util failed
    
The dfu-list command also throws an error:
  • Code: Select all

    E:\_esp-idf\hello_world>idf.py dfu-list
    Cannot open DFU device 303a:0002
    Done
Please tell me how to get esp-idf to work properly.
Thank you!

Who is online

Users browsing this forum: Baidu [Spider] and 117 guests