使用两块esp32c3 devkitc-02
开发板 分别烧入SPI AT固件和提供的spi master 测试固件启动打印如下。
AT 固件:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xe (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fcd5820,len:0x16b4
load:0x403cc710,len:0x964
load:0x403ce710,len:0x2e94
entry 0x403cc710
I (31) boot: ESP-IDF v5.0.2-376-g24b9d38-dirty 2nd stage bootloader
I (31) boot: compile
time 14:13:52
I (32) boot: chip revision: v0.3
I (35) boot.esp32c3: SPI Speed : 40MHz
I (40) boot.esp32c3: SPI Mode : DIO
I (45) boot.esp32c3: SPI Flash Size : 4MB
I (49) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (58) boot: ## Label Usage Type ST Offset Length
I (66) boot: 0 otadata OTA data 01 00 0000d000 00002000
I (73) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (80) boot: 2 nvs WiFi data 01 02 00010000 0000e000
I (88) boot: 3 at_customize unknown 40 00 0001e000 00042000
I (95) boot: 4 ota_0 OTA app 00 10 00060000 001d0000
I (103) boot: 5 ota_1 OTA app 00 11 00230000 001d0000
I (110) boot: End of partition table
I (115) esp_image: segment 0: paddr=00060020 vaddr=3c160020 size=312d0h (201424) map
I (167) esp_image: segment 1: paddr=000912f8 vaddr=3fc95400 size=038c4h ( 14532) load
I (171) esp_image: segment 2: paddr=00094bc4 vaddr=40380000 size=0b454h ( 46164) load
I (184) esp_image: segment 3: paddr=000a0020 vaddr=42000020 size=15315ch (1388892) map
I (488) esp_image: segment 4: paddr=001f3184 vaddr=4038b454 size=09e00h ( 40448) load
I (498) esp_image: segment 5: paddr=001fcf8c vaddr=50000000 size=00018h ( 24) load
I (505) boot: Loaded app from partition at offset 0x60000
I (505) boot: Disabling RNG early entropy source...
no external 32k oscillator, disable it now.
at param mode: 1
module_name: ESP32C3-SPI
max tx power=78, ret=0
v3.2.0.0
测试固件:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x1 (POWERON),boot:0xe (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1824
load:0x403cc710,len:0xb28
load:0x403ce710,len:0x2f6c
entry 0x403cc710
I (30) boot: ESP-IDF v5.0.2-376-g24b9d38-dirty 2nd stage bootloader
I (30) boot: compile time 14:32:21
I (30) boot: chip revision: v0.3
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32c3: SPI Speed : 80MHz
I (44) boot.esp32c3: SPI Mode : QIO
I (49) boot.esp32c3: SPI Flash Size : 2MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=0a570h ( 42352) map
I (110) esp_image: segment 1: paddr=0001a598 vaddr=3fc8e600 size=00e8ch ( 3724) load
I (114) esp_image: segment 2: paddr=0001b42c vaddr=40380000 size=04bech ( 19436) load
I (125) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=19420h (103456) map
I (144) esp_image: segment 4: paddr=00039448 vaddr=40384bec size=098b8h ( 39096) load
I (155) boot: Loaded app from partition at offset 0x10000
I (155) boot: Disabling RNG early entropy source...
I (166) cpu_start: Unicore app
I (166) cpu_start: Pro cpu up.
I (175) cpu_start: Pro cpu start user code
I (175) cpu_start: cpu freq: 160000000 Hz
I (175) cpu_start: Application information:
I (178) cpu_start: Project name: spi_master
I (183) cpu_start: App version: v3.2.0.0
I (188) cpu_start: Compile time: Aug 28 2023 15:06:40
I (194) cpu_start: ELF file SHA256: 984eca2c7f24370e...
I (200) cpu_start: ESP-IDF: v5.0.2-376-g24b9d38-dirty
I (207) cpu_start: Min chip rev: v0.3
I (211) cpu_start: Max chip rev: v0.99
I (216) cpu_start: Chip rev: v0.3
I (221) heap_init: Initializing. RAM available for dynamic allocation:
I (228) heap_init: At 3FC90360 len 0004C3B0 (304 KiB): DRAM
I (234) heap_init: At 3FCDC710 len 00002950 (10 KiB): STACK/DRAM
I (241) heap_init: At 50000020 len 00001FE0 (7 KiB): RTCRAM
I (248) spi_flash: detected chip: generic
I (252) spi_flash: flash io: qio
W (256) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (269) cpu_start: Starting scheduler.
I (274) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:1
I (283) SPI AT Master: now direct:255
I (287) uart: queue free spaces: 10
然后使用串口工具发送ATrn 没反应,请问我该如何排查,引脚连接我已经查了多次了,也用万用表测过没问题