espressif / esp-who

Face detection and recognition framework
Other
1.67k stars 466 forks source link

Error cam_hal: FB-SIZE: 0 != 115200 on esp32-eye s3 (AIV-499) #202

Closed nikhil-robinson closed 2 years ago

nikhil-robinson commented 2 years ago

I was testing the ESP32-S3-EYE with esp-who human face detection But i am getting the bellow error,

SPIWP:0xee mode:DIO, clock div:1 load:0x3fcd0108,len:0x17f4 load:0x403b6000,len:0xb58 load:0x403ba000,len:0x2fb8 entry 0x403b61e4 I (24) boot: ESP-IDF v4.4-beta1-275-g214d62b9ad 2nd stage bootloader I (25) boot: compile time 16:59:59 I (25) boot: chip revision: 0 I (28) qio_mode: Enabling default flash chip QIO I (33) boot.esp32s3: Boot SPI Speed : 80MHz I (38) boot.esp32s3: SPI Mode : QIO I (43) boot.esp32s3: SPI Flash Size : 8MB I (48) boot: Enabling RNG early entropy source... W (53) bootloader_random: RNG for ESP32-S3 not currently supported I (60) boot: Partition Table: I (63) boot: ## Label Usage Type ST Offset Length I (71) boot: 0 factory factory app 00 00 00010000 003c0000 I (78) boot: 1 nvs WiFi data 01 02 003d0000 00004000 I (86) boot: 2 fr Unknown data 01 06 003e0000 00020000 I (93) boot: End of partition table I (97) esp_image: segment 0: paddr=00010020 vaddr=3c080020 size=7de94h (515732) map I (184) esp_image: segment 1: paddr=0008debc vaddr=3fc94cb0 size=0215ch ( 8540) load I (186) esp_image: segment 2: paddr=00090020 vaddr=42000020 size=7f34ch (521036) map I (269) esp_image: segment 3: paddr=0010f374 vaddr=3fc96e0c size=01bcch ( 7116) load I (270) esp_image: segment 4: paddr=00110f48 vaddr=40374000 size=10ca4h ( 68772) load I (288) esp_image: segment 5: paddr=00121bf4 vaddr=50000000 size=00010h ( 16) load I (295) boot: Loaded app from partition at offset 0x10000 I (295) boot: Disabling RNG early entropy source... W (296) bootloader_random: RNG for ESP32-S3 not currently supported I (304) opi psram: vendor id : 0x0d (AP) I (308) opi psram: dev id : 0x02 (generation 3) I (313) opi psram: density : 0x03 (64 Mbit) I (318) opi psram: good-die : 0x01 (Pass) I (323) opi psram: Latency : 0x01 (Fixed) I (328) opi psram: VCC : 0x01 (3V) I (333) opi psram: SRF : 0x01 (Fast Refresh) I (338) opi psram: BurstType : 0x01 (Hybrid Wrap) I (344) opi psram: BurstLen : 0x01 (32 Byte) I (349) opi psram: Readlatency : 0x02 (10 cycles@Fixed) I (355) opi psram: DriveStrength: 0x00 (1/1) W (360) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version. I (370) spiram: Found 64MBit SPI RAM device I (374) spiram: SPI RAM mode: sram 80m I (379) spiram: PSRAM initialized, cache is in normal (1-core) mode. I (386) cpu_start: Pro cpu up. I (390) cpu_start: Starting app cpu, entry point is 0x403754e4 0x403754e4: call_start_cpu1 at C:/Users/acer/esp/esp-idf/components/esp_system/port/cpu_start.c:156

I (0) cpu_start: App cpu up. I (685) spiram: SPI SRAM memory test OK I (693) cpu_start: Pro cpu start user code I (693) cpu_start: cpu freq: 240000000 I (693) cpu_start: Application information: I (694) cpu_start: Project name: human_face_detection_lcd I (694) cpu_start: App version: v0.9.3-145-g3f9d35f-dirty I (694) cpu_start: Compile time: Feb 1 2022 16:59:50 I (694) cpu_start: ELF file SHA256: 9dc92939ee3d492c... I (695) cpu_start: ESP-IDF: v4.4-beta1-275-g214d62b9ad I (695) heap_init: Initializing. RAM available for dynamic allocation: I (695) heap_init: At 3FC9BB90 len 00044470 (273 KiB): D/IRAM I (695) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM I (696) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM I (696) spiram: Adding pool of 8192K of external SPI memory to heap allocator I (697) spi_flash: detected chip: gd I (697) spi_flash: flash io: qio I (702) sleep: Configure to isolate all GPIO pins in sleep state I (702) sleep: Enable automatic switching of GPIO sleep configuration I (703) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (703) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (703) who_camera: Camera module is ESP-S3-EYE I (703) s3 ll_cam: DMA Channel=4 I (703) cam_hal: cam init ok I (703) sccb: pin_sda 4 pin_scl 5 I (723) camera: Detected camera at address=0x30 I (723) camera: Detected OV2640 camera I (723) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2 I (793) s3 ll_cam: node_size: 3840, nodes_per_line: 1, lines_per_node: 8 I (793) s3 ll_cam: dma_half_buffer_min: 3840, dma_half_buffer: 11520, lines_per_half_buffer: 24, dma_buffer_size: 23040 I (793) cam_hal: buffer_size: 23040, half_buffer_size: 11520, node_buffer_size: 3840, node_cnt: 6, total_cnt: 10 I (793) cam_hal: Allocating 115200 Byte frame buffer in PSRAM I (793) cam_hal: Allocating 115200 Byte frame buffer in PSRAM I (793) cam_hal: cam config ok I (793) ov2640: Set PLL: clk_2x: 1, clk_div: 3, pclk_auto: 1, pclk_div: 8 I (863) spi_bus: SPI2 bus created I (863) spi_bus: SPI2 bus device added, CS=44 Mode=0 Speed=40000000 I (863) lcd st7789: MADCTL=0 I (863) who_lcd: Screen name:ST7789 | width:240 | height:240 E (963) cam_hal: FB-SIZE: 0 != 115200 E (1013) cam_hal: FB-SIZE: 0 != 115200 E (1063) cam_hal: FB-SIZE: 0 != 115200 E (1113) cam_hal: FB-SIZE: 0 != 115200 E (1163) cam_hal: FB-SIZE: 0 != 115200

any help would be appreciated.

nikhil-robinson commented 2 years ago

The camera i got from the esp-eye-s3 was faulty. Changing the camera fixed the issue.