Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NT99141 sensor not working properly (AIV-718) #298

Open
3 tasks done
G0804019u opened this issue Oct 15, 2024 · 0 comments
Open
3 tasks done

NT99141 sensor not working properly (AIV-718) #298

G0804019u opened this issue Oct 15, 2024 · 0 comments

Comments

@G0804019u
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

I tried build and flash human_face_detection example to ESP32-S3-EYE with OV2640 sensor, it works. But when i tried using NT99141, it gives very weird image

Actual behavior (suspected bug)

Tried both web and lcd from human_face_detection
This is the output i got from using web:

Screenshot 2024-10-15 at 17-03-22 ESP32 OV2460

For Lcd, after flashed i run monitor and the output are in terminal output

Error logs or terminal output

Executing action: monitor
Running idf_monitor in directory /home/justyn/esp/esp-who/examples/human_face_detection/lcd
Executing "/home/justyn/.espressif/python_env/idf5.3_py3.8_env/bin/python /home/justyn/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyACM0 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 /home/justyn/esp/esp-who/examples/human_face_detection/lcd/build/human_face_detection_lcd.elf -m '/home/justyn/.espressif/python_env/idf5.3_py3.8_env/bin/python' '/home/justyn/esp/esp-idf/tools/idf.py' '-p' '/dev/ttyACM0'"...
--- esp-idf-monitor 1.5.0 on /dev/ttyACM0 115200
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
I (199) esp_image: segment 4: paddr=00117e5c vaddr=4037a5ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x2a (SPI_FAST_FLASH_BOOT)
Saved PC:0x42069a1d
--- 0x42069a1d: dl_tie728_s16_depthwise_conv2d_33c1_relu at /home/gansichen/Workspace/delete/aigit/master/dl/components/dl/base/isa/tie728/dl_tie728_s16_depthwise_conv2d_block.S:393

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1918
load:0x403c8700,len:0x4
load:0x403c8704,len:0xdb4
load:0x403cb700,len:0x304c
entry 0x403c892c
I (26) boot: ESP-IDF v5.3.1 2nd stage bootloader
I (27) boot: compile time Oct 15 2024 17:36:46
I (27) boot: Multicore bootloader
I (27) boot: chip revision: v0.1
I (27) qio_mode: Enabling default flash chip QIO
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (28) boot.esp32s3: SPI Mode       : QIO
I (28) boot.esp32s3: SPI Flash Size : 8MB
I (28) boot: Enabling RNG early entropy source...
I (29) boot: Partition Table:
I (29) boot: ## Label            Usage          Type ST Offset   Length
I (29) boot:  0 factory          factory app      00 00 00010000 003c0000
I (29) boot:  1 nvs              WiFi data        01 02 003d0000 00004000
I (30) boot:  2 fr               Unknown data     01 06 003e0000 00020000
I (30) boot: End of partition table
I (30) esp_image: segment 0: paddr=00010020 vaddr=3c090020 size=75840h (481344) map
I (104) esp_image: segment 1: paddr=00085868 vaddr=3fc97500 size=042a8h ( 17064) load
I (107) esp_image: segment 2: paddr=00089b18 vaddr=40374000 size=06500h ( 25856) load
I (113) esp_image: segment 3: paddr=00090020 vaddr=42000020 size=87e34h (556596) map
I (197) esp_image: segment 4: paddr=00117e5c vaddr=4037a500 size=0cef8h ( 52984) load
I (216) boot: Loaded app from partition at offset 0x10000
I (216) boot: Disabling RNG early entropy source...
I (217) octal_psram: vendor id    : 0x0d (AP)
I (217) octal_psram: dev id       : 0x02 (generation 3)
I (218) octal_psram: density      : 0x03 (64 Mbit)
I (218) octal_psram: good-die     : 0x01 (Pass)
I (218) octal_psram: Latency      : 0x01 (Fixed)
I (218) octal_psram: VCC          : 0x01 (3V)
I (218) octal_psram: SRF          : 0x01 (Fast Refresh)
I (219) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (219) octal_psram: BurstLen     : 0x01 (32 Byte)
I (219) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (220) octal_psram: DriveStrength: 0x00 (1/1)
I (221) MSPI Timing: PSRAM timing tuning index: 5
I (221) esp_psram: Found 8MB PSRAM device
I (221) esp_psram: Speed: 80MHz
I (222) cpu_start: Multicore app
I (543) esp_psram: SPI SRAM memory test OK
I (551) cpu_start: Pro cpu start user code
I (551) cpu_start: cpu freq: 240000000 Hz
I (552) app_init: Application information:
I (552) app_init: Project name:     human_face_detection_lcd
I (552) app_init: App version:      v0.9.4-201-ge8dad5b
I (552) app_init: Compile time:     Oct 15 2024 17:36:42
I (552) app_init: ELF file SHA256:  c8880c0f3...
I (553) app_init: ESP-IDF:          v5.3.1
I (553) efuse_init: Min chip rev:     v0.0
I (553) efuse_init: Max chip rev:     v0.99 
I (553) efuse_init: Chip rev:         v0.1
I (553) heap_init: Initializing. RAM available for dynamic allocation:
I (554) heap_init: At 3FC9E8B8 len 0004AE58 (299 KiB): RAM
I (554) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (554) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (554) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (555) spi_flash: detected chip: generic
I (555) spi_flash: flash io: qio
W (557) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (561) sleep: Configure to isolate all GPIO pins in sleep state
I (561) sleep: Enable automatic switching of GPIO sleep configuration
I (562) main_task: Started on CPU0
I (572) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (572) main_task: Calling app_main()
I (572) who_camera: Camera module is ESP-S3-EYE
I (572) s3 ll_cam: DMA Channel=0
I (572) cam_hal: cam init ok
I (572) sccb: pin_sda 4 pin_scl 5
I (572) sccb: sccb_i2c_port=1
I (582) camera: Detected camera at address=0x2a
I (582) camera: Detected NT99141 camera
I (582) camera: Camera PID=0x1410 VER=0x00 MIDL=0x00 MIDH=0x00
I (942) s3 ll_cam: node_size: 3840, nodes_per_line: 1, lines_per_node: 8
I (942) s3 ll_cam: dma_half_buffer_min:  3840, dma_half_buffer: 11520, lines_per_half_buffer: 24, dma_buffer_size: 23040
I (942) cam_hal: buffer_size: 23040, half_buffer_size: 11520, node_buffer_size: 3840, node_cnt: 6, total_cnt: 10
I (942) cam_hal: Allocating 115200 Byte frame buffer in PSRAM
I (942) cam_hal: Allocating 115200 Byte frame buffer in PSRAM
I (942) cam_hal: cam config ok
I (1232) gpio: GPIO[43]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 
I (1352) S3-EYE: Setting LCD backlight: 100%
W (1532) cam_hal: FB-OVF
W (1622) cam_hal: FB-OVF
I (1792) main_task: Returned from app_main()
W (1822) cam_hal: FB-OVF
W (1922) cam_hal: FB-OVF
W (2022) cam_hal: FB-OVF
W (2122) cam_hal: FB-OVF
W (2222) cam_hal: FB-OVF
W (2322) cam_hal: FB-OVF
W (2412) cam_hal: FB-OVF
W (2512) cam_hal: FB-OVF
W (2612) cam_hal: FB-OVF
W (2712) cam_hal: FB-OVF
W (2812) cam_hal: FB-OVF
W (2912) cam_hal: FB-OVF
W (3012) cam_hal: FB-OVF
W (3102) cam_hal: FB-OVF
W (3202) cam_hal: FB-OVF
W (3302) cam_hal: FB-OVF
W (3402) cam_hal: FB-OVF
W (3502) cam_hal: FB-OVF
W (3602) cam_hal: FB-OVF
W (3702) cam_hal: FB-OVF
W (3792) cam_hal: FB-OVF
W (3892) cam_hal: FB-OVF
W (3992) cam_hal: FB-OVF
W (4092) cam_hal: FB-OVF
W (4192) cam_hal: FB-OVF
W (4292) cam_hal: FB-OVF

Steps to reproduce the behavior

  1. git clone ESP-IDF V5.3.1 and ESP-WHO from master
  2. use human_face_detection to build and flash (idf.py build, idf.py flash)
  3. Error Appears

Project release version

ESP-IDF V5.3.1 and ESP-WHO from master

System architecture

other (details in Additional context)

Operating system

Linux

Operating system version

Ubuntu 20.04

Shell

ZSH

Additional context

No response

@github-actions github-actions bot changed the title NT99141 sensor not working properly NT99141 sensor not working properly (AIV-718) Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant