使用的板子是信泰微电子的esp32-s3-cam,在移植esp-who中的face-recongnition的terminal例子中可以实现功能,移植lcd例子在monitor中途出现乱码(其他lcd例子也是同样问题),espidf版本:5.3,esp-who版本:master,lcd由st7789驱动,串口显示如下:PS E:\esp32_Project\esp-who\examples\human_face_recognition\lcd> & set IDF_PATH='d:\software\Espidf-5.3\v5.3\esp-idf'
PS E:\esp32_Project\esp-who\examples\human_face_recognition\lcd> & 'D:\software\Espressif\python_env\idf5.3_py3.11_env\Scripts\python.exe' 'd:\software\Espidf-5.3\v5.3\esp-idf\tools\idf_monitor.py' -p COM6 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 'e:\esp32_Project\esp-who\examples\human_face_recognition\lcd\build\human_face_recognition_lcd.elf'
--- WARNING: GDB cannot open serial ports accessed as COMx
--- Using \\.\COM6 instead...
--- esp-idf-monitor 1.4.0 on \\.\COM6 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3fce2820,len:0x1918
load:0x403c8700,len:0x4
load:0x403c8704,len:0xe5c
load:0x403cb700,len:0x303c
entry 0x403c893c
I (31) boot: ESP-IDF v5.3-dirty 2nd stage bootloader
I (31) boot: compile time Nov 7 2024 15:37:01
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v0.2
I (38) qio_mode: Enabling default flash chip QIO
I (44) boot.esp32s3: Boot SPI Speed : 40MHz
I (49) boot.esp32s3: SPI Mode : QIO
I (53) boot.esp32s3: SPI Flash Size : 8MB
I (58) boot: Enabling RNG early entropy source...
I (63) boot: Partition Table:
I (67) boot: ## Label Usage Type ST Offset Length
I (74) boot: 0 factory factory app 00 00 00010000 003c0000
I (82) boot: 1 nvs WiFi data 01 02 003d0000 00004000
I (89) boot: 2 fr Unknown data 01 06 003e0000 00020000
I (97) boot: End of partition table
I (101) esp_image: segment 0: paddr=00010020 vaddr=3c0c0020 size=19fe28h (1703464) map
I (438) esp_image: segment 1: paddr=001afe50 vaddr=3fc97f00 size=001c8h ( 456) load
I (438) esp_image: segment 2: paddr=001b0020 vaddr=42000020 size=bf698h (784024) map
I (594) esp_image: segment 3: paddr=0026f6c0 vaddr=3fc980c8 size=04260h ( 16992) load
I (598) esp_image: segment 4: paddr=00273928 vaddr=40374000 size=13ed8h ( 81624) load
I (619) esp_image: segment 5: paddr=00287808 vaddr=600fe100 size=00004h ( 4) load
I (628) boot: Loaded app from partition at offset 0x10000
I (628) boot: Disabling RNG early entropy source...
I (640) octal_psram: vendor id : 0x0d (AP)
I (640) octal_psram: dev id : 0x02 (generation 3)
I (640) octal_psram: density : 0x03 (64 Mbit)
I (645) octal_psram: good-die : 0x01 (Pass)
I (650) octal_psram: Latency : 0x01 (Fixed)
I (655) octal_psram: VCC : 0x01 (3V)
I (660) octal_psram: SRF : 0x01 (Fast Refresh)
I (666) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (672) octal_psram: BurstLen : 0x01 (32 Byte)
I (677) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (684) octal_psram: DriveStrength: 0x00 (1/1)
I (689) MSPI Timing: PSRAM timing tuning index: 5
I (694) esp_psram: Found 8MB PSRAM device
I (699) esp_psram: Speed: 80MHz
I (703) cpu_start: Multicore app
I (1028) esp_psram: SPI SRAM memory test OK
I (1037) cpu_start: Pro cpu start user code
I (1037) cpu_start: cpu freq: 240000000 Hz
I (1037) app_init: Application information:
I (1040) app_init: Project name: human_face_recognition_lcd
I (1047) app_init: App version: v0.9.4-201-ge8dad5b-dirty
I (1053) app_init: Compile time: Nov 7 2024 15:36:49
I (1059) app_init: ELF file SHA256: 55c21b23d...
I (1065) app_init: ESP-IDF: v5.3-dirty
I (1070) efuse_init: Min chip rev: v0.0
I (1075) efuse_init: Max chip rev: v0.99
I (1080) efuse_init: Chip rev: v0.2
I (1085) heap_init: Initializing. RAM available for dynamic allocation:
I (1092) heap_init: At 3FCA07B0 len 00048F60 (291 KiB): RAM
I (1098) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (1105) heap_init: At 600FE104 len 00001EE4 (7 KiB): RTCRAM
I (1111) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (1119) spi_flash: detected chip: generic
I (1123) spi_flash: flash io: qio
W (1127) spi_flash: Detected size(16384k) larger than the size in the binary image header(8192k). Using the size in the binary image header.
W (1142) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (1160) sleep: Configure to isolate all GPIO pins in sleep state
I (1160) sleep: Enable automatic switching of GPIO sleep configuration
I (1166) main_task: Started on CPU0
I (1176) main_task: Calling app_main()
I (1176) who_camera: Camera module is CUSTOM
I (1176) s3 ll_cam: DMA Channel=0
I (1186) cam_hal: cam init ok
I (1186) sccb: pin_sda 4 pin_scl 5
I (1196) sccb: sccb_i2c_port=1
I (1206) camera: Detected camera at address=0x30
I (1206) camera: Detected OV2640 camera
I (1206) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (1286) s3 ll_cam: node_size: 3840, nodes_per_line: 1, lines_per_node: 8
I (1286) s3 ll_cam: dma_half_buffer_min: 3840, dma_half_buffer: 11520, lines_per_half_buffer: 24, dma_buffer_size: 23040
I (1296) cam_hal: buffer_size: 23040, half_buffer_size: 11520, node_buffer_size: 3840, node_cnt: 6, total_cnt: 10
I (1306) cam_hal: Allocating 115200 Byte frame buffer in PSRAM
I (1316) cam_hal: Allocating 115200 Byte frame buffer in PSRAM
I (1326) cam_hal: cam config ok
I (1326) ov2640: Set PLL: clk_2x: 1, clk_div: 3, pclk_auto: 1, pclk_div: 8
I (1406) button: IoT Button Version: 3.2.3
I (1406) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1416) MFN: fr partition size: 131072 bytes, maxminum 62 IDs can be stored
I (1416) MFN: No face��wvwwvwwvwvwwvwwvwwvwvwwvwvwwvwwvwwvwvwwvw��vwwvwgwvwwvwwvwvwwvwwvwvwwvww��wvwwvwwvwwwwvwwvwwvwvwwvwwvwv��wvwwvwvwwvwvwwvwvwwvwvwwvwvwwvwwvwvwwvwvwwvwvwwvwvwwv
wvwwvwvwwvwvwvwvwwvwvwwvwwwwvwwvwvwwvwwvwvvwvwwvwvwwvwwvww��vwvwwv��wvwwvwvwwvwwvwvwwv�wf�������������������������������������������������������������������������������������������
��������������������
esp32-s3-cam 移植 face-recongnition/lcd 串口出现乱码
Re: esp32-s3-cam 移植 face-recongnition/lcd 串口出现乱码
已经解决了,换了esp-who的v5版本
Who is online
Users browsing this forum: No registered users and 28 guests