Skip to content

Repository files navigation

WT99P4C5-S1 Example Project

中文版本

Important

Please use ESP-IDF v5.5.5

This project is developed and verified with ESP-IDF v5.5.5 (commit: b774170ff46c393eeb5e495ea37936038d3f4f4f). Do not use other versions, otherwise build or runtime issues may occur.

Project Overview

This is a sample project based on the WT99P4C5_S1 development board, featuring a smartphone-like user interface built with the ESP-Brookesia UI framework. The project integrates various application functions including audio/video playback, camera, games, calculator, and supports computer vision features such as face detection and pedestrian detection.

Key Features

  • 🎯 Smartphone-style UI Interface - Built on ESP-Brookesia framework
  • 📱 Multiple Applications - Calculator, music player, video player, 2048 game, camera app
  • 🤖 AI Vision Features - Face detection and pedestrian detection
  • 🖥️ High-definition Display - Supports MIPI DSI interface display
  • 🎵 Audio Processing - Supports MP3 decoding and audio playback
  • 🎬 Video Processing - Supports H.264 video decoding (currently supports MJPEG format only)
  • 💾 Multi-storage Support - SPIFFS file system + SD card storage
  • 🌐 Network Connectivity - WiFi and Ethernet support
  • 📷 Camera Support - 1280x960 resolution camera

Video Player Feature

Supported Video Formats

Note

Video Playback Instructions

  • Save MJPEG format videos to the SD card and insert it into the SD card slot
  • Currently only supports MJPEG format videos
  • After inserting the SD card, the video player APP will automatically appear on the interface

Video Format Conversion

Tip

Video Format Conversion Method

  1. Install ffmpeg:
sudo apt update
sudo apt install ffmpeg
  1. Use ffmpeg for video conversion:
ffmpeg -i YOUR_INPUT_FILE_NAME.mp4 -vcodec mjpeg -q:v 2 -vf "scale=1024:600" -acodec copy YOUR_OUTPUT_FILE_NAME.mjpeg

Video Player Usage

  1. Prepare Video Files

    • Convert your video files to MJPEG format using the method above
    • Ensure the resolution is scaled to 1024x600 for optimal display
  2. Setup SD Card

    • Insert a formatted SD card into the SD card slot
    • Copy the converted MJPEG files to the SD card
  3. Launch Video Player

    • The video player application will automatically read the SD card
    • Select videos from the read file list to play

Environment Setup

Hardware Requirements

  • Development Board: WT99P4C5-S1 development board
WT99P4C5-S1
  • Display: MIPI DSI interface display (ek79007)
  • Storage: SD card (optional)
  • Camera: OV5647
  • Speaker: 3W

Software Environment Setup

1. Install ESP-IDF

Please install ESP-IDF v5.5.5 (commit: b774170ff46c393eeb5e495ea37936038d3f4f4f) according to the official documentation:

2. Clone Project

git clone <project_repository_url>
cd phone_wt99p4c5_s1_board

3. Configure Environment Variables

. ${IDF_PATH}/export.sh

4. Install Project Dependencies

# Install managed component dependencies
idf.py reconfigure

5. Build and Flash

# Configure project
idf.py menuconfig

# Build project
idf.py build

# Flash to device
idf.py flash

# View serial output
idf.py monitor

WiFi/BLE Usage

Description

  • ESP32P4 itself does not support WiFi, so using WiFi requires an additional coprocessor that supports WiFi/BLE
  • The current development board is equipped with ESP32C5, using SDIO communication

Usage

ESP32P4 Project Configuration

1. Configure the esp-hosted slave target

Open menuconfig and enter the corresponding configuration options to set ESP32C5 as the slave target.

(Top) → Component config → Wi-Fi Remote → choose slave target

Note

Pay attention to the pin configuration.

2. Configure the ESP32P4 chip revision

First check the module model on the development board. There are two variants: N16R32 and N16R32X.

2.1 N16R32
N16R32

In menuconfig, configure the following option:

(Top) → Component config → Hardware Settings → Chip revision
WT0132P4_A1_N16R32
2.2 N16R32X
N16R32X

In menuconfig, configure the following option:

(Top) → Component config → Hardware Settings → Chip revision
WT0132P4_A1_N16R32X

Clone ESP32C5 Project

git clone https://github.com/espressif/esp-hosted-mcu.git
cd esp-hosted-mcu/slave

Build and Flash

# Set target chip
idf.py set-target esp32c5

# Build project
idf.py build

# Flash to device
idf.py flash

# View serial output
idf.py monitor

Project Directory Structure

phone_wt99p4c5_s1_board/
├── main/                           # Main program source code
│   ├── main.cpp                    # Program entry point
│   ├── CMakeLists.txt              # Main program build configuration
│   └── idf_component.yml           # Component dependency configuration
├── components/                     # Custom components
│   ├── apps/                       # Application components
│   │   ├── calculator/             # Calculator application
│   │   ├── camera/                 # Camera application
│   │   ├── game_2048/              # 2048 game
│   │   ├── music_player/           # Music player
│   │   ├── setting/                # Settings application
│   │   └── video_player/           # Video player
│   ├── human_face_detect/          # Face detection component
│   ├── pedestrian_detect/          # Pedestrian detection component
│   ├── wt99p4c5_s1_board/          # Board Support Package (BSP)
│   └── bsp_extra/                  # Additional BSP functions
├── spiffs/                         # SPIFFS file system data
│   ├── music/                      # Music files
│   └── 2048/                       # 2048 game resources
├── mp4/                            # Video file directory
├── CMakeLists.txt                  # Top-level build configuration
├── sdkconfig.defaults              # Default SDK configuration
├── partitions.csv                  # Partition table configuration
└── README.md                       # Project documentation

Core Component Description

1. Main Program (main/)

  • main.cpp: Program entry point, initializes system, display, storage, network modules, and starts various applications

2. Applications (components/apps/)

  • calculator/: Calculator application supporting basic arithmetic operations
  • camera/: Camera application supporting photo capture and video preview
  • game_2048/: Classic 2048 number game
  • music_player/: Music player supporting MP3 format
  • setting/: System settings application
  • video_player/: Video player supporting H.264 format

3. AI Vision Components

  • human_face_detect/: Face detection algorithm implementation
  • pedestrian_detect/: Pedestrian detection algorithm implementation

4. Hardware Abstraction Layer

  • wt99p4c5_s1_board/: Board-specific BSP providing hardware initialization and driver interfaces
  • bsp_extra/: Extended BSP function modules

5. Storage and Resources

  • spiffs/: Built-in file system storing application resources and configuration files
  • mp4/: Video file storage directory

Partition Configuration

[!INFO] Custom Partition Table Description (partitions.csv)

  • nvs (24KB): Non-volatile storage for configuration data
  • phy_init (4KB): RF calibration data
  • factory (9MB): Application firmware
  • storage (4MB): SPIFFS file system

Development and Debugging

View Logs

idf.py monitor

[!INFO] Performance Monitoring Description Built-in memory monitoring function outputs memory usage every 5 seconds:

  • SRAM usage status
  • PSRAM usage status
  • Memory leak warnings

Common Configuration Options

Configure through idf.py menuconfig:

  • Display parameter settings
  • Camera resolution configuration
  • Audio sampling rate settings
  • Wi-Fi and Ethernet configuration

Component Library Version Requirements

Core Framework Dependencies

Component Name Version Requirement Description
ESP-IDF v5.5.0 (commit: cbe9388f45dd8f33fc560c9727d429e8e107d476) ESP32 development framework
espressif/esp-brookesia 0.4.2 Smartphone-style UI framework
lvgl/lvgl 8.4.0 Lightweight graphics library
espressif/esp_lvgl_port 2.6.0 LVGL porting layer

Video Processing Components

Component Name Version Requirement Target Chips Description
espressif/esp_video 0.8.0~3 ESP32P4 Video processing framework
espressif/esp_h264 1.1.2 ESP32S3/P4 H.264 codec
espressif/esp_jpeg 1.3.0 General JPEG image processing
espressif/esp_ipa 0.2.0 ESP32P4 Image processing accelerator

Display and Touch Components

Component Name Version Requirement Target Chips Description
espressif/esp_lcd_ek79007 1.0.2 ESP32P4 EK79007 display driver
espressif/esp_lcd_touch 1.1.2 General Touch screen base driver
esp_lcd_touch_gt911 1.1.3 General GT911 touch controller

Camera Components

Component Name Version Requirement Target Chips Description
espressif/esp_cam_sensor 0.9.0 ESP32P4 Camera sensor driver
espressif/esp_sccb_intf 0.0.5 General SCCB interface driver

Audio Processing Components

Component Name Version Requirement Description
espressif/esp_codec_dev 1.2.0 Audio codec device driver
chmorgan/esp-audio-player 1.0.7 Audio player library
chmorgan/esp-libhelix-mp3 1.0.3 MP3 decoder library

AI and Deep Learning Components

Component Name Version Requirement Target Chips Description
espressif/esp-dl 3.1.0 ESP32S3/P4 ESP deep learning inference framework

Network and Communication Components

Component Name Version Requirement Target Chips Description
espressif/esp_wifi_remote 0.14.2 ESP32P4/H2 WiFi remote control
espressif/esp_hosted 2.0.13 ESP32P4/H2 ESP hosted mode
espressif/eppp_link 0.3.1 General PPP protocol link
esp_serial_slave_link 1.1.0~1 General Serial slave device link

Tools and Utility Components

Component Name Version Requirement Description
espressif/cmake_utilities 0.5.3 CMake build tools
chmorgan/esp-file-iterator 1.0.0 File iterator utility

Version Compatibility Notes

Important

Critical Version Requirements

  1. ESP-IDF Version: Recommend using v5.5 specific commit version to ensure compatibility of all components
  2. Target Chips: Primarily targets ESP32P4 chip, some components also support ESP32S3
  3. Dependencies: Some components have interdependencies, please ensure version matching

Caution

Update Notice: When upgrading component versions, please check dependencies and compatibility to avoid incompatibility issues

Installing Specific Version Components

To install specific versions of components, specify in idf_component.yml:

dependencies:
  espressif/esp-brookesia:
    version: "0.4.2"
  espressif/esp_video:
    version: "0.8.0~3"
    rules:
      - if: "target == esp32p4"

log output

  • ESP32P4
ESP-ROM:esp32p4-eco2-20240710
Build:Jul 10 2024
rst:0x1 (POWERON),boot:0xf (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x4ff33ce0,len:0x17a4
load:0x4ff29ed0,len:0xf28
--- 0x4ff29ed0: esp_bootloader_get_description at /home/ferry/esp/idf55/components/esp_bootloader_format/esp_bootloader_desc.c:39

load:0x4ff2cbd0,len:0x3454
--- 0x4ff2cbd0: esp_flash_encryption_enabled at /home/ferry/esp/idf55/components/bootloader_support/src/flash_encrypt.c:89

entry 0x4ff29eda
--- 0x4ff29eda: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

I (25) boot: ESP-IDF v5.5-beta1-204-gcbe9388f45 2nd stage bootloader
I (26) boot: compile time Jul  4 2025 14:31:51
I (26) boot: Multicore bootloader
I (29) boot: chip revision: v1.0
I (30) boot: efuse block revision: v0.3
I (34) qio_mode: Enabling default flash chip QIO
I (38) boot.esp32p4: SPI Speed      : 80MHz
I (42) boot.esp32p4: SPI Mode       : QIO
I (46) boot.esp32p4: SPI Flash Size : 16MB
I (50) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (63) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (69) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (76) boot:  2 factory          factory app      00 00 00010000 00900000
I (82) boot:  3 storage          Unknown data     01 82 00910000 00400000
I (90) boot: End of partition table
I (93) esp_image: segment 0: paddr=00010020 vaddr=481d0020 size=405ecch (4218572) map
I (745) esp_image: segment 1: paddr=00415ef4 vaddr=30100000 size=00088h (   136) load
I (747) esp_image: segment 2: paddr=00415f84 vaddr=4ff00000 size=0a094h ( 41108) load
I (758) esp_image: segment 3: paddr=00420020 vaddr=48000020 size=1c1160h (1839456) map
I (1040) esp_image: segment 4: paddr=005e1188 vaddr=4ff0a094 size=138e8h ( 80104) load
I (1056) esp_image: segment 5: paddr=005f4a78 vaddr=4ff1d980 size=03d98h ( 15768) load
I (1061) esp_image: segment 6: paddr=005f8818 vaddr=50108080 size=00020h (    32) load
I (1069) boot: Loaded app from partition at offset 0x10000
I (1069) boot: Disabling RNG early entropy source...
I (1082) hex_psram: vendor id    : 0x0d (AP)
I (1082) hex_psram: Latency      : 0x01 (Fixed)
I (1082) hex_psram: DriveStr.    : 0x00 (25 Ohm)
I (1083) hex_psram: dev id       : 0x03 (generation 4)
I (1088) hex_psram: density      : 0x07 (256 Mbit)
I (1093) hex_psram: good-die     : 0x06 (Pass)
I (1097) hex_psram: SRF          : 0x02 (Slow Refresh)
I (1102) hex_psram: BurstType    : 0x00 ( Wrap)
I (1106) hex_psram: BurstLen     : 0x03 (2048 Byte)
I (1111) hex_psram: BitMode      : 0x01 (X16 Mode)
I (1115) hex_psram: Readlatency  : 0x04 (14 cycles@Fixed)
I (1120) hex_psram: DriveStrength: 0x00 (1/1)
I (1125) MSPI DQS: tuning success, best phase id is 0
I (1297) MSPI DQS: tuning success, best delayline id is 17
I esp_psram: Found 32MB PSRAM device
I esp_psram: Speed: 200MHz
I (1498) mmu_psram: .rodata xip on psram
I (1587) mmu_psram: .text xip on psram
I (1587) hex_psram: psram CS IO is dedicated
I (1588) cpu_start: Multicore app
I (1971) esp_psram: SPI SRAM memory test OK
I (1980) cpu_start: Pro cpu start user code
I (1980) cpu_start: cpu freq: 360000000 Hz
I (1980) app_init: Application information:
I (1980) app_init: Project name:     phone_p4_function_ev_board
I (1986) app_init: App version:      bcd94a6-dirty
I (1990) app_init: Compile time:     Jul  4 2025 17:55:56
I (1996) app_init: ELF file SHA256:  7e8b8b868...
I (2000) app_init: ESP-IDF:          v5.5-beta1-204-gcbe9388f45
I (2006) efuse_init: Min chip rev:     v0.1
I (2010) efuse_init: Max chip rev:     v1.99 
I (2014) efuse_init: Chip rev:         v1.0
I (2018) heap_init: Initializing. RAM available for dynamic allocation:
I (2024) heap_init: At 4FF256B0 len 00015910 (86 KiB): RAM
I (2029) heap_init: At 4FF3AFC0 len 00004BF0 (18 KiB): RAM
I (2034) heap_init: At 4FF40000 len 00040000 (256 KiB): RAM
I (2040) heap_init: At 501080A0 len 00007F60 (31 KiB): RTCRAM
I (2045) heap_init: At 30100088 len 00001F78 (7 KiB): TCM
I (2050) esp_psram: Adding pool of 26752K of PSRAM memory to heap allocator
I (2057) esp_psram: Adding pool of 59K of PSRAM memory gap generated due to end address alignment of irom to the heap allocator
I (2068) esp_psram: Adding pool of 40K of PSRAM memory gap generated due to end address alignment of drom to the heap allocator
I (2080) spi_flash: detected chip: generic
I (2083) spi_flash: flash io: qio
I (2086) host_init: ESP Hosted : Host chip_ip[18]
I (2100) H_API: ESP-Hosted starting. Hosted_Tasks: prio:23, stack: 5120 RPC_task_stack: 5120
sdio_mempool_create free:27610324 min-free:27610324 lfb-def:27262976 lfb-8bit:27262976

I (2107) H_API: ** add_esp_wifi_remote_channels **
I (2111) transport: Add ESP-Hosted channel IF[1]: S[0] Tx[0x4800d28c] Rx[0x4801cb3a]
--- 0x4800d28c: transport_drv_sta_tx at /home/ferry/workpro/phone_wt99p4c5_s1_board/managed_components/espressif__esp_hosted/host/drivers/transport/transport_drv.c:219
--- 0x4801cb3a: esp_wifi_remote_channel_rx at /home/ferry/workpro/phone_wt99p4c5_s1_board/managed_components/espressif__esp_wifi_remote/esp_wifi_remote_net.c:19

I (2119) transport: Add ESP-Hosted channel IF[2]: S[0] Tx[0x4800d1d2] Rx[0x4801cb3a]
--- 0x4800d1d2: transport_drv_ap_tx at /home/ferry/workpro/phone_wt99p4c5_s1_board/managed_components/espressif__esp_hosted/host/drivers/transport/transport_drv.c:249
--- 0x4801cb3a: esp_wifi_remote_channel_rx at /home/ferry/workpro/phone_wt99p4c5_s1_board/managed_components/espressif__esp_wifi_remote/esp_wifi_remote_net.c:19

I (2127) main_task: Started on CPU0
I (2130) main_task: Calling app_main()
I (2218) WT99P4C5_S1_BOARD: Partition size: total: 3848081, used: 3217067
I (2218) app_main: SPIFFS mount successfully
W (2218) ldo: The voltage value 0 is out of the recommended range [500, 2700]
W (2224) WT99P4C5_S1_BOARD: Warning: Long filenames on SD card are disabled in menuconfig!
I (2232) sdmmc_periph: sdmmc_host_init: SDMMC host already initialized, skipping init flow
I (2407) app_main: SD card mount successfully
W (2407) i2c.master: Please check pull-up resistances whether be connected properly. Otherwise unexpected behavior would happen. For more detailed information, please read docs
W (2416) i2s_common: dma frame num is adjusted to 256 to align the dma buffer with 64, bufsize = 512
W (2425) i2s_common: dma frame num is adjusted to 256 to align the dma buffer with 64, bufsize = 512
I (2438) ES8311: Work in Slave mode
I (2445) ES8311: Work in Slave mode
I (2448) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (2448) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (2452) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (2457) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (2478) Adev_Codec: Open codec device OK
I (2478) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (2478) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (2496) Adev_Codec: Open codec device OK
I (2496) app_main: Codec init successfully
I (2537) esp_eth.netif.netif_glue: 30:ed:a0:e0:ca:b1
I (2537) esp_eth.netif.netif_glue: ethernet attached to netif
I (6538) WT99P4C5_S1_BOARD: Ethernet Started
I (6538) app_main: Ethernet init successfully
I (6538) LVGL: Starting LVGL task
I (6609) GT911: TouchPad_ID:0x39,0x31,0x31
I (6609) GT911: TouchPad_Config_Version:70
W (6609) ledc: GPIO 20 is not usable, maybe conflict with others
I (6611) WT99P4C5_S1_BOARD: MIPI DSI PHY Powered on
I (6617) WT99P4C5_S1_BOARD: Install MIPI DSI LCD control panel
I (6621) WT99P4C5_S1_BOARD: Install EK79007 LCD control panel
I (6627) ek79007: version: 1.0.2
I (6783) WT99P4C5_S1_BOARD: Display initialized
I (6783) WT99P4C5_S1_BOARD: Display resolution 1024x600
E (6784) lcd_panel: esp_lcd_panel_swap_xy(50): swap_xy is not supported by this panel
I (6788) WT99P4C5_S1_BOARD: Setting LCD backlight: 100%
I (6793) app_main: Display ESP-Brookesia phone demo
[WARN] [esp_brookesia_core.cpp:46](getDisplaySize): Display is not set, use default display
[INFO] [esp_brookesia_core.cpp:204](beginCore): Library version: 0.4.1
[WARN] [esp_brookesia_phone_manager.cpp:72](begin): No touch device is set, try to use default touch device
[WARN] [esp_brookesia_phone_manager.cpp:76](begin): Using default touch device(@0x0x485dedac)
I (6895) file_iterator: File : BGM 1.mp3
I (6901) file_iterator: File : For Elise.mp3
I (6907) file_iterator: File : Something.mp3
I (6913) file_iterator: File : Waka Waka.mp3
I (6923) file_iterator: File : BGM 2.mp3
I (6924) EUI_Setting: Load ble_en: 0
I (6924) EUI_Setting: Load brightness: 95
I (6924) EUI_Setting: Load volume: 60
I (6926) EUI_Setting: Load wifi_en: 0
I (6929) bsp_extra_board: Setting volume: 60
I (6933) WT99P4C5_S1_BOARD: Setting LCD backlight: 95%
I (6939) transport: Attempt connection with slave: retry[0]
I (6943) transport: Reset slave using GPIO[54]
I (6947) os_wrapper_esp: GPIO [54] configured
I (7023) file_iterator: File : normal.mp3
I (7024) file_iterator: File : weak.mp3
I (7024) file_iterator: File : good.mp3
I (7024) file_iterator: File : excellent.mp3
I (7027) Game2048: Load score: 0
I (7032) ov5647: Detected Camera sensor PID=0x5647
I (7097) app_video: version: 0.8.0
I (7097) app_video: driver:  MIPI-CSI
I (7097) app_video: card:    MIPI-CSI
I (7097) app_video: bus:     esp32p4:MIPI-CSI
I (7100) app_video: width=1280 height=960
I (7120) app_camera_pipeline: new elements[0]:0x49198d04, internal:1
I (7136) app_camera_pipeline: new elements[1]:0x493f8d08, internal:1
I (7152) app_camera_pipeline: new elements[2]:0x49658d0c, internal:1
I (7168) app_camera_pipeline: new elements[3]:0x498b8d10, internal:1
I (7168) app_camera_pipeline: new pipeline 0x481c252c, elem_num:4
I (7169) app_camera_pipeline: new elements[0]:0x481c263c, internal:1
I (7175) app_camera_pipeline: new elements[1]:0x481c2690, internal:1
I (7181) app_camera_pipeline: new elements[2]:0x481c26e4, internal:1
I (7187) app_camera_pipeline: new elements[3]:0x481c2738, internal:1
I (7193) app_camera_pipeline: new pipeline 0x481c25b4, elem_num:4
I (7244) MEM:    Biggest /     Free /    Total
          SRAM : [136 / 180 / 400] KB
         PSRAM : [4992 / 5074 / 26851] KB
I (8627) sdio_wrapper: SDIO master: Slot 1, Data-Lines: 4-bit Freq(KHz)[40000 KHz]
I (8627) sdio_wrapper: GPIOs: CLK[18] CMD[19] D0[14] D1[15] D2[16] D3[17] Slave_Reset[54]
I (8627) H_SDIO_DRV: Starting SDIO process rx task
I (8631) sdio_wrapper: Queues: Tx[20] Rx[20] SDIO-Rx-Mode[1]
Name: 
Type: SDIO
Speed: 40.00 MHz (limit: 40.00 MHz)
Size: 0MB
CSD: ver=1, sector_size=0, capacity=0 read_bl_len=0
SCR: sd_spec=0, bus_width=0
TUPLE: DEVICE, size: 3: D9 01 FF 
TUPLE: MANFID, size: 4
  MANF: 0092, CARD: 6666
TUPLE: FUNCID, size: 2: 0C 00 
TUPLE: FUNCE, size: 4: 00 00 02 32 
TUPLE: CONFIG, size: 5: 01 01 00 02 07 
TUPLE: CFTABLE_ENTRY, size: 8
  INDX: C1, Intface: 1, Default: 1, Conf-Entry-Num: 1
  IF: 41
  FS: 30, misc: 0, mem_space: 1, irq: 1, io_space: 0, timing: 0, power: 0
  IR: 30, mask: 1,   IRQ: FF FF
  LEN: FFFF
TUPLE: END
I (8714) sdio_wrapper: Function 0 Blocksize: 512
I (8718) sdio_wrapper: Function 1 Blocksize: 512
I (8722) H_SDIO_DRV: SDIO Host operating in STREAMING MODE
I (8727) H_SDIO_DRV: generate slave intr
I (8739) transport: Received INIT event from ESP32 peripheral
I (8739) transport: EVENT: 12
I (8739) transport: EVENT: 11
I (8742) transport: capabilities: 0x1
I (8745) transport: Features supported are:
I (8749) transport:      * WLAN
I (8752) transport: EVENT: 13
I (8754) transport: ESP board type is : 23 

I (8759) transport: Base transport is set-up

I (8763) transport: Slave chip Id[12]
I (8766) hci_stub_drv: Host BT Support: Disabled
I (8771) H_SDIO_DRV: Received INIT event
I (8820) rpc_wrap: --- ESP Event: Slave ESP Init ---
I (10485) EUI_Setting: wifi_init done
I (12244) MEM:    Biggest /     Free /    Total
          SRAM : [136 / 177 / 400] KB
         PSRAM : [4992 / 5074 / 26851] KB
I (17244) MEM:    Biggest /     Free /    Total
          SRAM : [136 / 177 / 400] KB
         PSRAM : [4992 / 5074 / 26851] KB
I (22244) MEM:    Biggest /     Free /    Total
          SRAM : [136 / 177 / 400] KB
         PSRAM : [4992 / 5074 / 26851] KB
  • ESP32C5
ESP-ROM:esp32c5-eco2-20250121
Build:Jan 21 2025
rst:0x1 (POWERON),boot:0x38 (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x5f8
load:0x4084bba0,len:0xb1c
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

load:0x4084e5a0,len:0x2bd4
--- 0x4084e5a0: esp_flash_encryption_enabled at /home/ferry/esp/idf55/components/bootloader_support/src/flash_encrypt.c:89

entry 0x4084bba0
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

I (39) cpu_start: Unicore app
W (42) clk: esp_perip_clk_init() has not been implemented yet
I (47) cpu_start: Pro cpu start user code
I (47) cpu_start: cpu freq: 240000000 Hz
I (48) app_init: Application information:
I (48) app_init: Project name:     network_adapter
I (52) app_init: App version:      0c4aa5f
I (55) app_init: Compile time:     Jul  4 2025 18:20:35
I (60) app_init: ELF file SHA256:  0802c74bb...
I (65) app_init: ESP-IDF:          v5.5-beta1-204-gcbe9388f45
I (70) efuse_init: Min chip rev:     v1.0
I (74) efuse_init: Max chip rev:     v1.99 
I (78) efuse_init: Chip rev:         v1.0
I (82) heap_init: Initializing. RAM available for dynamic allocation:
I (88) heap_init: At 4082B500 len 000310A0 (196 KiB): RAM
I (93) heap_init: At 4085C5A0 len 00002F58 (11 KiB): RAM
I (98) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (104) spi_flash: detected chip: generic
I (107) spi_flash: flash io: dio
W (110) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (122) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (128) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (135) coexist: coex firmware version: 7b9a184
I (153) coexist: coexist rom version 78e5c6e42
I (154) main_task: Started on CPU0
I (154) main_task: Calling app_main()
I (154) fg_mcu_slave: *********************************************************************
I (161) fg_mcu_slave:                 ESP-Hosted-MCU Slave FW version :: 2.0.13                        
I (170) fg_mcu_slave:                 Transport used :: SDIO only                     
I (178) fg_mcu_slave: *********************************************************************
I (186) fg_mcu_slave: Supported features are:
I (190) fg_mcu_slave: - WLAN over SDIO
I (193) h_bt: - BT/BLE
I (195) h_bt:    - HCI Over SDIO
I (198) h_bt:    - BLE only
I (201) fg_mcu_slave: capabilities: 0xd
I (204) fg_mcu_slave: Supported extended features are:
I (209) h_bt: - BT/BLE (extended)
I (212) fg_mcu_slave: extended capabilities: 0x0
I (231) h_bt: ESP Bluetooth MAC addr: 30:ed:a0:e4:10:1a
I (231) BLE_INIT: Using main XTAL as clock source
I (231) BLE_INIT: ble controller commit:[35fe65f]
W (236) BLE_INIT: BLE modem sleep is enabled
I (237) BLE_INIT: Bluetooth MAC: 30:ed:a0:e4:10:1a
I (242) phy_init: phy_version 102,171bf417,Jun 12 2025,15:57:12
I (808) phy: libbtbb version: 09fb4d6, Jun 12 2025, 15:57:24
I (809) SDIO_SLAVE: Using SDIO interface
I (809) SDIO_SLAVE: sdio_init: sending mode: SDIO_SLAVE_SEND_STREAM
I (812) SDIO_SLAVE: sdio_init: ESP32 SDIO TxQ[20] timing[0]

ESP-ROM:esp32c5-eco2-20250121
Build:Jan 21 2025
rst:0x1 (POWERON),boot:0x38 (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x5f8
load:0x4084bba0,len:0xb1c
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

load:0x4084e5a0,len:0x2bd4
--- 0x4084e5a0: esp_flash_encryption_enabled at /home/ferry/esp/idf55/components/bootloader_support/src/flash_encrypt.c:89

entry 0x4084bba0
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

I (35) cpu_start: Unicore app
W (38) clk: esp_perip_clk_init() has not been implemented yet
I (43) cpu_start: Pro cpu start ESP-ROM:esp32c5-eco2-20250121
Build:Jan 21 2025
rst:0x1 (POWERON),boot:0x38 (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x408556b0,len:0x5f8
load:0x4084bba0,len:0xb1c
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

load:0x4084e5a0,len:0x2bd4
--- 0x4084e5a0: esp_flash_encryption_enabled at /home/ferry/esp/idf55/components/bootloader_support/src/flash_encrypt.c:89

entry 0x4084bba0
--- 0x4084bba0: call_start_cpu0 at /home/ferry/esp/idf55/components/bootloader/subproject/main/bootloader_start.c:25

I (35) cpu_start: Unicore app
W (38) clk: esp_perip_clk_init() has not been implemented yet
I (43) cpu_start: Pro cpu start user code
I (43) cpu_start: cpu freq: 240000000 Hz
I (44) app_init: Application information:
I (44) app_init: Project name:     network_adapter
I (48) app_init: App version:      0c4aa5f
I (52) app_init: Compile time:     Jul  4 2025 18:20:35
I (57) app_init: ELF file SHA256:  0802c74bb...
I (61) app_init: ESP-IDF:          v5.5-beta1-204-gcbe9388f45
I (66) efuse_init: Min chip rev:     v1.0
I (70) efuse_init: Max chip rev:     v1.99 
I (74) efuse_init: Chip rev:         v1.0
I (78) heap_init: Initializing. RAM available for dynamic allocation:
I (84) heap_init: At 4082B500 len 000310A0 (196 KiB): RAM
I (89) heap_init: At 4085C5A0 len 00002F58 (11 KiB): RAM
I (94) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (100) spi_flash: detected chip: generic
I (103) spi_flash: flash io: dio
W (106) spi_flash: Detected size(8192k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (118) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (124) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (131) coexist: coex firmware version: 7b9a184
I (149) coexist: coexist rom version 78e5c6e42
I (150) main_task: Started on CPU0
I (150) main_task: Calling app_main()
I (150) fg_mcu_slave: *********************************************************************
I (157) fg_mcu_slave:                 ESP-Hosted-MCU Slave FW version :: 2.0.13                        
I (166) fg_mcu_slave:                 Transport used :: SDIO only                     
I (174) fg_mcu_slave: *********************************************************************
I (182) fg_mcu_slave: Supported features are:
I (186) fg_mcu_slave: - WLAN over SDIO
I (189) h_bt: - BT/BLE
I (191) h_bt:    - HCI Over SDIO
I (194) h_bt:    - BLE only
I (197) fg_mcu_slave: capabilities: 0xd
I (200) fg_mcu_slave: Supported extended features are:
I (205) h_bt: - BT/BLE (extended)
I (208) fg_mcu_slave: extended capabilities: 0x0
I (227) h_bt: ESP Bluetooth MAC addr: 30:ed:a0:e4:10:1a
I (227) BLE_INIT: Using main XTAL as clock source
I (227) BLE_INIT: ble controller commit:[35fe65f]
W (232) BLE_INIT: BLE modem sleep is enabled
I (233) BLE_INIT: Bluetooth MAC: 30:ed:a0:e4:10:1a
I (238) phy_init: phy_version 102,171bf417,Jun 12 2025,15:57:12
I (802) phy: libbtbb version: 09fb4d6, Jun 12 2025, 15:57:24
I (803) SDIO_SLAVE: Using SDIO interface
I (803) SDIO_SLAVE: sdio_init: sending mode: SDIO_SLAVE_SEND_STREAM
I (806) SDIO_SLAVE: sdio_init: ESP32 SDIO TxQ[20] timing[0]

I (1676) fg_mcu_slave: Start Data Path
I (1683) fg_mcu_slave: Initial set up done
I (1683) slave_ctrl: event ESPInit
mem_dump free:82116 min-free:82064 lfb-dma:65536 lfb-def:65536 lfb-8bit:65536
I (1732) fg_mcu_slave: Slave init_config received from host
I (1732) fg_mcu_slave: Host capabilities: 44
I (1732) fg_mcu_slave: ESP<-Host high data throttle threshold [80%]
I (1736) fg_mcu_slave: ESP<-Host low data throttle threshold [60%]
I (2497) slave_ctrl: Resp_MSGId for req[0x116] is [0x216], uid 1
I (2497) slave_ctrl: Received Req [0x116]
I (2497) pp: pp rom version: 78a72e9d5
I (2499) net80211: net80211 rom version: 78a72e9d5
I (2505) wifi:wifi driver task: 4084ee70, prio:23, stack:6656, core=0
I (2518) wifi:wifi firmware version: 2dcd4f5
I (2518) wifi:wifi certification version: v7.0
I (2518) wifi:config NVS flash: enabled
I (2521) wifi:config nano formatting: disabled
I (2525) wifi:mac_version:HAL_MAC_ESP32AX_752MP_ECO2,ut_version:N, band mode:0x3
I (2533) wifi:Init data frame dynamic rx buffer num: 32
I (2537) wifi:Init static rx mgmt buffer num: 5
I (2541) wifi:Init management short buffer num: 32
I (2546) wifi:Init dynamic tx buffer num: 32
I (2550) wifi:Init static tx FG buffer num: 2
I (2554) wifi:Init static rx buffer size: 1700 (rxctrl:64, csi:512)
I (2560) wifi:Init static rx buffer num: 10
I (2564) wifi:Init dynamic rx buffer num: 32
I (2569) wifi_init: rx ba win: 6
I (2571) wifi_init: accept mbox: 6
I (2574) wifi_init: tcpip mbox: 32
I (2577) wifi_init: udp mbox: 6
I (2580) wifi_init: tcp mbox: 6
I (2583) wifi_init: tcp tx win: 5760
I (2586) wifi_init: tcp rx win: 5760
I (2589) wifi_init: tcp mss: 1440
I (2592) wifi_init: WiFi IRAM OP enabled
I (2596) wifi_init: WiFi RX IRAM OP enabled
I (2600) wifi_init: WiFi SLP IRAM OP enabled
I (2606) slave_ctrl: Resp_MSGId for req[0x104] is [0x204], uid 2
I (2610) slave_ctrl: Received Req [0x104]
I (2615) slave_ctrl: Resp_MSGId for req[0x118] is [0x218], uid 3
I (2619) slave_ctrl: Received Req [0x118]
W (2625) wifi:WDEV_RXCCK_DELAY:960
W (2626) wifi:WDEV_RXOFDM_DELAY:264
W (2629) wifi:WDEV_RX_11G_OFDM_DELAY:265
W (2633) wifi:WDEV_TXCCK_DELAY:630
W (2636) wifi:WDEV_TXOFDM_DELAY:94
W (2639) wifi:ACK_TAB0   :0x   90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (2648) wifi:CTS_TAB0   :0x   90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (2656) wifi:WDEVBEAMFORMCONF:0x61d7120, HE_BF_RPT_RA_SET_OPT:1
W (2661) wifi:WDEVVHTBEAMFORMCONF: 0x61d7120, WDEV_VHT_BEAMFORMEE_ENA: 1, WDEV_VHT_NG_SEL: 0
W (2670) wifi:(agc)0x600a7128:0xd21f0c20, min.avgNF:0xce->0xd2(dB), RCalCount:0x1f0, min.RRssi:0xc20(-62.00)
W (2679) wifi:MODEM_SYSCON_WIFI_BB_CFG_REG(0x600a9c18):0x10003802
W (2685) wifi:(phy)rate:0x0(  LP-1Mbps), pwr:20, txing:20
W (2690) wifi:(phy)rate:0x1(  LP-2Mbps), pwr:20, txing:20
W (2695) wifi:(phy)rate:0x2(LP-5.5Mbps), pwr:20, txing:20
W (2700) wifi:(phy)rate:0x3( LP-11Mbps), pwr:20, txing:20
W (2705) wifi:(phy)rate:0x5(  SP-2Mbps), pwr:20, txing:20
W (2711) wifi:(phy)rate:0x6(SP-5.5Mbps), pwr:20, txing:20
W (2716) wifi:(phy)rate:0x7( SP-11Mbps), pwr:20, txing:20
W (2721) wifi:(phy)rate:0x8(    48Mbps), pwr:17, txing:17
W (2726) wifi:(phy)rate:0x9(    24Mbps), pwr:19, txing:19
W (2731) wifi:(phy)rate:0xa(    12Mbps), pwr:19, txing:19
W (2736) wifi:(phy)rate:0xb(     6Mbps), pwr:19, txing:19
W (2741) wifi:(phy)rate:0xc(    54Mbps), pwr:17, txing:17
W (2746) wifi:(phy)rate:0xd(    36Mbps), pwr:19, txing:19
W (2752) wifi:(phy)rate:0xe(    18Mbps), pwr:19, txing:19
W (2757) wifi:(phy)rate:0xf(     9Mbps), pwr:19, txing:19
W (2762) wifi:(phy)rate:0x10, mcs:0x0, pwr(bw20:19, bw40:18), txing:19, HE pwr(bw20:19), txing:19
W (2770) wifi:(phy)rate:0x11, mcs:0x1, pwr(bw20:19, bw40:18), txing:19, HE pwr(bw20:19), txing:19
W (2779) wifi:(phy)rate:0x12, mcs:0x2, pwr(bw20:18, bw40:17), txing:18, HE pwr(bw20:18), txing:18
W (2788) wifi:(phy)rate:0x13, mcs:0x3, pwr(bw20:18, bw40:17), txing:18, HE pwr(bw20:18), txing:18
W (2796) wifi:(phy)rate:0x14, mcs:0x4, pwr(bw20:17, bw40:16), txing:17, HE pwr(bw20:17), txing:17
W (2805) wifi:(phy)rate:0x15, mcs:0x5, pwr(bw20:17, bw40:16), txing:17, HE pwr(bw20:17), txing:17
W (2813) wifi:(phy)rate:0x16, mcs:0x6, pwr(bw20:17, bw40:16), txing:17, HE pwr(bw20:17), txing:17
W (2822) wifi:(phy)rate:0x17, mcs:0x7, pwr(bw20:17, bw40:16), txing:17, HE pwr(bw20:17), txing:17
W (2831) wifi:(phy)rate:0x18, mcs:0x8, pwr(bw20:19, bw40:16), txing:19, HE pwr(bw20:16), txing:16
W (2839) wifi:(phy)rate:0x19, mcs:0x9, pwr(bw20:18, bw40:16), txing:18, HE pwr(bw20:15), txing:15
W (2848) wifi:(hal)co_hosted_bss:0, max_indicator:0, bitmask:0xff, mBSSIDsEnable:0
I (2855) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).

I (2862) wifi:mode : sta (30:ed:a0:e4:10:18)
I (2866) wifi:enable tsf
W (2868) wifi:(BB)enable busy check(0x18), disable idle check(0xaa)
I (2875) slave_ctrl: Sending Wi-Fi event [43]
I (2878) slave_ctrl: Sending Wi-Fi event [2]
I (2883) slave_ctrl: Resp_MSGId for req[0x101] is [0x201], uid 4
I (2888) slave_ctrl: Received Req [0x101]
I (2892) slave_ctrl: mac [30:ed:a0:e4:10:18]
mem_dump free:40644 min-free:40288 lfb-dma:23552 lfb-def:23552 lfb-8bit:23552
mem_dump free:40644 min-free:40288 lfb-dma:23552 lfb-def:23552 lfb-8bit:23552
mem_dump free:40644 min-free:40288 lfb-dma:23552 lfb-def:23552 lfb-8bit:23552

About

WT99P4C5-S1 Test Example

Resources

Stars

22 stars

Watchers

3 watching

Forks

Contributors

Languages