Skip to content

Instantly share code, notes, and snippets.

@ctrochalakis
Created February 26, 2025 17:40
Show Gist options
  • Save ctrochalakis/eb1ac57b52db92aad9ad70dc910d31e5 to your computer and use it in GitHub Desktop.
Save ctrochalakis/eb1ac57b52db92aad9ad70dc910d31e5 to your computer and use it in GitHub Desktop.
INFO Successfully uploaded program.
INFO Starting log output from /dev/ttyACM0 with baud rate 115200
[19:34:35]I (132) esp_image: segment 1: paddr=00021b3c vaddr=3fc92b00 size=03b48h ( 15176) load
[19:34:35]I (136) esp_image: segment 2: paddr=0002568c vaddr=40374000 size=0a98ch ( 43404) load
[19:34:35]I (148) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=2db4ch (187212) map
[19:34:35]I (182) esp_image: segment 4: paddr=0005db74 vaddr=4037e98c size=04148h ( 16712) load
[19:34:35]I (192) boot: Loaded app from partition at offset 0x10000
[19:34:35]I (222) boot: Set actual ota_seq=1 in otadata[0]
[19:34:35]I (222) boot: Disabling RNG early entropy source...
[19:34:35]I (223) cpu_start: Multicore app
[19:34:35]I (226) octal_psram: vendor id : 0x0d (AP)
[19:34:35]I (231) octal_psram: dev id : 0x02 (generation 3)
[19:34:35]I (237) octal_psram: density : 0x03 (64 Mbit)
[19:34:35]I (242) octal_psram: good-die : 0x01 (Pass)
[19:34:35]I (247) octal_psram: Latency : 0x01 (Fixed)
[19:34:35]I (252) octal_psram: VCC : 0x01 (3V)
[19:34:35]I (258) octal_psram: SRF : 0x01 (Fast Refresh)
[19:34:35]I (263) octal_psram: BurstType : 0x01 (Hybrid Wrap)
[19:34:35]I (269) octal_psram: BurstLen : 0x01 (32 Byte)
[19:34:35]I (275) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
[19:34:35]I (281) octal_psram: DriveStrength: 0x00 (1/1)
[19:34:35]I (287) MSPI Timing: PSRAM timing tuning index: 5
[19:34:35]I (291) esp_psram: Found 8MB PSRAM device
[19:34:35]I (296) esp_psram: Speed: 80MHz
[19:34:35]I (300) cpu_start: Pro cpu up.
[19:34:35]I (304) cpu_start: Starting app cpu, entry point is 0x40375f38
[19:34:35]I (0) cpu_start: App cpu up.
[19:34:36]I (733) esp_psram: SPI SRAM memory test OK
[19:34:36]I (742) cpu_start: Pro cpu start user code
[19:34:36]I (742) cpu_start: cpu freq: 160000000 Hz
[19:34:36]I (742) cpu_start: Application information:
[19:34:36]I (742) cpu_start: Project name: m5cams3cpy
[19:34:36]I (742) cpu_start: App version: 2024.12.4
[19:34:36]I (742) cpu_start: Compile time: Feb 26 2025 17:33:57
[19:34:36]I (743) cpu_start: ELF file SHA256: c165d3950ac9ab9c...
[19:34:36]I (743) cpu_start: ESP-IDF: 5.1.5
[19:34:36]I (743) cpu_start: Min chip rev: v0.0
[19:34:36]I (743) cpu_start: Max chip rev: v0.99
[19:34:36]I (744) cpu_start: Chip rev: v0.2
[19:34:36]I (744) heap_init: Initializing. RAM available for dynamic allocation:
[19:34:36]I (744) heap_init: At 3FC97050 len 000526C0 (329 KiB): DRAM
[19:34:36]I (744) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
[19:34:36]I (745) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
[19:34:36]I (745) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
[19:34:36]I (746) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
[19:34:36]I (746) spi_flash: detected chip: gd
[19:34:36]I (747) spi_flash: flash io: dio
[19:34:36]I (747) sleep: Configure to isolate all GPIO pins in sleep state
[19:34:36]I (748) sleep: Enable automatic switching of GPIO sleep configuration
[19:34:36]I (748) app_start: Starting scheduler on CPU0
[19:34:36]I (748) app_start: Starting scheduler on CPU1
[19:34:36]I (748) main_task: Started on CPU0
[19:34:36]I (749) main_task: Calling app_main()
[19:34:36]I (865) main_task: Returned from app_main()
[19:34:36][I][logger:171]: Log initialized
[19:34:36][I][app:029]: Running through setup()...
[19:34:36][V][app:030]: Sorting components by setup priority...
[19:34:36][V][esp-idf:000]: I (867) s3 ll_cam: DMA Channel=0
[19:34:36]
[19:34:36][V][esp-idf:000]: I (868) cam_hal: cam init ok
[19:34:36]
[19:34:36][V][esp-idf:000]: I (868) sccb: pin_sda 17 pin_scl 41
[19:34:36]
[19:34:36][V][esp-idf:000]: I (869) sccb: sccb_i2c_port=1
[19:34:36]
[19:34:36][V][esp-idf:000]: I (869) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[19:34:36]
[19:34:36][V][esp-idf:000]: E (901) camera: Camera probe failed with error 0x105(ESP_ERR_NOT_FOUND)
[19:34:36]
[19:34:36][V][esp-idf:000]: E (902) gdma: gdma_disconnect(238): no peripheral is connected to the channel
[19:34:36]
[19:34:36][E][esp32_camera:024]: esp_camera_init failed: ESP_ERR_NOT_FOUND
[19:34:36][E][component:119]: Component esp32_camera was marked as failed.
[19:34:36][E][component:164]: Component esp32_camera set Error flag: unspecified
[19:34:36][I][app:062]: setup() finished successfully!
[19:34:36][I][app:100]: ESPHome version 2024.12.4 compiled on Feb 26 2025, 17:33:53
[19:34:36][C][logger:185]: Logger:
[19:34:36][C][logger:186]: Level: VERBOSE
[19:34:36][C][logger:188]: Log Baud Rate: 115200
[19:34:36][C][logger:189]: Hardware UART: USB_SERIAL_JTAG
[19:34:36][C][psram:020]: PSRAM:
[19:34:36][C][psram:021]: Available: YES
[19:34:36][C][psram:024]: Size: 8192 KB
[19:34:36][C][esp32_camera:048]: ESP32 Camera:
[19:34:36][C][esp32_camera:049]: Name: camera
[19:34:36][C][esp32_camera:050]: Internal: NO
[19:34:36][C][esp32_camera:051]: Data Pins: D0:6 D1:15 D2:16 D3:7 D4:5 D5:10 D6:4 D7:13
[19:34:36][C][esp32_camera:053]: VSYNC Pin: 42
[19:34:36][C][esp32_camera:054]: HREF Pin: 18
[19:34:36][C][esp32_camera:055]: Pixel Clock Pin: 12
[19:34:36][C][esp32_camera:056]: External Clock: Pin:11 Frequency:20000000
[19:34:36][C][esp32_camera:058]: I2C Pins: SDA:17 SCL:41
[19:34:36][C][esp32_camera:062]: Reset Pin: 21
[19:34:36][C][esp32_camera:080]: Resolution: 640x480 (VGA)
[19:34:36][E][esp32_camera:123]: Setup Failed: ESP_ERR_NOT_FOUND
[19:34:36][E][component:082]: Component esp32_camera is marked FAILED
# https://gr.mouser.com/new/m5stack/m5stack-u174-b-camera/
# https://docs.m5stack.com/en/unit/Unit-CAMS3%205MP
# https://www.reddit.com/r/Esphome/comments/1dt768b/esp32_camera_for_m5stack_cams3/
esp32:
board: esp32-s3-devkitc-1 #This is the ESP32-S3-WROOM-1-N16R8 module
flash_size: 16MB
framework:
#type: arduino
type: esp-idf
#version: "5.3.0"
#platform_version: "6.9.0"
#sdkconfig_options:
# CONFIG_ESP32S3_DEFAULT_CPU_FREQ_240: "y"
#CONFIG_ESP32S3_DATA_CACHE_64KB: "y"
#CONFIG_ESP32S3_DATA_CACHE_LINE_64B: "y"
psram:
mode: octal
speed: 80MHz
logger:
level: VERBOSE
esphome:
name: m5cams3cpy
friendly_name: m5cams3cpy
esp32_camera:
name: camera
external_clock:
pin: GPIO11
frequency: 20MHz
i2c_pins:
sda: GPIO17
scl: GPIO41
data_pins: [GPIO6, GPIO15, GPIO16, GPIO7, GPIO5, GPIO10, GPIO4, GPIO13]
vsync_pin: GPIO42
href_pin: GPIO18
pixel_clock_pin: GPIO12
reset_pin: GPIO21
resolution: 640x480 #800x600 #1600X1200
jpeg_quality: 12
#max_framerate: 10 fps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment