ESP32C3-mini-1 problem with strapping pins

svenssonjoel
Posts: 3
Joined: Wed Jun 15, 2022 5:57 pm

ESP32C3-mini-1 problem with strapping pins

Postby svenssonjoel » Wed Jul 05, 2023 10:15 am

Hello,

We are using a lot of ESP32C3-mini-1 modules. We used to have modules with Package Code XXN4 but on our latest purchases we have Package Code M4N4. We are noticing that these two batches of mini-1 modules behave differently on boot-up.

We are using USB to connect and flash (Not uart).

We are unable to flash the M4N4 modules unless there is 0V on GPIO2 and GPIO3. If the module is started up with other combinations of
3V and 0V on GPIO 2 and 3 the esptool errors out: "[Errno 71] Protocol error"

(esptool version 4.5.1)

With 0V on GPI0 2 and 3 esptool reports:
"
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision v0.4)
Features: WiFi, BLE
Crystal is 40MHz
MAC: XXXXXXXXXXX
Uploading stub...
Running stub...
Stub running...
Warning: ESP32-C3 has no Chip ID. Reading MAC instead.
MAC: XXXXXXXXXXXX
Hard resetting via RTS pin..
"

This behavior is clearly different between revision v0.3 and revision v0.4 of of the esp32c3 chips we have in our modules (XXN4 v0.3, M4N4 v0.4).

Thank you and best regards

hristesp
Posts: 9
Joined: Wed Oct 11, 2023 2:49 pm

Re: ESP32C3-mini-1 problem with strapping pins

Postby hristesp » Sun Oct 15, 2023 9:12 pm

I have had the same issue however have not been able to pull GPIO2 down. I have had our devices with modules marked XXN4 function fine, however when attempting to flash new devices (exact same PCB design) with modules marked M4N4, I get the error "Errno 32: Broken Pipe". We are also using USB to connect, not UART nor JTAG, and cannot even monitor the device.

We removed the front cover of the module and found the date code that showed the new modules (marked M4N4) were manufactured in 2023, while the functioning modules marked "XXN4" were manufactured in 2021.

Were you able to get your modules working? Does USB connectivity not work with modules manufactured in 2023?

jonnny
Posts: 1
Joined: Fri Apr 19, 2024 11:23 am

Re: ESP32C3-mini-1 problem with strapping pins

Postby jonnny » Fri Apr 19, 2024 11:49 am

Hello,

We recently received a new batch of PCBs assembled with M4N4 parts, and we've encountered an issue similar to one you experienced previously: the USB connection behavior has changed, making it impossible to flash the boards. Specifically, the strapping pin GPIO9 is set high while GPIO8 is low. Notably, our previous batch used ESP32C3 chips with the identifier XXN4 and worked flawlessly. Did you manage to resolve the problem you had before?

Looking forward to your advice. Thank you!

Best regards,
Jonny

AndreRamakers
Posts: 9
Joined: Fri Mar 20, 2020 1:18 pm

Re: ESP32C3-mini-1 problem with strapping pins

Postby AndreRamakers » Mon Jun 24, 2024 7:52 am

Hi all,

Same for me. I can't flash modules with M4N4 while the others work just fine. I have sent a message to Espressif and hope that they come up with a solution.

André

Who is online

Users browsing this forum: No registered users and 136 guests