-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as not planned
Labels
Description
Operating System
macOS 11.7 (20G817)
Esptool Version
4.4
Python Version
Python 3.10.7
Chip Description
Chip is ESP8285H16
Device Description
ESP-01m from AI Thinker
https://docs.ai-thinker.com/_media/esp8266/docs/esp-01m_product_specification_en.pdf
Hardware Configuration
Nothing functional attached.
- RST pulled high with 10k with a Reset button pulled to GND
- GPIO0 pulled to GND
How is Esptool Run
Terminal
Full Esptool Command Line that Was Run
esptool.py --port $PORT --baud 460800 write_flash --flash_size=detect 0 $IMAGE --flash_mode=dout
Esptool Output
esptool.py v4.4
Serial port /dev/cu.usbserial-FTFRNN7Y
Connecting...................
Detecting chip type... Unsupported detection protocol, switching and trying again...
Connecting...
Detecting chip type... ESP8266
Chip is ESP8285H16
Features: WiFi, Embedded Flash
Crystal is 26MHz
MAC: 4c:eb:d6:0b:f5:22
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 2MB
Flash will be erased from 0x00000000 to 0x00091fff...
Flash params set to 0x0030
Compressed 596836 bytes to 397442...
Writing at 0x0000b99c... (12 %)Traceback (most recent call last):
File "/usr/local/bin/esptool.py", line 34, in <module>
esptool._main()
File "/usr/local/lib/python3.10/site-packages/esptool/__init__.py", line 1026, in _main
main()
File "/usr/local/lib/python3.10/site-packages/esptool/__init__.py", line 826, in main
operation_func(esp, args)
File "/usr/local/lib/python3.10/site-packages/esptool/cmds.py", line 556, in write_flash
esp.flash_defl_block(block, seq, timeout=timeout)
File "/usr/local/lib/python3.10/site-packages/esptool/loader.py", line 109, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/esptool/loader.py", line 991, in flash_defl_block
self.check_command(
File "/usr/local/lib/python3.10/site-packages/esptool/loader.py", line 407, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/usr/local/lib/python3.10/site-packages/esptool/loader.py", line 376, in command
p = self.read()
File "/usr/local/lib/python3.10/site-packages/esptool/loader.py", line 308, in read
return next(self._slip_reader)
StopIterationMore Information
The program seems stuck always at the same percentage (eg. 11% or 5% using the -z option)
Other Steps to Reproduce
No response
I Have Read the Troubleshooting Guide
- I confirm I have read the troubleshooting guide.