新买的esp32-s2-wrover模块下载程序之后系统跑不起来

felix_zhou1618
Posts: 6
Joined: Thu Oct 07, 2021 3:47 am

新买的esp32-s2-wrover模块下载程序之后系统跑不起来

Postby felix_zhou1618 » Sat Oct 30, 2021 6:27 am

新买的esp32-s2-wrover模块下载smart-panel下载程序之后系统跑不起来

SP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a18
load:0x4004c000,len:0xd5c
load:0x40050000,len:0x2ce0
entry 0x4004c244
用UART 115200 只打印了以上几行,后面是乱码,UART调成 2000000 也是乱码。

使用ESP32-S2-HMI-DevKit-1开发板,下载smart-panel应用(idf.py -p COMX flash)可以正常启动

SP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x1a18
load:0x4004c000,len:0xd5c
load:0x40050000,len:0x2ce0
entry 0x4004c244

boot: ESP-IDF v4.3.1-dirty 2nd stage bootloader[0m
[0;32mI (21) boot: compile time 21:00:24[0m
[0;32mI (21) boot: chip revision: 0[0m
[0;32mI (22) qio_mode: Enabling default flash chip QIO[0m
[0;32mI (22) boot.esp32s2: SPI Speed : 80MHz[0m
[0;32mI (22) boot.esp32s2: SPI Mode : QIO[0m
[0;32mI (22) boot.esp32s2: SPI Flash Size : 4MB[0m
[0;32mI (23) boot: Enabling RNG early entropy source...[0m
[0;32mI (23) boot: Partition Table:[0m
[0;32mI (23) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (23) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (24) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (24) boot: 2 factory factory app 00 00 00010000 00226000[0m
[0;32mI (25) boot: 3 storage Unknown data 01 82 00236000 001a9000[0m
[0;32mI (25) boot: End of partition table[0m
[0;32mI (25) esp_image: segment 0: paddr=00010020 vaddr=3f000020 size=10592ch (1071404) map[0m
[0;32mI (210) esp_image: segment 1: paddr=00115954 vaddr=3ffcb830 size=04508h ( 17672) load[0m
[0;32mI (214) esp_image: segment 2: paddr=00119e64 vaddr=40024000 size=061b4h ( 25012) load[0m
[0;32mI (219) esp_image: segment 3: paddr=00120020 vaddr=40080020 size=e8770h (952176) map[0m
[0;32mI (383) esp_image: segment 4: paddr=00208798 vaddr=4002a1b4 size=11678h ( 71288) load[0m
[0;32mI (399) esp_image: segment 5: paddr=00219e18 vaddr=50000000 size=00010h ( 16) load[0m
[0;32mI (411) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (411) boot: Disabling RNG early entropy source...[0m
[0;32mI (412) cache: Instruction cache : size 8KB, 4Ways, cache line size 32Byte[0m
[0;32mI (412) cache: Data cache : size 8KB, 4Ways, cache line size 32Byte[0m
[0;32mI (412) spiram: Found 16MBit SPI RAM device[0m
[0;32mI (412) spiram: SPI RAM mode: sram 80m[0m
[0;32mI (412) spiram: PSRAM initialized, cache is in normal (1-core) mode.[0m
[0;32mI (413) cpu_start: Pro cpu up.[0m
[0;32mI (632) spiram: SPI SRAM memory test OK[0m
[0;32mI (641) cpu_start: Pro cpu start user code[0m
[0;32mI (641) cpu_start: cpu freq: 240000000[0m
[0;32mI (641) cpu_start: Application information:[0m
[0;32mI (641) cpu_start: Project name: smart-panel[0m
[0;32mI (641) cpu_start: App version: v4.3.1-dirty[0m
[0;32mI (642) cpu_start: Compile time: Oct 14 2021 17:16:25[0m
[0;32mI (642) cpu_start: ELF file SHA256: 287b57eb9674271c...[0m
[0;32mI (642) cpu_start: ESP-IDF: v4.3.1-dirty[0m
[0;32mI (643) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (643) heap_init: At 3FF9E000 len 00002000 (8 KiB): RTCRAM[0m
[0;32mI (643) heap_init: At 3FFD5D70 len 00026290 (152 KiB): DRAM[0m
[0;32mI (644) heap_init: At 3FFFC000 len 00003A10 (14 KiB): DRAM[0m
[0;32mI (644) spiram: Adding pool of 2048K of external SPI memory to heap allocator[0m
[0;32mI (645) spi_flash: detected chip: generic[0m
[0;32mI (645) spi_flash: flash io: qio[0m
[0;32mI (649) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (660) i2c_bus: i2c0 bus inited[0m
[0;32mI (714) ESP32S2_I2S_LCD: lcd_buffer_size: 32000, lcd_dma_size: 4000, lcd_dma_node_cnt: 8[0m
[0;32mI (714) ESP32S2_I2S_LCD: lcd init ok[0m
[0;32mI (934) lcd rm68120: MADCTL=0x60[0m
[0;32mI (934) bsp_lcd: Screen name : [RM68120] | width : [800] | height : [480][0m
[0;32mI (941) lv_fs: Initializing SPIFFS as demo assets storage.[0m
[0;32mI (995) lv_fs: Partition size: total: 1592846, used: 1433963[0m
[0;32mI (996) sys_check: Check for PSRAM avaliable size[0m
[0;32mI (1053) sys_check: Check for PCM audio file in "Music" folder[0m
[0;32mI (3522) app_music: File[0] : Audio.pcm, Size : 133000, time : 3.016[0m
[0;32mI (3533) app_music: Find 1 muisc files on storage[0m
[0;32mI (3533) app_music: File name : [Audio.pcm], File size : [133000][0m
[0;32mI (3579) fs_hal: Open file : [/spiffs/Music/Audio.pcm][0m
[0;32mI (3580) app_music: Open file 0[0m
V (3624) esp_qcloud_mem: <esp_qcloud_device : 88> Alloc ptr: 0x3fe18f80, size: 20, heap free: 1465331[0m
V (3625) esp_qcloud_mem: <esp_qcloud_device : 219> Alloc ptr: 0x3fe18fa8, size: 20, heap free: 1462779[0m
I (3628) wifi:wifi driver task: 3fff4640, prio:23, stack:6656, core=0
[0;32mI (3628) system_api: Base MAC address is not set[0m
[0;32mI (3628) system_api: read default base MAC address from EFUSE[0m
I (3631) wifi:wifi firmware version: 88c8747
I (3631) wifi:wifi certification version: v7.0
I (3632) wifi:config NVS flash: enabled
I (3632) wifi:config nano formating: disabled
I (3632) wifi:Init data frame dynamic rx buffer num: 4
I (3632) wifi:Init management frame dynamic rx buffer num: 4
I (3632) wifi:Init management short buffer num: 32
I (3633) wifi:Init static tx buffer num: 4
I (3633) wifi:Init tx cache buffer num: 16
I (3633) wifi:Init static rx buffer size: 1600
I (3633) wifi:Init static rx buffer num: 4
I (3634) wifi:Init dynamic rx buffer num: 4
[0;32mI (3634) wifi_init: rx ba win: 4[0m
[0;32mI (3634) wifi_init: tcpip mbox: 32[0m
[0;32mI (3634) wifi_init: udp mbox: 6[0m
[0;32mI (3634) wifi_init: tcp mbox: 6[0m
[0;32mI (3635) wifi_init: tcp tx win: 5744[0m
[0;32mI (3635) wifi_init: tcp rx win: 5744[0m
[0;32mI (3635) wifi_init: tcp mss: 1440[0m
[0;32mI (3635) wifi_init: WiFi/LWIP prefer SPIRAM[0m
[0;32mI (3635) wifi_init: WiFi IRAM OP enabled[0m
[0;32mI (3636) wifi_init: WiFi RX IRAM OP enabled[0m
[0;32mI (3637) phy_init: phy_version 1800,e7ef680,Apr 13 2021,11:45:08[0m


也使用过 idf.py -p COM4 erase_flash 对模块内部FLASH进行清除的,买回来的模块打印是正常的(UART 115200)

不清楚问题出在哪里?请大伙帮忙分析一下

ESP_ICY
Posts: 404
Joined: Mon Aug 23, 2021 11:10 am

Re: 新买的esp32-s2-wrover模块下载程序之后系统跑不起来

Postby ESP_ICY » Mon Nov 01, 2021 6:41 am

你这边是直接使用的模组吗,是采用了什么方式进行串口通讯的呢

Who is online

Users browsing this forum: No registered users and 77 guests