Page 1 of 1

Proprietary PCB with ESP32-PICO-D4

Posted: Thu Nov 11, 2021 1:08 pm
by hwga_team
Hi everyone!

I have next problem with my proprietary pcb, where ESP32-PICO-D4 is used. Schematic of my board is in attachments.

I can not program my board (tried throug arduino and esp-idf). every time I have the same problem:
A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption

Arduino IDE log there:

Code: Select all

esptool.py v3.0-dev
Serial port COM3
Connecting........_____.
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: ac:0b:fb:56:32:fc
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting to 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 1129.9 kbit/s)...

A fatal error occurred: Timed out waiting for packet header
A fatal error occurred: Timed out waiting for packet header
I dont know why my board is defined (see string with mcu name), but i can not upload any firmware, even empty sketch.

I have already tried:
  • Add 10uF cap to EN net
  • Short BOOT to GND when connecting
  • Pull-down RX line (try to reduce possible noise in line)

Does anybody know what can I do with this issue?

Thank you! I hope I didnt broke the forum's rules with this post.

Re: Proprietary PCB with ESP32-PICO-D4

Posted: Sat Nov 13, 2021 5:24 am
by ESP_Sprite
From the Pico-D4 datasheet: 'Pins IO16, IO17, CMD, CLK, SD0 and SD1 are used for connecting the embedded flash, and are not recommended for other uses.' Possibly the fact that you use GPIO17 has something to do with this.