Proprietary PCB with ESP32-PICO-D4

hwga_team
Posts: 1
Joined: Thu Nov 11, 2021 12:58 pm

Proprietary PCB with ESP32-PICO-D4

Postby hwga_team » Thu Nov 11, 2021 1:08 pm

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.
Attachments
Schematic_KW-ST-01_RevA_Cntrl.PDF
(443.53 KiB) Downloaded 231 times

ESP_Sprite
Posts: 9749
Joined: Thu Nov 26, 2015 4:08 am

Re: Proprietary PCB with ESP32-PICO-D4

Postby ESP_Sprite » Sat Nov 13, 2021 5:24 am

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.

Who is online

Users browsing this forum: Bing [Bot], chegewara, Google [Bot] and 129 guests