espressif / esp-csi

Applications based on Wi-Fi CSI (Channel state information), such as indoor positioning, human detection
Apache License 2.0
690 stars 110 forks source link

Unable to Access WiFi (AEGHB-523) #160

Open Dafeigy opened 9 months ago

Dafeigy commented 9 months ago

Hi, I'm using one esp32s3 and a router to collect CSI data. When I successully build and flash console_test project following section 3.2 in README.md , I then followed section 3.3 and successfuly start the GUI program.

image

However, when I enter the correct ssid and pwd and press the connect button, nothing happened after a while. It remains what it is just like the picture above.

Then I open the monitor to see the esp32s3 serial output as follows:

I (26) boot: ESP-IDF v5.1.2 2nd stage bootloader
I (27) boot: compile time Jan 16 2024 14:09:29
I (27) boot: Multicore bootloader
I (27) boot: chip revision: v0.1
I (27) qio_mode: Enabling default flash chip QIO
I (28) boot.esp32s3: Boot SPI Speed : 80MHz
I (28) boot.esp32s3: SPI Mode       : QIO
I (28) boot.esp32s3: SPI Flash Size : 4MB
I (28) boot: Enabling RNG early entropy source...
I (29) boot: Partition Table:
I (29) boot: ## Label            Usage          Type ST Offset   Length
I (29) boot:  0 nvs              WiFi data        01 02 0000d000 00008000
I (30) boot:  1 fctry            WiFi data        01 02 00015000 00004000
I (30) boot:  2 log_status       WiFi data        01 02 00019000 00004000
I (31) boot:  3 otadata          OTA data         01 00 0001d000 00002000
I (31) boot:  4 phy_init         RF data          01 01 0001f000 00001000
I (32) boot:  5 ota_0            OTA app          00 10 00020000 001ca000
I (32) boot: End of partition table
I (32) esp_image: segment 0: paddr=00020020 vaddr=3c0a0020 size=24f28h (151336) map
I (56) esp_image: segment 1: paddr=00044f50 vaddr=3fc97900 size=044e4h ( 17636) load
I (59) esp_image: segment 2: paddr=0004943c vaddr=40374000 size=06bdch ( 27612) load
I (65) esp_image: segment 3: paddr=00050020 vaddr=42000020 size=95a30h (612912) map
I (159) esp_image: segment 4: paddr=000e5a58 vaddr=4037abdc size=0cc6ch ( 52332) load
I (177) boot: Loaded app from partition at offset 0x20000
I (178) boot: Disabling RNG early entropy source...
I (178) cpu_start: Multicore app
I (178) cpu_start: Pro cpu up.
I (179) cpu_start: Starting app cpu, entry point is 0x403755dc
0x403755dc: call_start_cpu1 at D:/ESP-idf/esp-idf/components/esp_system/port/cpu_start.c:157

I (0) cpu_start: App cpu up.
I (188) cpu_start: Pro cpu start user code
I (188) cpu_start: cpu freq: 240000000 Hz
I (188) cpu_start: Application information:
I (188) cpu_start: Project name:     console_test
I (188) cpu_start: App version:      8fd9d1c
I (189) cpu_start: Compile time:     Jan 16 2024 14:09:21
I (189) cpu_start: ELF file SHA256:  2ba0aaf6aa5f705c...
I (189) cpu_start: ESP-IDF:          v5.1.2
I (190) cpu_start: Min chip rev:     v0.0
I (190) cpu_start: Max chip rev:     v0.99
I (190) cpu_start: Chip rev:         v0.1
I (190) heap_init: Initializing. RAM available for dynamic allocation:
I (191) heap_init: At 3FCA00B0 len 00049660 (293 KiB): DRAM
I (191) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (192) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (192) heap_init: At 600FE010 len 00001FD8 (7 KiB): RTCRAM
I (193) spi_flash: detected chip: gd
I (193) spi_flash: flash io: qio
W (193) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (194) rmt(legacy): legacy driver is deprecated, please migrate to `driver/rmt_tx.h` and/or `driver/rmt_rx.h`
I (194) sleep: Configure to isolate all GPIO pins in sleep state
I (195) sleep: Enable automatic switching of GPIO sleep configuration
I (195) app_start: Starting scheduler on CPU0
I (195) app_start: Starting scheduler on CPU1
I (195) main_task: Started on CPU0
I (196) main_task: Calling app_main()

Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.

Your terminal application does not support escape sequences.

Writing to serial is timing out. Please make sure that your application supports an interactive console and that you have picked the correct console for serial communication.
Line editing and history features are disabled.

On Windows, try using Putty instead.
Writing to serial is timing out. Please make sure that your application supports an interactive console and that you have picked the correct console for serial communication.
csi> I (706) pp: pp rom version: e7ae62f
I (707) net80211: net80211 rom version: e7ae62f
I (709) wifi:wifi driver task: 3fcac508, prio:23, stack:6656, core=0
I (711) wifi:wifi firmware version: 91b9630
I (712) wifi:wifi certification version: v7.0
I (712) wifi:config NVS flash: enabled
I (713) wifi:config nano formating: disabled
I (713) wifi:Init data frame dynamic rx buffer num: 32
I (714) wifi:Init static rx mgmt buffer num: 5
I (715) wifi:Init management short buffer num: 32
I (715) wifi:Init dynamic tx buffer num: 32
I (716) wifi:Init static tx FG buffer num: 2
I (716) wifi:Init static rx buffer size: 2212
I (717) wifi:Init static rx buffer num: 10
I (717) wifi:Init dynamic rx buffer num: 32
I (718) wifi_init: tcpip mbox: 32
I (719) wifi_init: udp mbox: 6
I (719) wifi_init: tcp mbox: 6
I (720) wifi_init: tcp tx win: 5744
I (720) wifi_init: tcp rx win: 5744
I (721) wifi_init: tcp mss: 1440
I (721) wifi_init: WiFi IRAM OP enabled
I (722) wifi_init: WiFi RX IRAM OP enabled
I (723) phy_init: phy_version 620,ec7ec30,Sep  5 2023,13:49:13
I (785) wifi:mode : null
I (785) wifi:Set ps type: 0, coexist: 0

I (786) wifi:ic_enable_sniffer
I (787) esp_radar: CSI_RADAR Version: 0.1.0, Compile time: Jun  6 2023 - 14:20:50
I (788) esp_radar: csi_recv_interval: 10, csi_handle_time: 250, csi_handle_window: 50, csi_handle_buffer: 60
I (790) main_task: Returned from app_main()

It seems the Returned from app_main() is the main reason that my setup failed, can you shed some lights on it?

rav2n-dev commented 6 months ago

The same issue.. Some one look into it please