大家好,我最近才开始使用ESP32DevV4,这个例程试过不同版本,都有不同错误,ESP-idf都是make后自动clone的,谁能帮忙解决一下?
=======================================================================================================================
分支:master
=======================================================================================================================
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:6928
ho 0 tail 12 room 4
load:0x40078000,len:14724
load:0x40080400,len:4292
entry 0x400806e4
I (76) boot: Chip Revision: 1
I (34) boot: ESP-IDF v4.0-174-gf9cb434ee 2nd stage bootloader
I (34) boot: compile time 08:02:47
I (34) boot: Enabling RNG early entropy source...
I (40) boot: SPI Speed : 40MHz
I (44) boot: SPI Mode : DIO
I (48) boot: SPI Flash Size : 4MB
I (52) boot: Partition Table:
I (56) boot: ## Label Usage Type ST Offset Length
I (63) boot: 0 phy_init RF data 01 01 0000f000 00001000
I (71) boot: 1 otadata OTA data 01 00 00010000 00002000
I (78) boot: 2 nvs WiFi data 01 02 00012000 0000e000
I (86) boot: 3 at_customize unknown 40 00 00020000 000e0000
I (93) boot: 4 ota_0 OTA app 00 10 00100000 00180000
I (101) boot: 5 ota_1 OTA app 00 11 00280000 00180000
I (108) boot: End of partition table
I (113) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x2755c (16 1116) map
I (179) esp_image: segment 1: paddr=0x00127584 vaddr=0x3ffbdb60 size=0x03a90 ( 1 4992) load
I (185) esp_image: segment 2: paddr=0x0012b01c vaddr=0x40080000 size=0x00400 ( 1024) load
I (186) esp_image: segment 3: paddr=0x0012b424 vaddr=0x40080400 size=0x04bec ( 1 9436) load
I (202) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xfbbd4 (10 31124) map
I (569) esp_image: segment 5: paddr=0x0022bbf4 vaddr=0x40084fec size=0x17a04 ( 9 6772) load
I (609) esp_image: segment 6: paddr=0x00243600 vaddr=0x400c0000 size=0x00064 ( 100) load
I (627) boot: Loaded app from partition at offset 0x100000
I (627) boot: Disabling RNG early entropy source...
I (628) cpu_start: Pro cpu up.
I (631) cpu_start: Application information:
I (636) cpu_start: Project name: esp-http-at
I (641) cpu_start: App version: 1
I (646) cpu_start: Compile time: Mar 5 2020 08:03:32
I (652) cpu_start: ELF file SHA256: ee697f0fe9cce1ae...
I (658) cpu_start: ESP-IDF: v4.0-174-gf9cb434ee
I (664) cpu_start: Single core mode
I (668) heap_init: Initializing. RAM available for dynamic allocation:
I (675) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (681) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (687) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (693) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (699) heap_init: At 3FFD0C70 len 0000F390 (60 KiB): DRAM
I (706) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (712) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (718) heap_init: At 4009C9F0 len 00003610 (13 KiB): IRAM
I (724) cpu_start: Pro cpu start user code
I (743) spi_flash: detected chip: generic
I (744) spi_flash: flash io: dio
I (744) cpu_start: Starting scheduler on PRO CPU.
I (807) wifi: wifi driver task: 3ffbd6a0, prio:23, stack:3584, core=0
I (808) system_api: Base MAC address is not set, read default base MAC address f rom BLK0 of EFUSE
I (812) system_api: Base MAC address is not set, read default base MAC address f rom BLK0 of EFUSE
I (831) wifi: wifi firmware version: 5c43fe2
I (831) wifi: config NVS flash: enabled
I (831) wifi: config nano formating: disabled
I (833) wifi: Init dynamic tx buffer num: 32
I (837) wifi: Init data frame dynamic rx buffer num: 32
I (842) wifi: Init management frame dynamic rx buffer num: 32
I (847) wifi: Init management short buffer num: 32
I (852) wifi: Init static rx buffer size: 1600
I (856) wifi: Init static rx buffer num: 10
I (860) wifi: Init dynamic rx buffer num: 32
I (963) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (966) wifi: mode : sta (c8:2b:96:b8:6a:dc) + softAP (c8:2b:96:b8:6a:dd)
I (971) wifi: Total power save buffer number: 16
I (971) wifi: Init max length of beacon: 752/752
I (975) wifi: Init max length of beacon: 752/752
W (983) ParseFrame: Cannot get read data address.
I (989) ParseFrame: Use file function read write file system
I (993) CmdParse: cwsap command :AT+CWSAP="AT_HTTP_WEBSERVER","12345678",8,4
I (1003) ParseAt: init AT parse frame seccess
E (1005) wl_flash: init(133): result = 0x00006003
E (1009) wl_ext_safe: init(73): result = 0x00006003
E (1015) wear_levelling: wl_mount: init instance=0x00000000, result=0x6003
E (1022) ESPFS: failed to mount wear levelling layer. result = 24579
assertion "ret == 1" failed: file "/mnt/c/esp/esp-at-master/examples/at_http_web server/main/app_main.c", line 91, function: app_main
abort() was called at PC 0x40103d47 on core 0
ELF file SHA256: ee697f0fe9cce1aecda621fd775011c82b81d8a624fb199019b8dd1be0fcc68 9
Backtrace: 0x4008ead5:0x3ffbaa30 0x4008ee55:0x3ffbaa50 0x40103d47:0x3ffbaa70 0x4 01010ab:0x3ffbaaa0 0x400d087c:0x3ffbaac0 0x4009474d:0x3ffbaae0
Rebooting...
=======================================================================================================================
分支:esp-at-2.0.0.0
=======================================================================================================================
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:6368
ho 0 tail 12 room 4
load:0x40078000,len:11624
ho 0 tail 12 room 4
load:0x40080400,len:6648
entry 0x40080764
I (32) boot: ESP-IDF v3.3 2nd stage bootloader
I (32) boot: compile time 11:00:30
I (32) boot: Enabling RNG early entropy source...
I (37) boot: SPI Speed : 40MHz
I (41) boot: SPI Mode : DIO
I (45) boot: SPI Flash Size : 4MB
I (49) boot: Partition Table:
I (53) boot: ## Label Usage Type ST Offset Length
I (60) boot: 0 phy_init RF data 01 01 0000f000 00001000
I (67) boot: 1 otadata OTA data 01 00 00010000 00002000
I (75) boot: 2 nvs WiFi data 01 02 00012000 0000e000
I (82) boot: 3 at_customize unknown 40 00 00020000 000e0000
I (90) boot: 4 ota_0 OTA app 00 10 00100000 00180000
I (97) boot: 5 ota_1 OTA app 00 11 00280000 00180000
I (105) boot: End of partition table
I (109) esp_image: segment 0: paddr=0x00100020 vaddr=0x3f400020 size=0x2ae40 (175680) map
I (180) esp_image: segment 1: paddr=0x0012ae68 vaddr=0x3ffbdb60 size=0x0317c ( 12668) load
I (185) esp_image: segment 2: paddr=0x0012dfec vaddr=0x40080000 size=0x00400 ( 1024) load
I (187) esp_image: segment 3: paddr=0x0012e3f4 vaddr=0x40080400 size=0x01c1c ( 7196) load
I (198) esp_image: segment 4: paddr=0x00130018 vaddr=0x400d0018 size=0xfb2b8 (1028792) map
I (565) esp_image: segment 5: paddr=0x0022b2d8 vaddr=0x4008201c size=0x13504 ( 79108) load
I (598) esp_image: segment 6: paddr=0x0023e7e4 vaddr=0x400c0000 size=0x00064 ( 100) load
I (611) boot: Loaded app from partition at offset 0x100000
I (611) boot: Disabling RNG early entropy source...
I (612) cpu_start: Pro cpu up.
I (615) cpu_start: Application information:
I (620) cpu_start: Project name: esp-http-at
I (626) cpu_start: App version: 1
I (630) cpu_start: Compile time: Mar 4 2020 11:01:36
I (636) cpu_start: ELF file SHA256: fa60044ea1c8d8b2...
I (642) cpu_start: ESP-IDF: v3.3
I (647) cpu_start: Single core mode
I (651) heap_init: Initializing. RAM available for dynamic allocation:
I (658) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (664) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (670) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (676) heap_init: At 3FFBDB5C len 00000004 (0 KiB): DRAM
I (682) heap_init: At 3FFD0DF8 len 0000F208 (60 KiB): DRAM
I (689) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (695) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (701) heap_init: At 40095520 len 0000AAE0 (42 KiB): IRAM
I (707) cpu_start: Pro cpu start user code
I (55) cpu_start: Chip Revision: 1
I (56) cpu_start: Starting scheduler on PRO CPU.
W (110) ParseFrame: Cannot get read data address.
E (111) tcpip_adapter: tcpip_adapter is not initialized!
abort() was called at PC 0x40119e3b on core 0
ELF file SHA256: fa60044ea1c8d8b2002ecdede638062413d9e995abeb3c5aea75bdace7afa111
Backtrace: 0x4008d62c:0x3ffba810 0x4008d859:0x3ffba830 0x40119e3b:0x3ffba850 0x4014cfa7:0x3ffba890 0x40152e05:0x3ffba8b0 0x4014beb7:0x3ffba920 0x40120268:0x3ffba950 0x401203b8:0x3ffba980 0x4011e1cb:0x3ffba9b0 0x4010341e:0x3ffbaa50 0x400d0800:0x3ffbaa70 0x40091efd:0x3ffbaa90
Rebooting...
at_http_webserver例程无限重启
Moderator: ESP_XCGuang
Re: at_http_webserver例程无限重启
Hi, 非常抱歉这个 demo 出现了问题,出问题的原因在于这个 demo 是很久之前做的,并没有在新的版本上进行适配,可以有两个方法来解决: 1. 查找一下 http_webserver demo 的最新 commit 提交记录,然后将 esp-at checkout 过去,这样是可以使用的,只是 AT 版本不是最新的 2. 我们内部已经在修复这个问题,会合入 master ,如果不急的话等我们合入后使用 master 分支测试
Re: at_http_webserver例程无限重启
Hi, master 分支已经修复了这个问题,请更新到最新的master 分支 (https://github.com/espressif/esp-at/com ... 9fc5efea27),或者自己在 sdkconfig 配置项中将 CONFIG_SPI_FLASH_USE_LEGACY_IMPL=y 即可解决 crash的问题
Who is online
Users browsing this forum: No registered users and 72 guests