-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP-Prog SPI flash not working on personal custom PCB (ESPTOOL-663) #869
Comments
Hello @DreamStonks, I recommend using our free-of-charge reviewing services for circuit diagrams and PCB designs, I don't have the capacity to review your design.
The ESP-Prog is acting as a USB-to-UART bridge, there is no SPI port on it. I would start by attaching only the 3v3, GND, RX, and TX connections and then see if any data comes out of the ESP (with any serial terminal programs). If not, try switching TX and RX. When you get a working serial connection, you can focus on the automatic bootloader reset circuitry (attaching GPIO9 and Enable pins) |
Hi @radimkarnis,
Using puTTY while putting some pressure on the cables, I can now see "ESP-ROM:esp32c3-api1-20210207" in the terminal which after some digging, I believe to be the first line of the ESP32-C3 startup log... Regarding the free-of-charge reviewing services for circuit diagrams and PCB designs, are they open to hobbyists like myself? I am not affiliated with any company and I do not plan to commercialize the project for the moment. |
@DreamStonks
Maybe something is immediately resetting your chip? |
I am closing this issue for inactivity. Feel free to reopen if you manage to debug and get more information. |
Forgive me for the very late response... It turned out to be a very easy fix! The cable just needed to be held straight. I hope this can help someone encountering the same issue in the future. |
Operating System
Windows 10 pro
Esptool Version
v4.5.1
Python Version
Python 3.11.1
Chip Description
ESP32-C3-WROOM-02
Device Description
The module is connected to the SPI port of an ESP-Prog using the provided flat cables.
For testing purposes, the chip is only connected to the header pins (U3) with a 1kOhm resistor (R2) between GPIO 8 and VDD.
Hardware Configuration
The headers pins used: https://www.digikey.ca/en/products/detail/sullins-connector-solutions/GRPB032VWVN-RC/1786453
How is Esptool Run
VScode ESP-IDF extension
Full Esptool Command Line that Was Run
esptool.py', '-p', 'COM7', '-b', '9600', '--before', 'default_reset', '--after', 'hard_reset', '--chip', 'esp32c3', 'write_flash', '--flash_mode', 'dio', '--flash_freq', '80m', '--flash_size', '2MB', '0x0', 'bootloader/bootloader.bin', '0x10000', 'hello_world.bin', '0x8000', 'partition_table/partition-table.bin'
Esptool Output
More Information
Other Steps to Reproduce
No response
I Have Read the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: