ESP32-S2-WROOM 模组如何接线烧写固件-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3026|回复: 1

[已解决] ESP32-S2-WROOM 模组如何接线烧写固件

[复制链接]
发表于 2021-1-21 11:50 | 显示全部楼层 |阅读模式
本帖最后由 堂三赞 于 2021-1-27 10:41 编辑

最近入手了一块ESP32-S2-WROOM模组,只因其IO端口多,想做个多功能的小玩具,怎奈水平太LOW,现在又遇到问题了,网上也搜索了下,浏览了官方的相关手册,只因技术太差,也没找到解决方法,就向论坛里的老师们请教了
按照目前了解的资料,做的接线图如下:
烧写器                                  ESP32-S2-WROOM
3V3-----------------------------------VCC
RST---------
EN-------------------------------------EN
TXD-----------------------------------TXD0
RXD-----------------------------------RXD0
IO0---------                                       IO0---------------GND
IO2---------                                       
GND----------------------------------GND
                                                         IO46--------------GND
                                                         IO18----10KΩ----3V3

GND是共地的
用安可信串口调试助手 V1.2.3.0  连接后有如下信息:

not return, Aborting now!
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
I (53) boot: ESP-IDF v4.2-dev-359-g5daa4c3-dirty 2nd stage bootloader
I (53) boot: compile time 20:18:38
I (53) boot: chip revision: 0
I (56) boot.esp32s2: SPI Speed      : 40MHz
I (61) boot.esp32s2: SPI Mode       : DIO
I (66) boot.esp32s2: SPI Flash Size : 2MB
I (71) boot: Enabling RNG early entropy source...
I (76) boot: Partition Table:
I (80) boot: ## Label            Usage          Type ST Offset   Length
I (87) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (94) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (102) boot:  2 factory          factory app      00 00 00010000 00100000
I (109) boot: End of partition table
I (114) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f000020 size=0x17fa8 ( 98216) map
I (149) esp_image: segment 1: paddr=0x00027fd0 vaddr=0x3ffc6ca0 size=0x03048 ( 12360) load
I (153) esp_image: segment 2: paddr=0x0002b020 vaddr=0x40024000 size=0x00404 (  1028) load
I (156) esp_image: segment 3: paddr=0x0002b42c vaddr=0x40024404 size=0x04bec ( 19436) load
I (171) esp_image: segment 4: paddr=0x00030020 vaddr=0x40080020 size=0x71c00 (465920) map
I (298) esp_image: segment 5: paddr=0x000a1c28 vaddr=0x40028ff0 size=0x0dcac ( 56492) load
I (329) boot: Loaded app from partition at offset 0x10000
I (329) boot: Disabling RNG early entropy source...
I (329) cache: Instruction cache         : size 8KB, 4Ways, cache line size 32Byte
I (337) cpu_start: Pro cpu up.
I (340) cpu_start: Single core mode
I (345) heap_init: Initializing. RAM available for dynamic allocation:
I (352) heap_init: At 3FFC6C9C len 00000004 (0 KiB): D/IRAM
I (358) heap_init: At 3FFCF4B0 len 0002CB50 (178 KiB): D/IRAM
I (365) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM
I (371) cpu_start: Pro cpu start user code
I (98) spi_flash: detected chip: generic
I (98) spi_flash: flash io: dio
W (99) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (109) cpu_start: Starting scheduler on PRO CPU.
wifi scan!!!!!!!!!!!!!!!!!!!!!
I (154) wifi: wifi driver task: 3ffff328, prio:23, stack:3584, core=0
I (154) system_api: Base MAC address is not set
I (154) system_api: read default base MAC address from EFUSE
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
I (304) phy: phy_version: 102, d5435aa, Jan  6 2020, 11:06:05, 0, 2
I (314) wifi: enable tsf
I (314) wifi: mode : sta (7c:df:a1:01:9a:1e)
I (314) scan: SYSTEM_EVENT_STA_START
I (314) WIFI: SSID: ESP_FAC_MTEST_11 
I (324) WIFI: PASSWORD: esp12345678
I (2384) scan: WIFI scan doen
Number of access points found: 0
E (2384) FAIL: Nothing AP found



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

烧写器

烧写器

ESP32-S2 Pin

ESP32-S2 Pin

ESP32-S2-WROOM技术规格书摘页

ESP32-S2-WROOM技术规格书摘页

ESP32S2 硬件设计指南 摘页

ESP32S2 硬件设计指南 摘页
1611233928(1).png

串口信息

串口信息
 楼主| 发表于 2021-1-27 10:42 | 显示全部楼层
现在已经解决,按这个方法接线没错,ARDUINO IDE里 安装好ESP32S2的开发板后就可以上传程序了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 13:49 , Processed in 0.077354 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表