Skip to content

[macOS] ESP32-MINI-1 module gives Guru Meditation Error when stub is uploaded using esptool-js, and Failed to write to target RAM in esptool 4.8.1/4.9.0 (ESPTOOL-1000) #1058

@tyeth

Description

@tyeth

Operating System

macOS 15.3

Esptool Version

4.8.1

Python Version

3.11.7

Chip Description

ESP32-MINI-1 [ESP32-U4WDH (revision v3.1) Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None]

Device Description

Adafruit Mini Sparkle Motion https://github.com/adafruit/Adafruit-Mini-Sparkle-Motion-PCB

Hardware Configuration

nothing

How is Esptool Run

macOS terminal, or esptool-js in chrome

Full Esptool Command Line that Was Run

esptool.py chip_id

Esptool Output

esptool.py v4.8.1
Found 4 serial ports
Serial port /dev/cu.usbmodem59720877071
Connecting....
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting....
Detecting chip type... ESP32
Chip is ESP32-U4WDH (revision v3.1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ec:c9:ff:8a:53:cc
Uploading stub...

A fatal error occurred: Failed to write to target RAM (result was 01070000: Operation timed out)

More Information

Works fine on windows 11 laptop using same versions of esptool and esptool-js.
Works reading data but not writing on macOS with --no-stub flag to esptool.py

Please see here for further information (log files attached):
espressif/esptool-js#182

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

  • I confirm I have read the troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions