ESP32-LyraT-Mini V1.2运行pipeline_raw_http例程连不上网

Strive
Posts: 5
Joined: Fri Mar 18, 2022 9:24 am

ESP32-LyraT-Mini V1.2运行pipeline_raw_http例程连不上网

Postby Strive » Mon Mar 21, 2022 7:13 am

硬件版本:ESP32-LyraT-Mini V1.2
软件版本:esp-idf : release V4.4 esp-adf : https://github.com/espressif/esp-adf.git 该链接的master版本
操作系统:win10
IDE:vscode
问题描述:在该环境下运行pipeline_raw_http例程始终没有联网过程,设备获取不到IP地址,log如下:
I (27) boot: ESP-IDF v4.4-dirty 2nd stage bootloader
I (27) boot: compile time 14:23:05
I (27) boot: chip revision: 3
I (30) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (38) boot.esp32: SPI Speed : 40MHz
I (42) boot.esp32: SPI Mode : DIO
I (47) boot.esp32: SPI Flash Size : 8MB
I (51) boot: Enabling RNG early entropy source...
I (57) boot: Partition Table:
I (60) boot: ## Label Usage Type ST Offset Length
I (68) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (75) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (82) boot: 2 factory factory app 00 00 00010000 00100000
I (90) boot: End of partition table
I (94) boot_comm: chip revision: 3, min. application chip revision: 0
I (101) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=2197ch (137596) map
I (160) esp_image: segment 1: paddr=000319a4 vaddr=3ffb0000 size=03928h ( 14632) load
I (166) esp_image: segment 2: paddr=000352d4 vaddr=40080000 size=0ad44h ( 44356) load
I (184) esp_image: segment 3: paddr=00040020 vaddr=400d0020 size=a1f5ch (663388) map
I (424) esp_image: segment 4: paddr=000e1f84 vaddr=4008ad44 size=0b658h ( 46680) load
I (444) esp_image: segment 5: paddr=000ed5e4 vaddr=50000000 size=00010h ( 16) load
I (455) boot: Loaded app from partition at offset 0x10000
I (455) boot: Disabling RNG early entropy source...
I (466) cpu_start: Pro cpu up.
I (467) cpu_start: Starting app cpu, entry point is 0x40081368
0x40081368: call_start_cpu1 at D:/esp/esp-idf/components/esp_system/port/cpu_start.c:156

I (0) cpu_start: App cpu up.
I (481) cpu_start: Pro cpu start user code
I (481) cpu_start: cpu freq: 160000000
I (481) cpu_start: Application information:
I (485) cpu_start: Project name: record_raw_http
I (491) cpu_start: App version: 1
I (495) cpu_start: Compile time: Mar 21 2022 14:41:15
I (502) cpu_start: ELF file SHA256: bba8125492dc4644...
I (507) cpu_start: ESP-IDF: v4.4-dirty
I (513) heap_init: Initializing. RAM available for dynamic allocation:
I (520) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (526) heap_init: At 3FFB7890 len 00028770 (161 KiB): DRAM
I (532) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (539) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (545) heap_init: At 4009639C len 00009C64 (39 KiB): IRAM
I (552) spi_flash: detected chip: gd
I (556) spi_flash: flash io: dio
I (561) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (645) REC_RAW_HTTP: [ 1 ] Initialize Button Peripheral & Connect to wifi network
W (3325) wifi:<ba-add>idx:0 (ifx:0, 74:05:a5:f5:6a:09), tid:5, ssn:0, winSize:64
W (3425) PERIPH_WIFI: WiFi Event cb, Unhandle event_base:WIFI_EVENT, event_id:4
I (5145) REC_RAW_HTTP: [ 2 ] Start codec chip
W (5175) I2C_BUS: i2c_bus_create:57: I2C bus has been already created, [port:0]
I (5185) REC_RAW_HTTP: [3.0] Create audio pipeline for recording
I (5185) REC_RAW_HTTP: [3.1] Create http stream to post data to server
I (5185) REC_RAW_HTTP: [3.2] Create i2s stream to read audio data from codec chip
I (5195) REC_RAW_HTTP: [3.3] Register all elements to audio pipeline
I (5205) REC_RAW_HTTP: [3.4] Link it together [codec_chip]-->i2s_stream->http_stream-->[http_server]
I (5215) REC_RAW_HTTP: [ 4 ] Press [Rec] button to record, Press [Mode] to exit
W (30175) wifi:<ba-add>idx:1 (ifx:0, 74:05:a5:f5:6a:09), tid:0, ssn:0, winSize:64

麻烦大佬们帮忙解惑,感谢!(抱拳)

ESP_YJM
Posts: 300
Joined: Fri Feb 26, 2021 10:30 am

Re: ESP32-LyraT-Mini V1.2运行pipeline_raw_http例程连不上网

Postby ESP_YJM » Wed May 11, 2022 2:28 am

你打开 LWIP 里 DHCP_DEBUG 吧,然后看下日志。

Who is online

Users browsing this forum: No registered users and 45 guests