{"action":"created","issue":{"url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/2","repository_url":"https://api.github.com/repos/igrr/esp32-cam-demo","labels_url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/2/comments","events_url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/2/events","html_url":"https://github.com/igrr/esp32-cam-demo/issues/2","id":190829694,"number":2,"title":" LEDC: div param err and GPIO interrupt type error for GPIO 26 and 27","user":{"login":"krzychb","id":12953787,"avatar_url":"https://avatars.githubusercontent.com/u/12953787?v=3","gravatar_id":"","url":"https://api.github.com/users/krzychb","html_url":"https://github.com/krzychb","followers_url":"https://api.github.com/users/krzychb/followers","following_url":"https://api.github.com/users/krzychb/following{/other_user}","gists_url":"https://api.github.com/users/krzychb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzychb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzychb/subscriptions","organizations_url":"https://api.github.com/users/krzychb/orgs","repos_url":"https://api.github.com/users/krzychb/repos","events_url":"https://api.github.com/users/krzychb/events{/privacy}","received_events_url":"https://api.github.com/users/krzychb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-21T20:39:00Z","updated_at":"2016-11-24T13:03:38Z","closed_at":null,"body":"Hi @igrr,\r\n\r\nI have connected the camera to ESP32_DevKitJ_V1 and flashed `esp32-cam-demo` application.\r\nCompilation was done using the latest esp-idf release.\r\n\r\nI have observed two issues:\r\n\r\n1. On start up LEDC as well as GPIO  26 and 27 interrupt type errors were reported:\r\n\r\n```\r\nets Jun  8 2016 00:22:57\r\n\r\nrst:0x1 (POWERON_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT)\r\nconfigsip: 0, SPIWP:0x00\r\nclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00\r\nmode:DIO, clock div:2\r\nload:0x3ffc0008,len:0\r\nload:0x3ffc0008,len:3592\r\nload:0x40078000,len:5264\r\nload:0x40080000,len:260\r\nentry 0x40080034\r\nI (26) boot: Espressif ESP32 2nd stage bootloader v. V0.1\r\nI (34) boot: compile time 21:10:59\r\nD (38) esp_image: reading image header @ 0x1000\r\nD (45) boot: magic e9\r\nD (48) boot: segments 04\r\nD (51) boot: spi_mode 02\r\nD (54) boot: spi_speed 00\r\nD (58) boot: spi_size 01\r\nI (61) boot: SPI Speed      : 40MHz\r\nI (66) boot: SPI Mode       : DIO\r\nI (71) boot: SPI Flash Size : 2MB\r\nI (76) boot: Partition Table:\r\nI (80) boot: ## Label            Usage          Type ST Offset   Length\r\nD (89) bootloader_flash: mmu set paddr=00000000 count=1\r\nD (97) boot: mapped partition table 0x8000 at 0x3f408000\r\nD (104) boot: load partition table entry 0x3f408000\r\nD (111) boot: type=1 subtype=2\r\nI (115) boot:  0 nvs              WiFi data        01 02 00009000 00006000\r\nD (125) boot: load partition table entry 0x3f408020\r\nD (132) boot: type=1 subtype=1\r\nI (136) boot:  1 phy_init         RF data          01 01 0000f000 00001000\r\nD (146) boot: load partition table entry 0x3f408040\r\nD (153) boot: type=0 subtype=0\r\nI (158) boot:  2 factory          factory app      00 00 00010000 00100000\r\nD (168) boot: load partition table entry 0x3f408060\r\nD (174) boot: type=ff subtype=ff\r\nI (179) boot: End of partition table\r\nI (184) boot: Loading app partition at offset 00010000\r\nD (191) esp_image: reading image header @ 0x10000\r\nD (198) esp_image: reading 9 image segments\r\nV (204) esp_image: loading segment header 0 at offset 0x10018\r\nV (212) esp_image: segment data length 0xffe8 data starts 0x10020\r\nD (221) bootloader_flash: mmu set paddr=00010000 count=2\r\nV (296) esp_image: loading segment header 0 at offset 0x10018\r\nV (297) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (297) esp_image: loading segment header 1 at offset 0x20008\r\nV (305) esp_image: segment data length 0x455c data starts 0x20010\r\nD (314) bootloader_flash: mmu set paddr=00020000 count=1\r\nV (340) esp_image: loading segment header 0 at offset 0x10018\r\nV (340) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (342) esp_image: loading segment header 1 at offset 0x20008\r\nV (350) esp_image: segment data length 0x455c data starts 0x20010\r\nV (359) esp_image: loading segment header 2 at offset 0x2456c\r\nV (367) esp_image: segment data length 0x1a7c data starts 0x24574\r\nD (376) bootloader_flash: mmu set paddr=00020000 count=1\r\nV (390) esp_image: loading segment header 0 at offset 0x10018\r\nV (392) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (400) esp_image: loading segment header 1 at offset 0x20008\r\nV (409) esp_image: segment data length 0x455c data starts 0x20010\r\nV (417) esp_image: loading segment header 2 at offset 0x2456c\r\nV (426) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (434) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (443) esp_image: segment data length 0x400 data starts 0x25ff8\r\nD (451) bootloader_flash: mmu set paddr=00020000 count=1\r\nV (460) esp_image: loading segment header 0 at offset 0x10018\r\nV (467) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (476) esp_image: loading segment header 1 at offset 0x20008\r\nV (484) esp_image: segment data length 0x455c data starts 0x20010\r\nV (493) esp_image: loading segment header 2 at offset 0x2456c\r\nV (501) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (510) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (518) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (527) esp_image: loading segment header 4 at offset 0x263f8\r\nV (535) esp_image: segment data length 0x12948 data starts 0x26400\r\nD (544) bootloader_flash: mmu set paddr=00020000 count=2\r\nV (631) esp_image: loading segment header 0 at offset 0x10018\r\nV (631) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (631) esp_image: loading segment header 1 at offset 0x20008\r\nV (639) esp_image: segment data length 0x455c data starts 0x20010\r\nV (648) esp_image: loading segment header 2 at offset 0x2456c\r\nV (656) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (665) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (673) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (682) esp_image: loading segment header 4 at offset 0x263f8\r\nV (690) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (699) esp_image: loading segment header 5 at offset 0x38d48\r\nV (707) esp_image: segment data length 0x0 data starts 0x38d50\r\nD (715) bootloader_flash: mmu set paddr=00030000 count=1\r\nV (723) esp_image: loading segment header 0 at offset 0x10018\r\nV (731) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (740) esp_image: loading segment header 1 at offset 0x20008\r\nV (748) esp_image: segment data length 0x455c data starts 0x20010\r\nV (757) esp_image: loading segment header 2 at offset 0x2456c\r\nV (765) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (774) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (783) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (791) esp_image: loading segment header 4 at offset 0x263f8\r\nV (799) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (808) esp_image: loading segment header 5 at offset 0x38d48\r\nV (817) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (825) esp_image: loading segment header 6 at offset 0x38d50\r\nV (833) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nD (842) bootloader_flash: mmu set paddr=00030000 count=2\r\nV (880) esp_image: loading segment header 0 at offset 0x10018\r\nV (881) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (881) esp_image: loading segment header 1 at offset 0x20008\r\nV (889) esp_image: segment data length 0x455c data starts 0x20010\r\nV (897) esp_image: loading segment header 2 at offset 0x2456c\r\nV (906) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (914) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (923) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (931) esp_image: loading segment header 4 at offset 0x263f8\r\nV (940) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (948) esp_image: loading segment header 5 at offset 0x38d48\r\nV (957) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (965) esp_image: loading segment header 6 at offset 0x38d50\r\nV (973) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nV (982) esp_image: loading segment header 7 at offset 0x40010\r\nV (990) esp_image: segment data length 0xf7c0 data starts 0x40018\r\nD (999) bootloader_flash: mmu set paddr=00040000 count=1\r\nV (1072) esp_image: loading segment header 0 at offset 0x10018\r\nV (1073) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1073) esp_image: loading segment header 1 at offset 0x20008\r\nV (1081) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1090) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1099) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1107) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1116) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (1125) esp_image: loading segment header 4 at offset 0x263f8\r\nV (1133) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (1142) esp_image: loading segment header 5 at offset 0x38d48\r\nV (1151) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (1159) esp_image: loading segment header 6 at offset 0x38d50\r\nV (1167) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nV (1176) esp_image: loading segment header 7 at offset 0x40010\r\nV (1185) esp_image: segment data length 0xf7c0 data starts 0x40018\r\nV (1194) esp_image: loading segment header 8 at offset 0x4f7d8\r\nV (1202) esp_image: segment data length 0x8 data starts 0x4f7e0\r\nD (1211) bootloader_flash: mmu set paddr=00040000 count=1\r\nV (1218) esp_image: unpadded image length 0x3f7e8\r\nV (1225) esp_image: padded image length 0x3f7f0\r\nD (1231) esp_image: reading checksum block at 0x4f7e0\r\nD (1239) esp_image: reading image header @ 0x10000\r\nD (1245) boot: bin_header: 233 9 2 1 400808fc\r\nV (1252) esp_image: loading segment header 0 at offset 0x10018\r\nV (1260) esp_image: segment data length 0xffe8 data starts 0x10020\r\nI (1269) boot: segment 0: paddr=0x00010018 vaddr=0x00000000 size=0x0ffe8 ( 65512)\r\nV (1280) esp_image: loading segment header 0 at offset 0x10018\r\nV (1288) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1297) esp_image: loading segment header 1 at offset 0x20008\r\nV (1306) esp_image: segment data length 0x455c data starts 0x20010\r\nD (1315) boot: found drom segment, map from 00020010 to 3f400010\r\nI (1323) boot: segment 1: paddr=0x00020008 vaddr=0x3f400010 size=0x0455c ( 17756) map\r\nV (1335) esp_image: loading segment header 0 at offset 0x10018\r\nV (1343) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1352) esp_image: loading segment header 1 at offset 0x20008\r\nV (1360) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1369) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1378) esp_image: segment data length 0x1a7c data starts 0x24574\r\nI (1387) boot: segment 2: paddr=0x0002456c vaddr=0x3ffb2c30 size=0x01a7c (  6780) load\r\nD (1398) bootloader_flash: mmu set paddr=00020000 count=1\r\nV (1409) esp_image: loading segment header 0 at offset 0x10018\r\nV (1414) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1423) esp_image: loading segment header 1 at offset 0x20008\r\nV (1432) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1440) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1449) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1458) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1466) esp_image: segment data length 0x400 data starts 0x25ff8\r\nI (1475) boot: segment 3: paddr=0x00025ff0 vaddr=0x40080000 size=0x00400 (  1024) load\r\nD (1487) bootloader_flash: mmu set paddr=00020000 count=1\r\nV (1495) esp_image: loading segment header 0 at offset 0x10018\r\nV (1503) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1512) esp_image: loading segment header 1 at offset 0x20008\r\nV (1520) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1529) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1537) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1546) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1555) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (1563) esp_image: loading segment header 4 at offset 0x263f8\r\nV (1572) esp_image: segment data length 0x12948 data starts 0x26400\r\nI (1581) boot: segment 4: paddr=0x000263f8 vaddr=0x40080400 size=0x12948 ( 76104) load\r\nD (1592) bootloader_flash: mmu set paddr=00020000 count=2\r\nV (1636) esp_image: loading segment header 0 at offset 0x10018\r\nV (1637) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1637) esp_image: loading segment header 1 at offset 0x20008\r\nV (1645) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1654) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1663) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1671) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1680) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (1689) esp_image: loading segment header 4 at offset 0x263f8\r\nV (1697) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (1706) esp_image: loading segment header 5 at offset 0x38d48\r\nV (1714) esp_image: segment data length 0x0 data starts 0x38d50\r\nI (1723) boot: segment 5: paddr=0x00038d48 vaddr=0x400c0000 size=0x00000 (     0) load\r\nD (1734) bootloader_flash: mmu set paddr=00030000 count=1\r\nV (1742) esp_image: loading segment header 0 at offset 0x10018\r\nV (1751) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1759) esp_image: loading segment header 1 at offset 0x20008\r\nV (1768) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1777) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1785) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1794) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1803) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (1811) esp_image: loading segment header 4 at offset 0x263f8\r\nV (1820) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (1829) esp_image: loading segment header 5 at offset 0x38d48\r\nV (1837) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (1846) esp_image: loading segment header 6 at offset 0x38d50\r\nV (1854) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nI (1863) boot: segment 6: paddr=0x00038d50 vaddr=0x00000000 size=0x072b8 ( 29368)\r\nV (1874) esp_image: loading segment header 0 at offset 0x10018\r\nV (1882) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (1891) esp_image: loading segment header 1 at offset 0x20008\r\nV (1900) esp_image: segment data length 0x455c data starts 0x20010\r\nV (1909) esp_image: loading segment header 2 at offset 0x2456c\r\nV (1917) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (1926) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (1934) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (1943) esp_image: loading segment header 4 at offset 0x263f8\r\nV (1952) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (1961) esp_image: loading segment header 5 at offset 0x38d48\r\nV (1969) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (1977) esp_image: loading segment header 6 at offset 0x38d50\r\nV (1986) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nV (1995) esp_image: loading segment header 7 at offset 0x40010\r\nV (2003) esp_image: segment data length 0xf7c0 data starts 0x40018\r\nD (2012) boot: found irom segment, map from 00040018 to 400d0018\r\nI (2021) boot: segment 7: paddr=0x00040010 vaddr=0x400d0018 size=0x0f7c0 ( 63424) map\r\nV (2032) esp_image: loading segment header 0 at offset 0x10018\r\nV (2041) esp_image: segment data length 0xffe8 data starts 0x10020\r\nV (2049) esp_image: loading segment header 1 at offset 0x20008\r\nV (2058) esp_image: segment data length 0x455c data starts 0x20010\r\nV (2067) esp_image: loading segment header 2 at offset 0x2456c\r\nV (2075) esp_image: segment data length 0x1a7c data starts 0x24574\r\nV (2084) esp_image: loading segment header 3 at offset 0x25ff0\r\nV (2093) esp_image: segment data length 0x400 data starts 0x25ff8\r\nV (2101) esp_image: loading segment header 4 at offset 0x263f8\r\nV (2110) esp_image: segment data length 0x12948 data starts 0x26400\r\nV (2119) esp_image: loading segment header 5 at offset 0x38d48\r\nV (2127) esp_image: segment data length 0x0 data starts 0x38d50\r\nV (2136) esp_image: loading segment header 6 at offset 0x38d50\r\nV (2144) esp_image: segment data length 0x72b8 data starts 0x38d58\r\nV (2153) esp_image: loading segment header 7 at offset 0x40010\r\nV (2161) esp_image: segment data length 0xf7c0 data starts 0x40018\r\nV (2170) esp_image: loading segment header 8 at offset 0x4f7d8\r\nV (2179) esp_image: segment data length 0x8 data starts 0x4f7e0\r\nI (2187) boot: segment 8: paddr=0x0004f7d8 vaddr=0x50000000 size=0x00008 (     8) load\r\nD (2199) bootloader_flash: mmu set paddr=00040000 count=1\r\nD (2207) boot: configure drom and irom and start\r\nV (2213) boot: d mmu set paddr=00020000 vaddr=3f400000 size=17764 n=1\r\nV (2222) boot: rc=0\r\nV (2225) boot: rc=0\r\nV (2228) boot: i mmu set paddr=00040000 vaddr=400d0000 size=63432 n=1\r\nV (2237) boot: rc=0\r\nV (2240) boot: rc=0\r\nD (2243) boot: start: 0x400808fc\r\nI (2248) heap_alloc_caps: Initializing heap allocator:\r\nI (2255) heap_alloc_caps: Region 19: 3FFB46AC len 0002B954 tag 0\r\nI (2263) heap_alloc_caps: Region 25: 3FFE8000 len 00018000 tag 1\r\nI (2272) cpu_start: Pro cpu up.\r\nI (2276) cpu_start: Single core mode\r\nI (2281) cpu_start: Pro cpu start user code\r\nrtc v134 Oct 20 2016 12:36:18\r\nXTAL 40M\r\nD (2320) nvs: nvs_flash_init_custom start=9 count=6\r\nD (2404) phy_init: loading PHY init data from application binary\r\nD (2405) nvs: nvs_open phy 0\r\nD (2406) nvs: nvs_get cal_version 4\r\nD (2409) nvs: nvs_get_str_or_blob cal_mac\r\nD (2444) nvs: nvs_get_str_or_blob cal_data\r\nD (2487) nvs: nvs_close 1\r\nI (2627) phy: phy_version: 246, Nov 18 2016, 17:30:07, 0, 0\r\n\r\nD (2628) nvs: nvs_open phy 1\r\nD (2628) nvs: nvs_set cal_version 4 1\r\nD (2634) nvs: nvs_set_blob cal_mac 6\r\nD (2664) nvs: nvs_set_blob cal_data 1904\r\nD (2750) nvs: nvs_close 2\r\nI (2751) cpu_start: Starting scheduler on PRO CPU.\r\nD (2759) camera: Enabling XCLK output\r\nE (2759) LEDC: div param err,div_param=3\r\nE (2759) camera: ledc_timer_config failed, rc=ffffffff\r\nI (2769) LEDC: LEDC_PWM CHANNEL 0|GPIO 21|Duty 0004|Time 0\r\nD (2769) camera: Initializing SSCB\r\nI (2779) GPIO: GPIO[26]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:12\r\nE (2779) GPIO: C:/msys32/esp-idf/components/driver/./gpio.c:143 (gpio_set_intr_type):GPIO interrupt type error\r\nI (2789) GPIO: GPIO[27]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 1| Intr:12\r\nE (2799) GPIO: C:/msys32/esp-idf/components/driver/./gpio.c:143 (gpio_set_intr_type):GPIO interrupt type error\r\nI (2809) GPIO: GPIO[26]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:12\r\nE (2819) GPIO: C:/msys32/esp-idf/components/driver/./gpio.c:143 (gpio_set_intr_type):GPIO interrupt type error\r\nI (2829) GPIO: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:12\r\nE (2839) GPIO: C:/msys32/esp-idf/components/driver/./gpio.c:143 (gpio_set_intr_type):GPIO interrupt type error\r\nD (2849) camera: Resetting camera\r\nD (2859) camera: Searching for camera address\r\nE (2859) camera: Camera address not found\r\nE (2859) camera_demo: Camera init failed with error = 131073\r\n```\r\n\r\n2. To be able to flash the code I have to power down the camera. Otherwise the following error is reported:\r\n\r\n```\r\nKrzysztof@tdk-kmb-op780 MSYS /esp/esp32-cam-demo\r\n$ make flash\r\nFlashing binaries to serial port com18 (app at offset 0x10000)...\r\nesptool.py v2.0-dev\r\nConnecting...\r\n\r\nA fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header\r\nmake: *** [C:/msys32/esp-idf/components/esptool_py/Makefile.projbuild:48: flash] Error 2\r\n```\r\nThis error shows up no matter if I power up the board and camera using USB power supply or external power supply.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/comments/262771767","html_url":"https://github.com/igrr/esp32-cam-demo/issues/2#issuecomment-262771767","issue_url":"https://api.github.com/repos/igrr/esp32-cam-demo/issues/2","id":262771767,"user":{"login":"krzychb","id":12953787,"avatar_url":"https://avatars.githubusercontent.com/u/12953787?v=3","gravatar_id":"","url":"https://api.github.com/users/krzychb","html_url":"https://github.com/krzychb","followers_url":"https://api.github.com/users/krzychb/followers","following_url":"https://api.github.com/users/krzychb/following{/other_user}","gists_url":"https://api.github.com/users/krzychb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzychb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzychb/subscriptions","organizations_url":"https://api.github.com/users/krzychb/orgs","repos_url":"https://api.github.com/users/krzychb/repos","events_url":"https://api.github.com/users/krzychb/events{/privacy}","received_events_url":"https://api.github.com/users/krzychb/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T13:03:38Z","updated_at":"2016-11-24T13:03:38Z","body":"@igrr,\r\n\r\nI did quick test and log looks promising.\r\nMore tests in the late afternoon.\r\nThank you for help!\r\n\r\n```\r\nets Jun  8 2016 00:22:57\r\n\r\nrst:0x1 (POWERON_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT)\r\nflash read err, 1000\r\nFalling back to built-in command interpreter.\r\nOK\r\n>ets Jun  8 2016 00:22:57\r\n\r\nrst:0x10 (RTCWDT_RTC_RESET),boot:0x1a (SPI_FAST_FLASH_BOOT)\r\nconfigsip: 0, SPIWP:0x00\r\nclk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00\r\nmode:DIO, clock div:2\r\nload:0x3ffc0008,len:0\r\nload:0x3ffc0008,len:1580\r\nload:0x40078000,len:3648\r\nho 0 tail 12 room 4\r\nload:0x40080000,len:256\r\nentry 0x40080034\r\nI (348) heap_alloc_caps: Initializing heap allocator:\r\nI (349) heap_alloc_caps: Region 19: 3FFB46AC len 0002B954 tag 0\r\nI (349) heap_alloc_caps: Region 25: 3FFE8000 len 00018000 tag 1\r\nI (356) cpu_start: Pro cpu up.\r\nI (360) cpu_start: Single core mode\r\nI (365) cpu_start: Pro cpu start user code\r\nrtc v134 Oct 20 2016 12:36:18\r\nXTAL 40M\r\nD (403) nvs: nvs_flash_init_custom start=9 count=6\r\nD (438) phy_init: loading PHY init data from application binary\r\nD (439) nvs: nvs_open phy 0\r\nD (440) nvs: nvs_get cal_version 4\r\nD (456) nvs: nvs_get_str_or_blob cal_mac\r\nD (491) nvs: nvs_get_str_or_blob cal_data\r\nD (533) nvs: nvs_close 1\r\nI (722) phy: phy_version: 246, Nov 18 2016, 17:30:07, 0, 0\r\n\r\nD (723) nvs: nvs_open phy 1\r\nD (724) nvs: nvs_set cal_version 4 1\r\nD (1116) nvs: nvs_set_blob cal_mac 6\r\nD (1121) nvs: nvs_set_blob cal_data 1904\r\nD (1183) nvs: nvs_close 2\r\nI (1184) cpu_start: Starting scheduler on PRO CPU.\r\nD (1185) camera: Enabling XCLK output\r\nI (1185) LEDC: LEDC_PWM CHANNEL 0|GPIO 21|Duty 0002|Time 0\r\nD (1185) camera: Initializing SSCB\r\nI (1185) GPIO: GPIO[26]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1195) GPIO: GPIO[27]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1205) GPIO: GPIO[26]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0\r\nI (1215) GPIO: GPIO[27]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0\r\nD (1225) camera: Resetting camera\r\nD (1235) camera: Searching for camera address\r\nD (1235) camera: Detected camera at address=0x21\r\nD (1235) camera: Camera PID=0x77 VER=0x21 MIDL=0x7f MIDH=0xa2\r\n\r\nD (1235) camera: Doing SW reset of sensor\r\nD (1295) camera: Setting frame size\r\nset_framesize: h=320 v=240\r\nD (1325) camera: Allocating frame buffer (320x240, 76800 bytes)\r\nD (1325) camera: Initializing I2S and DMA\r\nI (1325) GPIO: GPIO[35]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1325) GPIO: GPIO[34]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1335) GPIO: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1345) GPIO: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1355) GPIO: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1365) GPIO: GPIO[18]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1365) GPIO: GPIO[5]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1375) GPIO: GPIO[4]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1385) GPIO: GPIO[25]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1395) GPIO: GPIO[23]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nI (1405) GPIO: GPIO[22]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0\r\nD (1415) camera: Allocating DMA buffer #0, size=1280\r\nD (1415) camera: Allocating DMA buffer #1, size=1280\r\nD (1425) camera: Init done\r\nD (1425) camera_demo: Starting camera capture\r\nD (1425) camera: Waiting for VSYNC\r\nD (1445) camera: Got VSYNC\r\nD (1445) camera: Waiting for frame\r\nD (1475) camera: Frame done\r\n```"}}
{"actor":{"display_login":"krzychb"}}