Stubs error! Can't get device ready for firmware update

Hi guys!

I’m trying to update the firmware of my Lora t-beam 1.1 with on the mac terminal and also with esp flasher tool app, but got this errors. Can anybody help, please? Thanks

On mac terminal with command: esptool.py chip_id

“esptool.py v3.2
Found 2 serial ports
Serial port /dev/cu.usbmodem53230056341
Connecting…
Detecting chip type… Unsupported detection protocol, switching and trying again…
Connecting…
Detecting chip type… ESP32
Chip is ESP32-D0WDQ6-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 44:17:93:88:ef:a4
Uploading stub…
A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)”

On mac ESPHome-flasher app:

"Using ‘/dev/cu.usbmodem53230056581’ as serial port.
Connecting…[17:20:47]ets Jul 29 2019 12:21:46
[17:20:47]
[17:20:47]rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
[17:20:47]waiting for download
…Serial port closed!

Detecting chip type… Unsupported detection protocol, switching and trying again…
Connecting…
Detecting chip type… ESP32
Connecting…

Chip Info:

  • Chip Family: ESP32
  • Chip Model: ESP32-D0WDQ6-V3 (revision 3)
  • Number of Cores: 2
  • Max CPU Frequency: 240MHz
  • Has Bluetooth: YES
  • Has Embedded Flash: NO
  • Has Factory-Calibrated ADC: YES
  • MAC Address: …:…:…:…:…:…
    Uploading stub…
    Unexpected error: Error putting ESP in stub flash mode: Failed to write to target RAM (result was 01070000: Operation timed out)"

we have been working on a flash tool actually

You use pip to install the python module

2 Likes

running into a repeated issue across gui and terminal flashing, with this gui getting “No module named esptool”

I’ve installed esptool globally, etc etc etc… ugh so frustrated.

Any chance you’ve a workaround?