Page 1 of 1

关于ESP32-S2-WROOM 刷写固件接线的问题

Posted: Thu Jan 21, 2021 2:30 pm
by chenhuangzan
最近入手了一块ESP32-S2-WROOM模组,只因其IO端口多,想做个多功能的小玩具,怎奈水平太LOW,现在又遇到问题了,网上也搜索了下,浏览了官方的相关手册,只因技术太差,也没找到解决方法,就向论坛里的老师们请教了
现在想用手里的8266 ESP-01S的烧写器连接ESP32-S2-WROOM,用ARDUINO软件进行程序的上传

按照目前了解的资料,做的接线图如下:
烧写器 ESP32-S2-WROOM
3V3-----------------------------------VCC
RST---------
EN-------------------------------------EN
TXD-----------------------------------TXD0
RXD-----------------------------------RXD0
IO0--------- IO0---------------GND
IO2---------
GND----------------------------------GND
IO46--------------GND


GND是共地的
按照上述的接线,可以用安可信串口调试助手 V1.2.3.0 连接后有如下信息:

not return, Aborting now![0m
abort() was called at PC 0x400341e7 on core 0

Backtrace: 0x40031a00:0x3ffd9110 0x40031bb5:0x3ffd9130 0x400341e7:0x3ffd9150

Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0xb (SPI_FAST_FLASH_BOOT)
Saved PC:0x40025584
SPIWP:0xee
modeIO, clock div:2
load:0x3ffe8108,len:0x4
load:0x3ffe810c,len:0x1898
load:0x40050000,len:0x1614
load:0x40054000,len:0x28ec
entry 0x4005031c
[0;32mI (53) boot: ESP-IDF v4.2-dev-359-g5daa4c3-dirty 2nd stage bootloader[0m
[0;32mI (53) boot: compile time 20:18:38[0m
[0;32mI (53) boot: chip revision: 0[0m
[0;32mI (56) boot.esp32s2: SPI Speed : 40MHz[0m
[0;32mI (61) boot.esp32s2: SPI Mode : DIO[0m
[0;32mI (66) boot.esp32s2: SPI Flash Size : 2MB[0m
[0;32mI (71) boot: Enabling RNG early entropy source...[0m
[0;32mI (76) boot: Partition Table:[0m
[0;32mI (80) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (87) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (94) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (102) boot: 2 factory factory app 00 00 00010000 00100000[0m
[0;32mI (109) boot: End of partition table[0m
[0;32mI (114) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f000020 size=0x17fa8 ( 98216) map[0m
[0;32mI (149) esp_image: segment 1: paddr=0x00027fd0 vaddr=0x3ffc6ca0 size=0x03048 ( 12360) load[0m
[0;32mI (153) esp_image: segment 2: paddr=0x0002b020 vaddr=0x40024000 size=0x00404 ( 1028) load[0m
[0;32mI (156) esp_image: segment 3: paddr=0x0002b42c vaddr=0x40024404 size=0x04bec ( 19436) load[0m
[0;32mI (171) esp_image: segment 4: paddr=0x00030020 vaddr=0x40080020 size=0x71c00 (465920) map[0m
[0;32mI (298) esp_image: segment 5: paddr=0x000a1c28 vaddr=0x40028ff0 size=0x0dcac ( 56492) load[0m
[0;32mI (329) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (329) boot: Disabling RNG early entropy source...[0m
[0;32mI (329) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte[0m
[0;32mI (337) cpu_start: Pro cpu up.[0m
[0;32mI (340) cpu_start: Single core mode[0m
[0;32mI (345) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (352) heap_init: At 3FFC6C9C len 00000004 (0 KiB): D/IRAM[0m
[0;32mI (358) heap_init: At 3FFCF4B0 len 0002CB50 (178 KiB): D/IRAM[0m
[0;32mI (365) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM[0m
[0;32mI (371) cpu_start: Pro cpu start user code[0m
[0;32mI (98) spi_flash: detected chip: generic[0m
[0;32mI (98) spi_flash: flash io: dio[0m
[0;33mW (99) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m
[0;32mI (109) cpu_start: Starting scheduler on PRO CPU.[0m
wifi scan!!!!!!!!!!!!!!!!!!!!!
I (154) wifi: wifi driver task: 3ffff328, prio:23, stack:3584, core=0
[0;32mI (154) system_api: Base MAC address is not set[0m
[0;32mI (154) system_api: read default base MAC address from EFUSE[0m
I (164) wifi: wifi firmware version: 9a345a1
I (164) wifi: config NVS flash: enabled
I (164) wifi: config nano formating: disabled
I (164) wifi: Init dynamic tx buffer num: 32
I (174) wifi: Init data frame dynamic rx buffer num: 32
I (174) wifi: Init management frame dynamic rx buffer num: 32
I (184) wifi: Init management short buffer num: 32
I (184) wifi: Init static rx buffer size: 1600
I (194) wifi: Init static rx buffer num: 10
I (194) wifi: Init dynamic rx buffer num: 32
[0;32mI (304) phy: phy_version: 102, d5435aa, Jan 6 2020, 11:06:05, 0, 2[0m
I (314) wifi: enable tsf
I (314) wifi: mode : sta (7c:df:a1:01:9a:1e)
[0;32mI (314) scan: SYSTEM_EVENT_STA_START[0m
[0;32mI (314) WIFI: SSID: ESP_FAC_MTEST_11 [0m
[0;32mI (324) WIFI: PASSWORD: esp12345678[0m
[0;32mI (2384) scan: WIFI scan doen[0m
Number of access points found: 0
[0;31mE (2384) FAIL: Nothing AP found[0m



但是发送的AT命令没有反馈字符,看这些信息,用自己蹩脚的英语理解下,好像芯片在不断的重启
这种状况下也无法刷固件。