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

ESP32D0WDQ6 - only can see picture no video #113

Open
arkn666l opened this issue Jun 23, 2023 · 2 comments
Open

ESP32D0WDQ6 - only can see picture no video #113

arkn666l opened this issue Jun 23, 2023 · 2 comments

Comments

@arkn666l
Copy link

arkn666l commented Jun 23, 2023

hi, thanks for this amazing work, now im testing this code... hard to compile to me, but with help with other friends here i can do it...

cam is added to homekit, i can see how the pictures refresh every some seconds, but when i tried to get inside to see.. esp reboot and goes offline.. i cant see video :(

>>> HomeKit: [Client 1] Resource
K\ܨDNW!ajesp32_camera: Resource payload: {"image-width":640,"image-height":480,"resource-type":"image"}2);["-Sltrue}]}q
[eXN"&\═╔╚398-f8c0136700c8::urn:schemas-upnp-org:device:EmbeddedIPCDevice:1


>>> HomeKit: [Client 1] Get Characteristics
>>> HomeKit: [Client 1] Requested characteristic info for 1.12 ("Streaming Status")
>>> HomeKit: [Client 1] Update Characteristics
>>> HomeKit: [Client 1] Updating characteristic 1.13 ("Setup Endpoints") with TLV:
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x401ebf0d  PS      : 0x00060630  A0      : 0x800d706b  A1      : 0x3ffc2940
0x401ebf0d: tlv_get_value at C:/esp32/esp32-homekit-camera/components/homekit/src/tlv.c:266

A2      : 0x043ffdf6  A3      : 0x00000001  A4      : 0x3f459ea0  A5      : 0x00000000
A6      : 0x0000000f  A7      : 0xff000000  A8      : 0x000000f6  A9      : 0x3ffc2920
A10     : 0x3ffdf874  A11     : 0x000000bc  A12     : 0x40085d04  A13     : 0x3ffdfa40
0x40085d04: _calloc_r at C:/esp32/esp-idf/components/newlib/syscalls.c:51

A14     : 0x3ffdf8f1  A15     : 0x3ffdfa41  SAR     : 0x00000004  EXCCAUSE: 0x0000001c
EXCVADDR: 0x043ffdfa  LBEG    : 0x40097a20  LEND    : 0x40097a2b  LCOUNT  : 0x00000000
0x40097a20: memset at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/memset.S:142

0x40097a2b: memset at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/memset.S:152


Backtrace: 0x401ebf0d:0x3ffc2940 0x400d7068:0x3ffc2960 0x40191e05:0x3ffc2990 0x4019517f:0x3ffc29c0 0x4019532b:0x3ffc2a30 0x40196b29:0x3ffc2a70 0x4019b71b:0x3ffc2a90 0x40193074:0x3ffc2ae0 0x40195717:0x3ffc2b10 0x40196cd1:0x3ff
c2b50 0x400910d5:0x3ffc2c10
0x401ebf0d: tlv_get_value at C:/esp32/esp32-homekit-camera/components/homekit/src/tlv.c:266

0x400d7068: camera_setup_endpoints_set at C:/esp32/esp32-homekit-camera/main/accessory.c:212

0x40191e05: homekit_characteristic_default_setter_ex at C:/esp32/esp32-homekit-camera/components/homekit/src/accessories.c:395

0x4019517f: process_characteristics_update at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:3059 (discriminator 1)

0x4019532b: homekit_server_on_update_characteristics at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:3105

0x40196b29: homekit_server_on_message_complete at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:3599

0x4019b71b: http_parser_execute at C:/esp32/esp32-homekit-camera/components/http-parser/http-parser/http_parser.c:2338

0x40193074: homekit_client_process at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:1258

0x40195717: homekit_run_server at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:4027

0x40196cd1: homekit_server_task at C:/esp32/esp32-homekit-camera/components/homekit/src/server.c:4195

0x400910d5: vPortTaskWrapper at C:/esp32/esp-idf/components/freertos/port.c:435

Rebooting...
ets Jun  8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6120
load:0x40078000,len:10180
load:0x40080400,len:6640
entry 0x40080760
I (29) boot: ESP-IDF v3.2 2nd stage bootloader
I (29) boot: compile time 06:15:13
I (29) boot: Enabling RNG early entropy source...
I (33) boot: SPI Speed      : 40MHz
I (38) boot: SPI Mode       : DIO
I (42) boot: SPI Flash Size : 4MB
I (46) boot: Partition Table:
I (49) boot: ## Label            Usage          Type ST Offset   Length
I (56) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (64) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (71) boot:  2 factory          factory app      00 00 00010000 00200000
I (79) boot: End of partition table
I (83) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x6b680 (439936) map
I (246) esp_image: segment 1: paddr=0x0007b6a8 vaddr=0x3ffb0000 size=0x04470 ( 17520) load
I (253) esp_image: segment 2: paddr=0x0007fb20 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at C:/esp32/esp-idf/components/freertos/xtensa_vectors.S:1779

I (254) esp_image: segment 3: paddr=0x0007ff28 vaddr=0x40080400 size=0x000e8 (   232) load
I (262) esp_image: segment 4: paddr=0x00080018 vaddr=0x400d0018 size=0x120198 (1180056) map
0x400d0018: _stext at ??:?

I (684) esp_image: segment 5: paddr=0x001a01b8 vaddr=0x400804e8 size=0x180f0 ( 98544) load
I (739) boot: Loaded app from partition at offset 0x10000
I (740) boot: Disabling RNG early entropy source...
I (742) spiram: Found 64MBit SPI RAM device
I (745) spiram: SPI RAM mode: flash 40m sram 40m
I (750) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (757) cpu_start: Pro cpu up.
I (761) cpu_start: Starting app cpu, entry point is 0x400813d0
0x400813d0: call_start_cpu1 at C:/esp32/esp-idf/components/esp32/cpu_start.c:246

I (753) cpu_start: App cpu up.
I (1642) spiram: SPI SRAM memory test OK
I (1643) heap_init: Initializing. RAM available for dynamic allocation:
I (1643) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1649) heap_init: At 3FFBC300 len 00023D00 (143 KiB): DRAM
I (1655) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1662) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1668) heap_init: At 400985D8 len 00007A28 (30 KiB): IRAM
I (1674) cpu_start: Pro cpu start user code
I (1679) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (23) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (24) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (124) wifi: wifi driver task: 3ffcbe50, prio:23, stack:3584, core=0
I (134) wifi: wifi firmware version: 9415913
I (134) wifi: config NVS flash: enabled
I (134) wifi: config nano formating: disabled
I (134) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (144) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (174) wifi: Init dynamic tx buffer num: 32
I (184) wifi: Init data frame dynamic rx buffer num: 32
I (184) wifi: Init management frame dynamic rx buffer num: 32
I (184) wifi: Init static tx buffer num: 16
I (184) wifi: Init static rx buffer size: 1600
I (194) wifi: Init static rx buffer num: 10
I (194) wifi: Init dynamic rx buffer num: 32
I (274) phy: phy_version: 4008, c9ae59f, Jan 25 2019, 16:54:06, 0, 0
I (274) wifi: mode : sta (58:bf:25:9e:f5:d8)
I (274) esp32_camera: STA start
I (394) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1524) wifi: state: init -> auth (b0)
I (1534) wifi: state: auth -> assoc (0)
I (1564) wifi: state: assoc -> run (10)
I (1614) wifi: connected with AustromexWiFi, channel 1
I (1614) wifi: pm start, type: 1

I (3624) event: sta ip: 192.168.3.197, mask: 255.255.252.0, gw: 192.168.2.1
I (3624) esp32_camera: WiFI ready
I (3624) esp32_camera: Free heap: 4362624
I (3624) gpio: GPIO[13]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3634) gpio: GPIO[14]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (3644) sccb: pin_sda 26 pin_scl 27

I (3654) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (3684) sccb: SCCB_Probe start
I (4174) sccb: SCCB_Probe start
I (4704) gpio: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4704) gpio: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4714) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4724) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4734) gpio: GPIO[21]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4744) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4754) gpio: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4764) gpio: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4774) gpio: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4784) gpio: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4784) gpio: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (4794) camera: Allocating 2 frame buffers (75 KB total)
I (4804) camera: Allocating 37 KB frame buffer in OnBoard RAM
I (4814) camera: Allocating 37 KB frame buffer in OnBoard RAM
>>> HomeKit: Starting server
I (4944) esp32_camera: Initializing streaming
>>> HomeKit: Using existing accessory ID: 55:E8:D4:0B:A9:B8
>>> HomeKit: Found admin pairing with 22CE9D54-D04F-4967-B8A3-F4CEC06368F6, disabling pair setup
I (4944) esp32_camera: Streaming initialized
>>> HomeKit: Configuring mDNS
>>> HomeKit: [Client 1] Got new client connection from 192.168.3.25
>>> HomeKit: [Client 1] Pair Verify Step 1/2
>>> HomeKit: [Client 1] Pair Verify Step 2/2
>>> HomeKit: [Client 1] Found pairing with 22CE9D54-D04F-4967-B8A3-F4CEC06368F6
>>> HomeKit: [Client 1] Verification successful, secure session established
>>> HomeKit: [Client 1] Get Accessories
I (9264) esp32_camera: Creating setup endpoints response
>>> HomeKit: [Client 1] Get Characteristics
>>> HomeKit: [Client 1] Requested characteristic info for 1.6 ("Firmware Revision")
>>> HomeKit: [Client 1] Update Characteristics
>>> HomeKit: [Client 1] Updating characteristic 1.14 ("Selected RTP Stream Configuration") with TLV:
>>> HomeKit: [Client 1] Update Characteristics
>>> HomeKit: [Client 1] Subscribed to notifications of characteristic 1.17 ("Mute")
>>> HomeKit: [Client 1] Subscribed to notifications of characteristic 1.16 ("Volume")
>>> HomeKit: [Client 1] Get Characteristics
>>> HomeKit: [Client 1] Requested characteristic info for 1.6 ("Firmware Revision")
>>> HomeKit: [Client 1] Resource
I (16834) esp32_camera: Resource payload: {"image-width":640,"image-height":480,"resource-type":"image"}w;
>>> HomeKit: [Client 1] Resource
I (28314) esp32_camera: Resource payload: {"image-width":640,"image-height":480,"resource-type":"image"}PUc@Dtrue}]}*B2nLW╗%P
                                                                                                                             {tKaފL#d={z═╔╚aRLLpRuDSHADDq7R1un\/1UFhLPS4+7E8AQEABSUCEARF35LFG2DTgHOslVOcgsQDDg8+r8eKR6R1aKcSqq
9tAQEA"}]}@4o&;-╗FM|A��ik.&x!|"k7{-Q:cG99د)PM¾P6o23vHUբU֨Ԁ


@LazaroFilm
Copy link

Same issue here. Compiled on MacOS

@linoDOTzip
Copy link

Same issue here. Compiled on MacOS

same issue

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

3 participants