espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.71k stars 7.3k forks source link

wifi softAP does not work on ESP32-S2FNR2 board (IDFGH-13887) #14731

Open erfty125 opened 3 weeks ago

erfty125 commented 3 weeks ago

Answers checklist.

General issue report

1 I installed esp-idf refering to https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32s2/get-started/index.html (linux debian12) 2 I flashed the softAP example from example directory and AP did not appeared I tried flashing simular wifi AP example in arduino IDE and it works. Also wifi station example from esp-idf also works.

nopnop2002 commented 3 weeks ago

Can't find "myssid" in the list of AP?

erfty125 commented 3 weeks ago

Can't find "myssid" in the list of AP?

yes

nopnop2002 commented 3 weeks ago

Can you publish the runtime logs?

erfty125 commented 3 weeks ago

Can you publish the runtime logs?

I dont know how to do this, because esp32-s2 appears in lsusb only in download mode

nopnop2002 commented 3 weeks ago
idf.py build monitor -p port
erfty125 commented 3 weeks ago
idf.py build monitor -p port

ls /dev shows the same when i connect the board to laptop, so i cant do this

hansw123 commented 3 weeks ago

@erfty125 maybe you can psot the Terminal logs for the entire process include export idf-env build project and flash and the whole process

erfty125 commented 3 weeks ago

@erfty125 maybe you can psot the Terminal logs for the entire process include export idf-env build project and flash and the whole process

https://pastebin.com/XNkX3rGt

hansw123 commented 3 weeks ago

@erfty125

  1. first you can use uart to flash the bin to device ,which can be set in menuconfig -----Component config > ESP System Settings > Channel for console output (default is UART)
  2. when you use USB. you can open ESP_CONSOLE_USB_SERIAL_JTAG in menuconfig
  3. you can follow the tips in log Error: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0. esptool.py can not exit the download mode over USB. To run the app, reset the chip manually. To suppress this note, set --after option to 'no_reset'. coal@coal:~/esp/softAP$
erfty125 commented 3 weeks ago

@erfty125

  1. first you can use uart to flash the bin to device ,which can be set in menuconfig -----Component config > ESP System Settings > Channel for console output (default is UART)
  2. when you use USB. you can open ESP_CONSOLE_USB_SERIAL_JTAG in menuconfig
  3. you can follow the tips in log Error: ESP32-S2FNR2 (revision v1.0) chip was placed into download mode using GPIO0. esptool.py can not exit the download mode over USB. To run the app, reset the chip manually. To suppress this note, set --after option to 'no_reset'. coal@coal:~/esp/softAP$

i set usb channel for output logs https://pastebin.com/29nV2c5j

hansw123 commented 2 weeks ago

@erfty125 feel free to reopen

erfty125 commented 2 weeks ago

@erfty125 feel free to reopen

Ok, i checked config and the problem was caused by using wpa3(by default) so i wasnt able to see AP on phone