ESP32 custom board reseting all the time

domus121
Posts: 1
Joined: Mon Aug 22, 2022 3:25 pm

ESP32 custom board reseting all the time

Postby domus121 » Mon Aug 22, 2022 3:37 pm

Hi,
I order custom board with esp32 wroom-32d. There is a schematic:

Image


I can programate it with arduino IDE and got the message Loading end:

Code: Select all

esptool.py v3.3
Serial port COM6
Connecting....
Chip is ESP32-D0WD (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 78:21:84:56:f9:30
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x000f1fff...
Compressed 18560 bytes to 12759...
Writing at 0x00001000... (100 %)
Wrote 18560 bytes (12759 compressed) at 0x00001000 in 0.6 seconds (effective 264.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 262.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.2 seconds (effective 419.2 kbit/s)...
Hash of data verified.
Compressed 925280 bytes to 596202...
Writing at 0x00010000... (2 %)
Writing at 0x0001a832... (5 %)
Writing at 0x00025ce1... (8 %)
Writing at 0x00030d43... (10 %)
Writing at 0x000363fd... (13 %)
Writing at 0x0003bb9d... (16 %)
Writing at 0x000412b8... (18 %)
Writing at 0x00046b66... (21 %)
Writing at 0x0004c4dd... (24 %)
Writing at 0x00051ab0... (27 %)
Writing at 0x00056d34... (29 %)
Writing at 0x0005c20d... (32 %)
Writing at 0x00062653... (35 %)
Writing at 0x00067b89... (37 %)
Writing at 0x0006d616... (40 %)
Writing at 0x00073123... (43 %)
Writing at 0x0007879e... (45 %)
Writing at 0x0007e272... (48 %)
Writing at 0x00083aff... (51 %)
Writing at 0x000892ba... (54 %)
Writing at 0x0008ebcf... (56 %)
Writing at 0x000943f5... (59 %)
Writing at 0x00099f33... (62 %)
Writing at 0x0009f446... (64 %)
Writing at 0x000a4d1a... (67 %)
Writing at 0x000aac0c... (70 %)
Writing at 0x000b10a5... (72 %)
Writing at 0x000b6e98... (75 %)
Writing at 0x000bc7dc... (78 %)
Writing at 0x000c21b8... (81 %)
Writing at 0x000c8a5e... (83 %)
Writing at 0x000d139d... (86 %)
Writing at 0x000d93e0... (89 %)
Writing at 0x000def1a... (91 %)
Writing at 0x000e4a74... (94 %)
Writing at 0x000ea16a... (97 %)
Writing at 0x000efa4f... (100 %)
Wrote 925280 bytes (596202 compressed) at 0x00010000 in 9.4 seconds (effective 788.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

But the board isn't working properly. I got an error in serial monitor and the board is reseting it self all the time:

Code: Select all

rst:0x7 (TG0WDT_SYS_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13516
load:0x40080400,len:3604
csum err:0x3f!=0x30
ets_main.c 371 
ets Jun  8 2016 00:22:5
What should I do to work with that board? Need to flash something?

Thanks in advance, Dominik

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

Re: ESP32 custom board reseting all the time

Postby ESP_Sprite » Tue Aug 23, 2022 1:34 am

From the datasheet:
Pins SCK/CLK, SDO/SD0, SDI/SD1, SHD/SD2, SWP/SD3 and SCS/CMD, namely, GPIO6 to GPIO11 are connected
to the integrated SPI flash integrated on the module and are not recommended for other uses.

Who is online

Users browsing this forum: Bing [Bot] and 95 guests