Examples don't work

velocityzen
Posts: 1
Joined: Sun Dec 16, 2018 3:42 pm

Examples don't work

Postby velocityzen » Sun Dec 16, 2018 3:54 pm

Hello,

I'm new to this board. This is what I use:
macOS 10.14.2
xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0
esp-idf v3.3-beta1-4-g23b6d40c5
ESP32-DevKitC with esp32-wroom-32D and ESP32-PICO-KIT.

I tried to flash both but've got the same result.

I tried to run mdns example from the examples folder and it stuck with this in the monitor log:
Can anybody explain how to run this example please? (hello-world example works fine)

Code: Select all

mdns ❯ make monitor                                        
Toolchain path: /Users/velocityzen/Projects/esp/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
Toolchain version: crosstool-ng-1.22.0-80-g6c4433a
Compiler version: 5.2.0
Python requirements from /Users/velocityzen/Projects/esp/esp-idf/requirements.txt are satisfied.
MONITOR
--- idf_monitor on /dev/cu.SLAB_USBtoUART 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)
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:6224
ho 0 tail 12 room 4
load:0x40078000,len:10248
ho 0 tail 12 room 4
load:0x40080400,len:6616
entry 0x40080764
I (32) boot: ESP-IDF v3.3-beta1-4-g23b6d40c5 2nd stage bootloader
I (32) boot: compile time 10:38:32
I (32) boot: Enabling RNG early entropy source...
I (38) boot: SPI Speed      : 40MHz
I (42) boot: SPI Mode       : DIO
I (46) boot: SPI Flash Size : 4MB
I (50) boot: Partition Table:
I (54) boot: ## Label            Usage          Type ST Offset   Length
I (61) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (69) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (76) boot:  2 factory          factory app      00 00 00010000 00100000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x18fac (102316) map
I (132) esp_image: segment 1: paddr=0x00028fd4 vaddr=0x3ff80000 size=0x00000 (     0) load
I (133) esp_image: segment 2: paddr=0x00028fdc vaddr=0x3ff80000 size=0x00000 (     0) load
I (139) esp_image: segment 3: paddr=0x00028fe4 vaddr=0x3ffb0000 size=0x02ccc ( 11468) load
I (153) esp_image: segment 4: paddr=0x0002bcb8 vaddr=0x3ffb2ccc size=0x00000 (     0) load
I (157) esp_image: segment 5: paddr=0x0002bcc0 vaddr=0x40080000 size=0x00400 (  1024) load
0x40080000: _WindowOverflow4 at /Users/velocityzen/Projects/esp/esp-idf/components/freertos/xtensa_vectors.S:1685

I (166) esp_image: segment 6: paddr=0x0002c0c8 vaddr=0x40080400 size=0x03f48 ( 16200) load
I (182) esp_image: segment 7: paddr=0x00030018 vaddr=0x400d0018 size=0x6de44 (450116) map
0x400d0018: _stext at ??:?

I (341) esp_image: segment 8: paddr=0x0009de64 vaddr=0x40084348 size=0x0cf10 ( 53008) load
0x40084348: zalloc_internal_wrapper at /Users/velocityzen/Projects/esp/esp-idf/components/esp32/wifi_os_adapter.c:390

I (364) esp_image: segment 9: paddr=0x000aad7c vaddr=0x400c0000 size=0x00000 (     0) load
I (364) esp_image: segment 10: paddr=0x000aad84 vaddr=0x50000000 size=0x00000 (     0) load
I (371) esp_image: segment 11: paddr=0x000aad8c vaddr=0x50000000 size=0x00000 (     0) load
I (390) boot: Loaded app from partition at offset 0x10000
I (390) boot: Disabling RNG early entropy source...
I (391) cpu_start: Pro cpu up.
I (395) cpu_start: Application information:
I (400) cpu_start: Project name:     mdns-test
I (405) cpu_start: App version:      
I (409) cpu_start: Compile time:     10:38:29
I (414) cpu_start: Compile date:     Dec 16 2018
I (420) cpu_start: ESP-IDF:          v3.3-beta1-4-g23b6d40c5
I (426) cpu_start: Starting app cpu, entry point is 0x40081044
0x40081044: call_start_cpu1 at /Users/velocityzen/Projects/esp/esp-idf/components/esp32/cpu_start.c:261

I (0) cpu_start: App cpu up.
I (436) heap_init: Initializing. RAM available for dynamic allocation:
I (443) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (449) heap_init: At 3FFB93D8 len 00026C28 (155 KiB): DRAM
I (455) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (462) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (468) heap_init: At 40091258 len 0000EDA8 (59 KiB): IRAM
I (474) cpu_start: Pro cpu start user code
I (157) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (320) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (320) mdns-test: mdns hostname set to: [esp32-mdns_ddA448]
I (330) wifi: wifi driver task: 3ffc1f78, prio:23, stack:3584, core=0
I (330) wifi: wifi firmware version: 328353e
I (330) wifi: config NVS flash: enabled
I (340) wifi: config nano formating: disabled
I (340) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (350) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (380) wifi: Init dynamic tx buffer num: 32
I (380) wifi: Init data frame dynamic rx buffer num: 32
I (380) wifi: Init management frame dynamic rx buffer num: 32
I (380) wifi: Init static rx buffer size: 1600
I (390) wifi: Init static rx buffer num: 10
I (390) wifi: Init dynamic rx buffer num: 32
I (400) mdns-test: Setting WiFi configuration SSID Cotiq_iot...
I (460) phy: phy_version: 4000, b6198fa, Sep  3 2018, 15:11:06, 0, 0
I (460) wifi: mode : sta (30:ae:a4:dd:a4:48)
I (470) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0

Who is online

Users browsing this forum: No registered users and 134 guests