ESP32 Pico-D4 problem with using special GPIO Pins

Dr. 水文学家
Posts: 8
Joined: Sun Feb 27, 2022 2:14 pm

ESP32 Pico-D4 problem with using special GPIO Pins

Postby Dr. 水文学家 » Mon Feb 28, 2022 11:30 am

I designed my ESP32 Pico-D4 PCB board days ago. After completed it actually, I tried upload programs and test its functions and seems everything was good, until I used GPIO 17, attached a led with GPIO 17 and GND, The CPU begin to inffinity reboot and logging errors, errors were:
  1. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  2. configsip: 188777542, SPIWP:0xee
  3. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  4. mode:DIO, clock div:1
  5. load:0x3fff0030,len:1284
  6. load:0x40078000,len:12836
  7. load:0x40080400,len:3032
  8. csum err:0x12!=0xba
  9. ets_main.c 371
  10. ets Jun 8 2016 00:22:57
If I disconnect the led it won't reboot. Similar problem happens with GPIO 16, No error logs but led in GPIO 16 won't work.

Otherwise, I tried using UART2 which default Pins are 16 and 17. Then the cpu start to reboot with another errors:
  1. rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  2. flash read err, 1000
  3. ets_main.c 371
If I switch UART2 Pins to 13 and 15, The CPU works normally without any problem.
This kind of problem really comfused me ! Have someone encounted same problem?
Here's the blueprint of my PCB and the photo of my board.
Attachments
b3437a535fb5c6c4ec72f98c586e6a4.jpg
b3437a535fb5c6c4ec72f98c586e6a4.jpg (297.99 KiB) Viewed 2452 times
}C)ZR64O{~7NA6QUG($T[~C.png
}C)ZR64O{~7NA6QUG($T[~C.png (211.32 KiB) Viewed 2452 times

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

Re: ESP32 Pico-D4 problem with using special GPIO Pins

Postby ESP_Sprite » Tue Mar 01, 2022 1:23 am

Ref PicoD4 datasheet, end of chapter 2.2:
Pins IO16, IO17, CMD, CLK, SD0 and SD1 are used to connect the embedded flash, and can not be used for other purposes. For details, please see Section 6 Schematics.

Dr. 水文学家
Posts: 8
Joined: Sun Feb 27, 2022 2:14 pm

Re: ESP32 Pico-D4 problem with using special GPIO Pins

Postby Dr. 水文学家 » Tue Mar 01, 2022 6:45 am

Thanks ! Your kindly reply really helps me a lot!

Who is online

Users browsing this forum: No registered users and 72 guests