核心变更: - face_tracker.cc: YUYV→YVYU 序列修正(byte[1]=V, byte[3]=U), 基于 JPEG Dump 诊断工具验证 OV3660 FORMAT_CTRL00=0x61 实际是 YVYU - face_tracker.cc: 启动时 base64 打印一帧 JPEG 到串口,用于肉眼验证 - config.h: XCLK 20MHz→10MHz,给飞线信号完整性 2x 裕度 - scripts/auto_capture_jpeg.py: 自动串口抓帧工具(DTR/RTS 复位 + base64 解码) - scripts/extract_jpeg_from_log.py: 从日志离线提取 JPEG - Coglet项目分析与开发指南.md: 新增"六点六"章节,汇总 Phase 01 主要矛盾(画面可辨识≠模型可识别)、YUV→RGB 色偏三层原因、 esp-dl 模型输入分布敏感性、延迟分析、三方案对比、方案 B 突破口 - docs/: 新增 2 篇 OV3660 相关 CSDN 参考资料 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
149 lines
7.9 KiB
Plaintext
149 lines
7.9 KiB
Plaintext
rdzleo@RdzleodeMac-Studio CogletESP-camera-version % export IDF_PATH='/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf'
|
|
rdzleo@RdzleodeMac-Studio CogletESP-camera-version % '/Users/rdzleo/.espressif/python_env/idf5.4_py3.13_env/bin/python3' '/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/tools/idf_monitor.py' -p /dev/tty.usbmodem834401 -b 115200 --
|
|
toolchain-prefix xtensa-esp32s3-elf- --make ''/Users/rdzleo/.espressif/python_env/idf5.4_py3.13_env/bin/python3' '/Users/rdzleo/esp/esp-idf/v5.4.2/esp-idf/tools/idf.py'' --target esp32s3 '/Users/rdzleo/Desktop/CogletESP-came
|
|
ra-version/build/xiaozhi.elf'
|
|
--- Warning: Serial ports accessed as /dev/tty.* will hang gdb if launched.
|
|
--- Using /dev/cu.usbmodem834401 instead...
|
|
--- esp-idf-monitor 1.8.0 on /dev/cu.usbmodem834401 115200
|
|
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
|
|
ESP-ROM:esp32s3-20210327
|
|
Build:Mar 27 2021
|
|
rst:0x15 (USB_UART_CHIP_RESET),boot:0x8 (SPI_FAST_FLASH_BOOT)
|
|
Saved PC:0x40384d8e
|
|
--- 0x40384d8e: esp_cpu_wait_for_intr at /Users/rdzleo/esp/esp-idf/components/esp_hw_support/cpu.c:64
|
|
SPIWP:0xee
|
|
mode:DIO, clock div:1
|
|
load:0x3fce2820,len:0x56c
|
|
load:0x403c8700,len:0x4
|
|
load:0x403c8704,len:0xc30
|
|
load:0x403cb700,len:0x2e2c
|
|
entry 0x403c890c
|
|
I (37) octal_psram: vendor id : 0x0d (AP)
|
|
I (37) octal_psram: dev id : 0x02 (generation 3)
|
|
I (37) octal_psram: density : 0x03 (64 Mbit)
|
|
I (39) octal_psram: good-die : 0x01 (Pass)
|
|
I (43) octal_psram: Latency : 0x01 (Fixed)
|
|
I (47) octal_psram: VCC : 0x01 (3V)
|
|
I (51) octal_psram: SRF : 0x01 (Fast Refresh)
|
|
I (56) octal_psram: BurstType : 0x01 (Hybrid Wrap)
|
|
I (61) octal_psram: BurstLen : 0x01 (32 Byte)
|
|
I (65) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
|
|
I (71) octal_psram: DriveStrength: 0x00 (1/1)
|
|
I (75) MSPI Timing: PSRAM timing tuning index: 4
|
|
I (79) esp_psram: Found 8MB PSRAM device
|
|
I (83) esp_psram: Speed: 80MHz
|
|
I (86) cpu_start: Multicore app
|
|
I (100) cpu_start: Pro cpu start user code
|
|
I (100) cpu_start: cpu freq: 240000000 Hz
|
|
I (100) app_init: Application information:
|
|
I (100) app_init: Project name: xiaozhi
|
|
I (104) app_init: App version: 2.0.5
|
|
I (108) app_init: Compile time: Apr 20 2026 18:05:09
|
|
I (113) app_init: ELF file SHA256: cd6d6438e...
|
|
I (117) app_init: ESP-IDF: v5.4.2-390-g0f6b683441-dirty
|
|
I (123) efuse_init: Min chip rev: v0.0
|
|
I (127) efuse_init: Max chip rev: v0.99
|
|
I (131) efuse_init: Chip rev: v0.2
|
|
I (135) heap_init: Initializing. RAM available for dynamic allocation:
|
|
I (141) heap_init: At 3FCAFCE8 len 00039A28 (230 KiB): RAM
|
|
I (146) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
|
|
I (151) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
|
|
I (156) heap_init: At 600FE000 len 00001FD8 (7 KiB): RTCRAM
|
|
I (162) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
|
|
I (169) spi_flash: detected chip: generic
|
|
I (172) spi_flash: flash io: qio
|
|
I (175) sleep_gpio: Configure to isolate all GPIO pins in sleep state
|
|
I (181) sleep_gpio: Enable automatic switching of GPIO sleep configuration
|
|
I (188) main_task: Started on CPU0
|
|
I (198) esp_psram: Reserving pool of 64K of internal memory for DMA/internal allocations
|
|
I (198) main_task: Calling app_main()
|
|
I (198) uart: ESP_INTR_FLAG_IRAM flag not set while CONFIG_UART_ISR_IN_IRAM is enabled, flag updated
|
|
I (238) Board: UUID=fcb5789b-4c1b-41b1-9271-4e4b23b27178 SKU=bread-compact-wifi-s3cam
|
|
I (238) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
|
I (238) button: IoT Button Version: 4.1.6
|
|
I (238) gpio: GPIO[39]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
|
I (248) gpio: GPIO[40]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
|
I (258) gpio: GPIO[41]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
|
I (268) gpio: GPIO[42]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
|
|
I (298) ov3660: Detected Camera sensor PID=0x3660
|
|
I (428) Esp32Camera: Camera init success
|
|
E (428) CAM: camera ptr: 0x3fcca0b4
|
|
I (428) Application: STATE: starting
|
|
I (428) NoAudioCodec: Simplex channels created
|
|
I (428) AudioCodec: Set input enable to true
|
|
I (428) AudioCodec: Set output enable to true
|
|
I (438) AudioCodec: Audio codec started
|
|
I (438) pp: pp rom version: e7ae62f
|
|
I (438) net80211: net80211 rom version: e7ae62f
|
|
I (458) wifi:wifi driver task: 3fcdcaf4, prio:23, stack:6144, core=0
|
|
I (458) wifi:wifi firmware version: 3263cda
|
|
I (458) wifi:wifi certification version: v7.0
|
|
I (458) wifi:config NVS flash: disabled
|
|
I (468) wifi:config nano formatting: enabled
|
|
I (468) wifi:Init data frame dynamic rx buffer num: 6
|
|
I (468) wifi:Init dynamic rx mgmt buffer num: 5
|
|
I (478) wifi:Init management short buffer num: 32
|
|
I (478) wifi:Init dynamic tx buffer num: 32
|
|
I (488) wifi:Init static tx FG buffer num: 2
|
|
I (488) wifi:Init static rx buffer size: 1600
|
|
I (498) wifi:Init static rx buffer num: 3
|
|
I (498) wifi:Init dynamic rx buffer num: 6
|
|
I (498) wifi_init: rx ba win: 3
|
|
I (508) wifi_init: accept mbox: 6
|
|
I (508) wifi_init: tcpip mbox: 16
|
|
I (508) wifi_init: udp mbox: 6
|
|
I (508) wifi_init: tcp mbox: 6
|
|
I (518) wifi_init: tcp tx win: 5760
|
|
I (518) wifi_init: tcp rx win: 5760
|
|
I (518) wifi_init: tcp mss: 1440
|
|
I (528) phy_init: phy_version 701,f4f1da3a,Mar 3 2025,15:50:10
|
|
I (568) phy_init: Saving new calibration data due to checksum failure or outdated calibration data, mode(0)
|
|
I (618) wifi:mode : sta (20:6e:f1:b9:9a:28)
|
|
I (618) wifi:enable tsf
|
|
I (3028) WifiStation: Found AP: airhub, BSSID: 70:2a:d7:85:bc:eb, RSSI: -35, Channel: 1, Authmode: 3
|
|
W (3028) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
|
|
I (3128) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1, snd_ch_cfg:0x0
|
|
I (3128) wifi:state: init -> auth (0xb0)
|
|
I (3128) wifi:state: auth -> assoc (0x0)
|
|
I (3138) wifi:state: assoc -> run (0x10)
|
|
I (3168) wifi:connected with airhub, aid = 1, channel 1, BW20, bssid = 70:2a:d7:85:bc:eb
|
|
I (3168) wifi:security: WPA2-PSK, phy: bgn, rssi: -34
|
|
I (3168) wifi:pm start, type: 1
|
|
|
|
I (3178) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
|
|
I (3188) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
|
|
I (3198) wifi:<ba-add>idx:0 (ifx:0, 70:2a:d7:85:bc:eb), tid:0, ssn:0, winSize:64
|
|
I (3228) wifi:AP's beacon interval = 102400 us, DTIM period = 1
|
|
I (5758) esp_netif_handlers: sta ip: 192.168.124.53, mask: 255.255.255.0, gw: 192.168.124.1
|
|
I (5758) WifiStation: Got IP: 192.168.124.53
|
|
I (5758) Assets: The storage free size is 20224 KB
|
|
I (5758) Assets: The partition size is 6016 KB
|
|
I (5828) Assets: The checksum calculation time is 67 ms
|
|
create static modelsI (5828) MODEL_LOADER: Successfully load srmodels
|
|
I (5838) Assets: Refreshing display theme...
|
|
W (5838) Display: SetEmotion: microchip_ai
|
|
I (5838) Application: STATE: activating
|
|
W (5838) Display: SetStatus: 检查新版本...
|
|
I (5848) Ota: Current version: 2.0.5
|
|
I (6488) esp-x509-crt-bundle: Certificate validated
|
|
I (6918) HttpClient: Established new connection to api.tenclass.net:443
|
|
E (7238) Dynamic Impl: mbedtls_ssl_fetch_input error=29312
|
|
I (7238) HttpClient: HTTP connection closed
|
|
I (7238) Ota: Current is the latest version
|
|
I (7238) Ota: Running partition: ota_0
|
|
W (7248) Display: SetStatus: 登录服务器...
|
|
I (7248) MCP: Add tool: self.get_device_status
|
|
I (7248) MCP: Add tool: self.audio_speaker.set_volume
|
|
I (7258) MCP: Add tool: self.camera.take_photo
|
|
I (7258) MCP: Add tool: self.get_system_info [user]
|
|
I (7268) MCP: Add tool: self.reboot [user]
|
|
I (7268) MCP: Add tool: self.upgrade_firmware [user]
|
|
I (7278) MCP: Add tool: self.assets.set_download_url [user]
|
|
I (7278) MQTT: Connecting to endpoint mqtt.xiaozhi.me
|
|
I (7388) esp-x509-crt-bundle: Certificate validated
|
|
I (8048) MQTT: Connected to endpoint
|
|
I (15438) AudioCodec: Set input enable to false
|
|
I (15438) AudioCodec: Set output enable to false
|
|
I (15438) SystemInfo: free sram: 155443 minimal sram: 152567
|
|
I (25438) SystemInfo: free sram: 155407 minimal sram: 152567
|
|
I (35438) SystemInfo: free sram: 155443 minimal sram: 152567 |