Page 1 of 1

ESP32-S2-WROVER-I 如何收发AT command

Posted: Mon Nov 08, 2021 10:25 am
by cye-barry
我把U0XD U0TXD焊接出来,它只能一直输出,是否要改为U1XD U1TXD?
还是有甚么没注意到的?

Re: ESP32-S2-WROVER-I 如何收发AT command

Posted: Mon Nov 08, 2021 11:58 am
by ESP_ICY
可以查看FAQ中的类似问题:https://docs.espressif.com/projects/esp ... 2-at-uart0

Re: ESP32-S2-WROVER-I 如何收发AT command

Posted: Tue Nov 09, 2021 1:43 am
by cye-barry
接上UART 0(Rx0 Tx0)讯息如下 ,UART 1(Rx1 Tx1 ,但CTS和RTS没有接)接上也无法发送AT command, UART0 log一直不断显示Rebooting...这是正常的么?

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

Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40025584
SPIWP:0xee
mode:DIO, 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 (57) 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 (314) 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:06:a2:fa)
[0;32mI (324) scan: SYSTEM_EVENT_STA_START[0m
[0;32mI (324) WIFI: SSID: ESP_FAC_MTEST_11 [0m
[0;32mI (324) WIFI: PASSWORD: esp12345678[0m
[0;32mI (2394) scan: WIFI scan doen[0m
Number of access points found: 0
[0;31mE (2394) FAIL: Nothing AP found[0m

Re: ESP32-S2-WROVER-I 如何收发AT command

Posted: Mon Nov 15, 2021 5:45 am
by cye-barry
买esp32-s2-saola-1模块的人,硬件电路要这样接

GPIO21 (RX)
GPIO17 (TX)
GND - GND

并且烧写AT固件即可....