Programming issue with ES32-WROOM-32U

aatifshaikh66
Posts: 4
Joined: Wed Oct 07, 2020 10:42 am

Programming issue with ES32-WROOM-32U

Postby aatifshaikh66 » Wed Oct 07, 2020 11:32 am

Hello
I'm working on a project in which I've made a custom board based on the ESP32-WROOM-32U module. I've referred the reference schematic available in the datasheet "https://www.espressif.com/sites/default ... eet_en.pdf". But unfortunately, my board is not able to get programmed. Can anyone tell me what could possibly go wrong? I'm attaching the schematics and default debuggers printing on the serial port on each boot-up.
Note* I'm using an Arduino ID for downloading the code.

Code: Select all

15:43:40.003 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
15:43:40.003 -> configsip: 0, SPIWP:0xee
15:43:40.003 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
15:43:40.003 -> mode:DIO, clock div:2
15:43:40.003 -> load:0x3fff0018,len:4
15:43:40.003 -> load:0x3fff001c,len:5656
15:43:40.003 -> load:0x40078000,len:0
15:43:40.003 -> ho 12 tail 0 room 4
15:43:40.003 -> load:0x40078000,len:13844
15:43:40.044 -> entry 0x40078fc4
15:43:40.044 -> [0;32mI (30) boot: ESP-IDF v3.0.7 2nd stage bootloader[0m
15:43:40.044 -> [0;32mI (30) boot: compile time 09:04:31[0m
15:43:40.044 -> [0;32mI (31) boot: Enabling RNG early entropy source...[0m
15:43:40.044 -> [0;32mI (35) boot: SPI Speed      : 40MHz[0m
15:43:40.044 -> [0;32mI (39) boot: SPI Mode       : DIO[0m
15:43:40.044 -> [0;32mI (43) boot: SPI Flash Size : 4MB[0m
15:43:40.044 -> [0;32mI (47) boot: Partition Table:[0m
15:43:40.044 -> [0;32mI (51) boot: ## Label            Usage          Type ST Offset   Length[0m
15:43:40.084 -> [0;32mI (58) boot:  0 phy_init         RF data          01 01 0000f000 00001000[0m
15:43:40.084 -> [0;32mI (66) boot:  1 otadata          OTA data         01 00 00010000 00002000[0m
15:43:40.084 -> [0;32mI (73) boot:  2 nvs              WiFi data        01 02 00012000 0000e000[0m
15:43:40.084 -> [0;32mI (80) boot:  3 at_customize     unknown          40 00 00020000 000e0000[0m
15:43:40.084 -> [0;32mI (88) boot:  4 ota_0            OTA app          00 10 00100000 00180000[0m
15:43:40.084 -> [0;32mI (95) boot:  5 ota_1            OTA app          00 11 00280000 00180000[0m
15:43:40.124 -> [0;32mI (103) boot: End of partition table[0m
15:43:40.124 -> [0;32mI (107) boot: No factory image, trying OTA 0[0m
15:43:40.124 -> [0;32mI (112) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x20614 (132628) map[0m
15:43:40.165 -> [0;32mI (168) esp_image: segment 1: paddr=0x0012063c vaddr=0x3ffc0000 size=0x02d7c ( 11644) load[0m
15:43:40.165 -> [0;32mI (172) esp_image: segment 2: paddr=0x001233c0 vaddr=0x40080000 size=0x00400 (  1024) load[0m
15:43:40.165 -> [0;32mI (175) esp_image: segment 3: paddr=0x001237c8 vaddr=0x40080400 size=0x0c848 ( 51272) load[0m
15:43:40.205 -> [0;32mI (205) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xdfc80 (916608) map[0m
15:43:40.529 -> [0;32mI (526) esp_image: segment 5: paddr=0x0020fca0 vaddr=0x4008cc48 size=0x02504 (  9476) load[0m
15:43:40.529 -> [0;32mI (530) esp_image: segment 6: paddr=0x002121ac vaddr=0x400c0000 size=0x00064 (   100) load[0m
15:43:40.529 -> [0;32mI (541) boot: Loaded app from partition at offset 0x100000[0m
15:43:40.529 -> [0;32mI (542) boot: Disabling RNG early entropy source...[0m
15:43:40.610 -> 1.1.3

15:43:40.610 -> I (662) wifi: wifi firmware version: 703e53b
15:43:40.610 -> I (663) wifi: config NVS flash: enabled
15:43:40.610 -> I (663) wifi: config nano formating: disabled
15:43:40.610 -> I (673) wifi: Init dynamic tx buffer num: 32
15:43:40.610 -> I (673) wifi: Init data frame dynamic rx buffer num: 32
15:43:40.610 -> I (674) wifi: Init management frame dynamic rx buffer num: 32
15:43:40.645 -> I (679) wifi: wifi driver task: 3ffdee34, prio:23, stack:3584
15:43:40.645 -> I (684) wifi: Init static rx buffer num: 10
15:43:40.645 -> I (687) wifi: Init dynamic rx buffer num: 32
15:43:40.645 -> I (692) wifi: wifi power manager task: 0x3ffe369c prio: 21 stack: 2560
Attachments
WIFI SCHAMATIC.jpg
WIFI SCHAMATIC.jpg (94.89 KiB) Viewed 3063 times

username
Posts: 534
Joined: Thu May 03, 2018 1:18 pm

Re: Programming issue with ES32-WROOM-32U

Postby username » Wed Oct 07, 2020 6:38 pm

The issue is that you need to put it into flashing mode. You do this using the EN and IO0 pins.
You can do this manually by using 2 push buttons. One pulling EN to GND when pressed, and the same for the IO0 pin.
The sequence is this. Power up the board. bring IO0 & EN to GND. Release EN, then release IO0. then you will be able to program it.
That schematic you referenced does not include the automatic handling to put it into flashing mode.
Instead look at dev kit schematics.
https://dl.espressif.com/dl/schematics/ ... 80607a.pdf

aatifshaikh66
Posts: 4
Joined: Wed Oct 07, 2020 10:42 am

Re: Programming issue with ES32-WROOM-32U

Postby aatifshaikh66 » Thu Oct 08, 2020 9:55 am

Thanks a bunch, this solves my problem.

Who is online

Users browsing this forum: No registered users and 90 guests