I compiled and built esp-at project fro ESP32-WROVER platform downloading directly
from github (on the branch master) the sources.
Before building however I ran build.py menuconfig to change the method of
communicating AT command (through sockets instead fo UART)
Then after building and flash the FW, I got the the following log
(>>) ets Jul 29 2019 12:21:46
(>>)
(>>) rst:0x1 (POWERON_RESET),boot:0x17 (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:0x3fff0030,len:6268
(>>) ho 0 tail 12 room 4
(>>) load:0x40078000,len:16048
(>>) load:0x40080400,len:4
(>>) load:0x40080404,len:3612
(>>) entry 0x40080608
(>>) I (31) boot: ESP-IDF v5.4-dirty 2nd stage bootloader
(>>) I (31) boot: compile time Mar 13 2025 15:15:06
(>>) W (31) boot: Unicore bootloader
(>>) I (32) boot: chip revision: v3.0
(>>) I (35) boot.esp32: SPI Speed : 40MHz
(>>) I (39) boot.esp32: SPI Mode : DIO
(>>) I (43) boot.esp32: SPI Flash Size : 4MB
(>>) I (46) boot: Enabling RNG early entropy source...
(>>) I (51) 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 (66) boot: 1 otadata OTA data 01 00 00010000 00002000
(>>) I (73) boot: 2 nvs WiFi data 01 02 00012000 0000e000
(>>) I (79) boot: 3 at_customize unknown 40 00 00020000 000e0000
(>>) I (86) boot: 4 ota_0 OTA app 00 10 00100000 00180000
(>>) I (92) boot: 5 ota_1 OTA app 00 11 00280000 00180000
(>>) I (99) boot: End of partition table
(>>) I (102) esp_image: segment 0: paddr=00100020 vaddr=3f400020 size=236f8h (145144) map
(>>) I (159) esp_image: segment 1: paddr=00123720 vaddr=3ff80068 size=0001ch ( 28) load
(>>) I (159) esp_image: segment 2: paddr=00123744 vaddr=3ffbdb60 size=05b14h ( 23316) load
(>>) I (172) esp_image: segment 3: paddr=00129260 vaddr=40080000 size=06db8h ( 28088) load
(>>) I (183) esp_image: segment 4: paddr=00130020 vaddr=400d0020 size=11fbf4h (1178612) map
(>>) I (586) esp_image: segment 5: paddr=0024fc1c vaddr=40086db8 size=17a3ch ( 96828) load
(>>) I (623) esp_image: segment 6: paddr=00267660 vaddr=400c0000 size=00068h ( 104) load
(>>) I (638) boot: Loaded app from partition at offset 0x100000
(>>) I (639) boot: Disabling RNG early entropy source...
(>>) I (1810) at-init: at param mode: 1
(>>) I (1915) at-socket: softap: (ESP_4168ED) started, listen on (192.168.4.1:3333)
(>>) I (1925) at-init: module_name: WROVER-32
(>>) I (1929) at-init: max tx power=78, ret=0
(>>) I (1933) at-init: v4.1.0.0-dev (unknown)
(>>) E (1935) at-socket: invalid data:0 or len:-1
So far so good, but as soon as I sent an AT command through a TCP client the
FW crashed
(>>) Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
(>>)
(>>) Core 0 register dump:
(>>) PC : 0x401ebff0 PS : 0x00060033 A0 : 0x801ec4c0 A1 : 0x3ffcea30
(>>) A2 : 0x3ffdeaf4 A3 : 0x3ffcea90 A4 : 0x00000000 A5 : 0x00000000
(>>) A6 : 0x3ffdeb5c A7 : 0x00000001 A8 : 0x00000000 A9 : 0x00000000
(>>) A10 : 0x3ffe07b4 A11 : 0x3ffcea38 A12 : 0x00000000 A13 : 0x3ffcead0
(>>) A14 : 0x00000003 A15 : 0x00060023 SAR : 0x0000001a EXCCAUSE: 0x0000001d
(>>) EXCVADDR: 0x00000000 LBEG : 0x40093150 LEND : 0x4009316c LCOUNT : 0xffffffff
(>>)
(>>)
(>>) Backtrace: 0x401ebfed:0x3ffcea30 0x401ec4bd:0x3ffcea80 0x400f74ee:0x3ffceac0 0x400f78ae:0x3ffceb00 0x400e84d5:0x3ffceb20 0x400f3bbb:0x3ffceb40 0x40096b46:0x3ffcecf0
I tried several TCP client but result is always the same.
Anybody can help me?
esp-at crashed when sendind AT commands through socket
Re: esp-at crashed when sendind AT commands through socket
thanks for your feedback. This issue should get fixed after:
https://github.com/espressif/esp-at/com ... 37b0739ab8
Could you please git pull the latest code and give it a try.
https://github.com/espressif/esp-at/com ... 37b0739ab8
Could you please git pull the latest code and give it a try.
Who is online
Users browsing this forum: Bytespider and 1 guest
