Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)... esptool.py v2.1 Connecting...... Chip is ESP32D0WDQ6 (revision 0) Uploading stub... Running stub... Stub running... Changing baud rate to 921600 Changed. Configuring flash size... Auto-detected Flash size: 4MB Flash params set to 0x0220 Wrote 32768 bytes at 0x00001000 in 0.8 seconds (341.4 kbit/s)... Hash of data verified. Wrote 475136 bytes at 0x00010000 in 6.5 seconds (580.9 kbit/s)... Hash of data verified. Wrote 16384 bytes at 0x00008000 in 0.2 seconds (686.0 kbit/s)... Hash of data verified. Leaving... Hard resetting... MONITOR --- idf_monitor on /dev/ttyUSB0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) ets Jun 8 2016 00:22:57 rst:0x10 (RTCWDT_RTC_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:7980 load:0x40078000,len:0 load:0x40078000,len:15184 entry 0x400793f0 I (71) boot: Detected ESP32 I (32) boot: ESP-IDF v3.0-rc1 2nd stage bootloader I (32) boot: compile time 13:42:16 I (43) boot: Enabling RNG early entropy source... D (43) bootloader_flash: mmu set block paddr=0x00000000 (was 0xffffffff) D (46) boot: magic e9 D (48) boot: segments 04 D (51) boot: spi_mode 02 D (54) boot: spi_speed 00 D (56) boot: spi_size 02 I (59) boot: SPI Speed : 40MHz I (63) boot: SPI Mode : DIO I (67) boot: SPI Flash Size : 4MB D (71) bootloader_flash: mmu set paddr=00000000 count=1 D (76) boot: mapped partition table 0x8000 at 0x3f408000 D (82) flash_parts: partition table verified, 3 entries I (87) boot: Partition Table: I (91) boot: ## Label Usage Type ST Offset Length D (98) boot: load partition table entry 0x3f408000 D (103) boot: type=1 subtype=2 I (106) boot: 0 nvs WiFi data 01 02 00009000 00006000 D (113) boot: load partition table entry 0x3f408020 D (118) boot: type=1 subtype=1 I (122) boot: 1 phy_init RF data 01 01 0000f000 00001000 D (129) boot: load partition table entry 0x3f408040 D (134) boot: type=0 subtype=0 I (137) boot: 2 factory factory app 00 00 00010000 00100000 I (145) boot: End of partition table D (149) boot: Trying partition index -1 offs 0x10000 size 0x100000 D (155) esp_image: reading image header @ 0x10000 D (160) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff) D (167) esp_image: image header: 0xe9 0x07 0x02 0x01 40080f30 V (173) esp_image: loading segment header 0 at offset 0x10018 V (178) esp_image: segment data length 0xfd74 data starts 0x10020 V (185) esp_image: segment 0 map_segment 1 segment_data_offs 0x10020 load_addr 0x3f400020 I (193) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0fd74 ( 64884) map D (202) bootloader_flash: mmu set paddr=00010000 count=1 V (231) esp_image: loading segment header 1 at offset 0x1fd94 D (231) bootloader_flash: mmu set block paddr=0x00010000 (was 0xffffffff) V (232) esp_image: segment data length 0x274 data starts 0x1fd9c V (238) esp_image: segment 1 map_segment 0 segment_data_offs 0x1fd9c load_addr 0x3ffb0000 I (246) esp_image: segment 1: paddr=0x0001fd9c vaddr=0x3ffb0000 size=0x00274 ( 628) load D (255) bootloader_flash: mmu set paddr=00010000 count=2 V (261) esp_image: loading segment header 2 at offset 0x20010 D (267) bootloader_flash: mmu set block paddr=0x00020000 (was 0xffffffff) V (273) esp_image: segment data length 0x514a0 data starts 0x20018 V (280) esp_image: segment 2 map_segment 1 segment_data_offs 0x20018 load_addr 0x400d0018 0x400d0018: _stext at ??:? I (288) esp_image: segment 2: paddr=0x00020018 vaddr=0x400d0018 size=0x514a0 (332960) map 0x400d0018: _stext at ??:? D (297) bootloader_flash: mmu set paddr=00020000 count=6 V (422) esp_image: loading segment header 3 at offset 0x714b8 D (422) bootloader_flash: mmu set block paddr=0x00070000 (was 0xffffffff) V (423) esp_image: segment data length 0x2450 data starts 0x714c0 V (430) esp_image: segment 3 map_segment 0 segment_data_offs 0x714c0 load_addr 0x3ffb0274 I (438) esp_image: segment 3: paddr=0x000714c0 vaddr=0x3ffb0274 size=0x02450 ( 9296) load D (447) bootloader_flash: mmu set paddr=00070000 count=1 V (456) esp_image: loading segment header 4 at offset 0x73910 D (458) bootloader_flash: mmu set block paddr=0x00070000 (was 0xffffffff) V (465) esp_image: segment data length 0x400 data starts 0x73918 V (471) esp_image: segment 4 map_segment 0 segment_data_offs 0x73918 load_addr 0x40080000 0x40080000: _iram_start at /home/patrick/dev/uc/esp/esp-idf/components/freertos/./xtensa_vectors.S:1685 I (479) esp_image: segment 4: paddr=0x00073918 vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _iram_start at /home/patrick/dev/uc/esp/esp-idf/components/freertos/./xtensa_vectors.S:1685 D (488) bootloader_flash: mmu set paddr=00070000 count=1 V (494) esp_image: loading segment header 5 at offset 0x73d18 D (499) bootloader_flash: mmu set block paddr=0x00070000 (was 0xffffffff) V (506) esp_image: segment data length 0xf5d8 data starts 0x73d20 V (512) esp_image: segment 5 map_segment 0 segment_data_offs 0x73d20 load_addr 0x40080400 I (520) esp_image: segment 5: paddr=0x00073d20 vaddr=0x40080400 size=0x0f5d8 ( 62936) load D (529) bootloader_flash: mmu set paddr=00070000 count=2 V (561) esp_image: loading segment header 6 at offset 0x832f8 D (561) bootloader_flash: mmu set block paddr=0x00080000 (was 0xffffffff) V (562) esp_image: segment data length 0x0 data starts 0x83300 V (568) esp_image: segment 6 map_segment 0 segment_data_offs 0x83300 load_addr 0x400c0000 I (577) esp_image: segment 6: paddr=0x00083300 vaddr=0x400c0000 size=0x00000 ( 0) load D (586) bootloader_flash: mmu set paddr=00080000 count=1 V (591) esp_image: image start 0x00010000 end of last section 0x00083300 D (598) bootloader_flash: mmu set block paddr=0x00080000 (was 0xffffffff) D (605) esp_image: Calculated hash: e80f02f3 D (609) bootloader_flash: mmu set paddr=00080000 count=1 I (623) boot: Loaded app from partition at offset 0x10000 I (623) boot: Disabling RNG early entropy source... D (626) boot: Mapping segment 0 as IROM D (630) boot: Mapping segment 2 as DROM D (634) boot: calling set_cache_and_start_app D (638) boot: configure drom and irom and start V (643) boot: d mmu set paddr=00020000 vaddr=400d0000 size=332960 n=6 V (649) boot: rc=0 V (651) boot: rc=0 V (653) boot: i mmu set paddr=00010000 vaddr=3f400000 size=64884 n=1 V (660) boot: rc=0 V (662) boot: rc=0 D (664) boot: start: 0x40080f30 0x40080f30: call_start_cpu0 at /home/patrick/dev/uc/esp/esp-idf/components/esp32/./cpu_start.c:111 I (667) cpu_start: Pro cpu up. I (671) cpu_start: Single core mode I (676) heap_init: Initializing. RAM available for dynamic allocation: D (682) heap_init: New heap initialised at 0x3ffae6e0 I (687) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM D (694) heap_init: New heap initialised at 0x3ffb8120 I (699) heap_init: At 3FFB8120 len 00027EE0 (159 KiB): DRAM I (705) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM I (711) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM D (718) heap_init: New heap initialised at 0x4008f9d8 I (723) heap_init: At 4008F9D8 len 00010628 (65 KiB): IRAM I (729) cpu_start: Pro cpu start user code D (741) clk: RTC_SLOW_CLK calibration value: 3436019 V (79) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args V (79) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE D (84) intr_alloc: Connected src 46 to int 2 (cpu 0) V (90) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args V (95) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xC0E D (104) intr_alloc: Connected src 57 to int 3 (cpu 0) V (109) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args V (115) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0x40E D (123) intr_alloc: Connected src 24 to int 9 (cpu 0) I (129) cpu_start: Starting scheduler on PRO CPU. D (134) heap_init: New heap initialised at 0x3ffe0440 D (138) heap_init: New heap initialised at 0x3ffe4350 V (144) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): checking args V (144) intr_alloc: esp_intr_alloc_intrstatus (cpu 0): Args okay. Resulting flags 0xE D (144) intr_alloc: Connected src 16 to int 12 (cpu 0) D (164) nvs: nvs_flash_init_custom partition=nvs start=9 count=6 D (176) nvs: nvs_open_from_partition misc 1 D (176) nvs: nvs_get_str_or_blob log I (177) wifi: wifi firmware version: f204566 I (181) wifi: config NVS flash: enabled I (185) wifi: config nano formating: disabled I (189) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (198) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE D (208) nvs: nvs_open_from_partition nvs.net80211 1 D (213) nvs: nvs_get opmode 1 D (216) nvs: nvs_get_str_or_blob sta.ssid D (220) nvs: nvs_get_str_or_blob sta.mac D (224) nvs: nvs_get sta.authmode 1 D (228) nvs: nvs_get_str_or_blob sta.pswd D (232) nvs: nvs_get_str_or_blob sta.pmk D (236) nvs: nvs_get sta.chan 1 D (239) nvs: nvs_get auto.conn 1 D (242) nvs: nvs_get bssid.set 1 D (245) nvs: nvs_get_str_or_blob sta.bssid D (250) nvs: nvs_get sta.phym 1 D (253) nvs: nvs_get sta.phybw 1 D (256) nvs: nvs_get_str_or_blob sta.apsw D (260) nvs: nvs_get_str_or_blob sta.apinfo D (265) nvs: nvs_get sta.scan_method 1 D (268) nvs: nvs_get sta.sort_method 1 D (272) nvs: nvs_get sta.minrssi 1 D (276) nvs: nvs_get sta.minauth 1 D (279) nvs: nvs_get_str_or_blob ap.ssid D (283) nvs: nvs_get_str_or_blob ap.mac D (287) nvs: nvs_get_str_or_blob ap.passwd D (291) nvs: nvs_get_str_or_blob ap.pmk D (295) nvs: nvs_get ap.chan 1 D (298) nvs: nvs_get ap.authmode 1 D (302) nvs: nvs_get ap.hidden 1 D (305) nvs: nvs_get ap.max.conn 1 D (308) nvs: nvs_get bcn.interval 2 D (312) nvs: nvs_get ap.phym 1 D (315) nvs: nvs_get ap.phybw 1 D (318) nvs: nvs_get ap.sndchan 1 D (322) nvs: nvs_set_blob sta.mac 6 D (337) nvs: nvs_set_blob ap.mac 6 I (338) wifi: Init dynamic tx buffer num: 32 I (338) wifi: Init data frame dynamic rx buffer num: 32 I (340) wifi: Init management frame dynamic rx buffer num: 32 I (346) wifi: wifi driver task: 3ffbea78, prio:23, stack:4096 I (351) wifi: Init static rx buffer num: 10 I (355) wifi: Init dynamic rx buffer num: 32 I (359) wifi: wifi power manager task: 0x3ffc36c8 prio: 21 stack: 2560 I (366) WIFI: Setting WiFi station configuration SSID MPP_IoT... I (1358) WIFI: Setting WiFi access point configuration SSID ESP32... D (1359) RTC_MODULE: Wi-Fi takes adc2 lock. D (1359) phy_init: loading PHY init data from application binary D (1365) nvs: nvs_open_from_partition phy 0 D (1369) nvs: nvs_get cal_version 4 V (1373) phy_init: phy_get_rf_cal_version: 366 D (1377) nvs: nvs_get_str_or_blob cal_mac D (1382) nvs: nvs_get_str_or_blob cal_data D (1387) nvs: nvs_close 3 V (1388) phy_init: register_chipv7_phy, init_data=0x3f40e688, cal_data=0x3ffc38fc, mode=0 I (1431) phy: phy_version: 366.0, ba9923d, Oct 31 2017, 18:06:17, 0, 0 I (1433) wifi: mode : sta (24:0a:c4:00:51:5a) + softAP (24:0a:c4:00:51:5b) D (1437) event: SYSTEM_EVENT_STA_START V (1438) event: enter default callback D (1442) tcpip_adapter: check: local, if=0 fn=0x40117954 0x40117954: tcpip_adapter_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 D (1447) tcpip_adapter: call api in lwip: ret=0x0, give sem D (1453) tcpip_adapter: check: remote, if=0 fn=0x40117954 0x40117954: tcpip_adapter_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 V (1458) event: exit default callback I (1462) WIFI: SYSTEM_EVENT_STA_START D (1468) event: SYSTEM_EVENT_AP_START V (1470) event: enter default callback D (1474) tcpip_adapter: check: local, if=1 fn=0x40117954 0x40117954: tcpip_adapter_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 D (1480) tcpip_adapter: dhcp server start:(ip: 192.168.4.1, mask: 255.255.255.0, gw: 192.168.4.1) D (1489) tcpip_adapter: call api in lwip: ret=0x0, give sem D (1494) tcpip_adapter: check: remote, if=1 fn=0x40117954 0x40117954: tcpip_adapter_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 V (1500) event: exit default callback I (1588) wifi: ap channel adjust o:1,1 n:8,2 I (1589) wifi: n:8 0, o:1 0, ap:8 2, sta:8 0, prof:1 I (2576) wifi: state: init -> auth (b0) I (2582) wifi: state: auth -> assoc (0) I (2594) wifi: state: assoc -> run (10) I (2612) wifi: connected with MPP_IoT, channel 8 D (2613) event: SYSTEM_EVENT_STA_CONNECTED, ssid:MPP_IoT, ssid_len:7, bssid:34:31:c4:6c:9f:39, channel:8, authmode:3 V (2616) event: enter default callback D (2620) tcpip_adapter: check: local, if=0 fn=0x40117ba4 0x40117ba4: tcpip_adapter_up_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 D (2626) tcpip_adapter: call api in lwip: ret=0x0, give sem D (2631) tcpip_adapter: check: remote, if=0 fn=0x40117ba4 0x40117ba4: tcpip_adapter_up_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 D (2637) tcpip_adapter: check: local, if=0 fn=0x4011805c 0x4011805c: tcpip_adapter_dhcpc_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 D (2642) tcpip_adapter: dhcp client init ip/mask/gw to all-0 D (2648) tcpip_adapter: if0 start ip lost tmr: enter D (2653) tcpip_adapter: if0 start ip lost tmr: no need start because netif=0x3ffc4b04 interval=120 ip=0 D (2664) tcpip_adapter: dhcp client start successfully D (2668) tcpip_adapter: call api in lwip: ret=0x0, give sem D (2673) tcpip_adapter: check: remote, if=0 fn=0x4011805c 0x4011805c: tcpip_adapter_dhcpc_start_api at /home/patrick/dev/uc/esp/esp-idf/components/tcpip_adapter/./tcpip_adapter_lwip.c:1065 V (2679) event: exit default callback I (2683) WIFI: SYSTEM_EVENT_STA_CONNECTED D (3249) tcpip_adapter: if0 dhcpc cb D (3250) tcpip_adapter: if0 ip changed=1 D (3250) event: SYSTEM_EVENT_STA_GOT_IP, ip:192.168.188.26, mask:255.255.255.0, gw:192.168.188.1 V (3255) event: enter default callback I (3259) event: sta ip: 192.168.188.26, mask: 255.255.255.0, gw: 192.168.188.1 V (3267) event: exit default callback I (3270) WIFI: SYSTEM_EVENT_STA_GOT_IP