Skip to content

You must enter download mode to flash the program; this wasn't the case before (ESPTOOL-1187). #1127

@TinyuZhao

Description

@TinyuZhao

Operating System

macOS 15.4.1

Esptool Version

esptool.py v4.9.0

Python Version

Python 3.13.3

Chip Description

ESP32S3

Device Description

M5StackCoreS3

Hardware Configuration

https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/490/Sch_M5_CoreS3_v1.0.pdf

How is Esptool Run

No IDE

Full Esptool Command Line that Was Run

esptool.py --chip esp32s3 --port /dev/cu.usbmodem211101 --baud 1500000 write_flash 0x0 /Users/tinyu/Developer/Code/uiflow_micropython/uiflow_develop/m5stack/build-M5STACK_CoreS3/uiflow-885edad6.bin

Esptool Output

~ esptool.py --chip esp32s3 --port /dev/cu.usbmodem211101 --baud 1500000 write_flash 0x0 /Users/tinyu/Developer/Code/uiflow_micropython/uiflow_develop/m5stack/build-M5STACK_CoreS3/uiflow-885edad6.bin
esptool.py v4.9.0
Serial port /dev/cu.usbmodem211101
Connecting....

A serial exception error occurred: Could not configure port: (6, 'Device not configured')
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html

More Information

➜ ~ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.usbmodem211101
/dev/cu.debug-console


Before Run esptool write_flash command


➜ ~ esptool.py --chip esp32s3 --port /dev/cu.usbmodem211101 --baud 1500000 write_flash 0x0 /Users/tinyu/Developer/Code/uiflow_micropython/uiflow_develop/m5stack/build-M5STACK_CoreS3/uiflow-885edad6.bin
esptool.py v4.9.0
Serial port /dev/cu.usbmodem211101
Connecting....

A serial exception error occurred: Could not configure port: (6, 'Device not configured')
Note: This error originates from pySerial. It is likely not a problem with esptool, but with the hardware connection or drivers.
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html


After Run esptool write_flash command


➜ ~ ls /dev/cu.*
/dev/cu.Bluetooth-Incoming-Port /dev/cu.debug-console

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