esp-rs / espflash

Serial flasher utility for Espressif SoCs and modules based on esptool.py
Apache License 2.0
486 stars 118 forks source link

Unable to flash esp32s2 though it works fine with esptool.py #674

Closed sekwah41 closed 2 months ago

sekwah41 commented 2 months ago

My issue is that even with no-reset for some reason I keep getting connection_failed. Even when I try to use the espflash tool to just monitor the chip or do the reset command.

Doing before no-reset also doesn't seem to fix it like the other ticket I found here mentions.

I am happy to provide any logs or info needed to help debug this.

image Example of esptool being able to communicate with it but espflash failing. The same happens for all of the commands.

Ive also attached an example trace of running python3 -m esptool --chip esp32s2 --trace chip_id esptooltrace.txt

sekwah41 commented 2 months ago

Just to be clear, the monitoring or any of the tools don't work. However, the flashing is the biggest issue.

SergioGasquez commented 2 months ago

Duplicated of #670