-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
esp_wifi_start stops USB on ESP32-C6 (IDFGH-14233) #15029
Comments
@JesperBllnbm |
@hansw123 Thanks for responding! I don't have a linux computer. Is there anything else I can try? |
Sadly the same: /opt/homebrew/bin/cmake
/opt/homebrew/bin/ninja
/opt/homebrew/bin/cmake
/opt/homebrew/bin/ninja
[Build]
Project build complete. To flash, run:
ESP-IDF: Flash your project in the ESP-IDF Visual Studio Code Extension
or in a ESP-IDF Terminal:
idf.py flash
or
idf.py -p PORT flash
or
python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset --port /dev/ttyUSB1 write_flash --flash_mode dio --flash_size 2MB --flash_freq 40m 0x1000 bootloader/bootloader.bin 0x10000 wifi_softAP.bin 0x8000 partition_table/partition-table.bin
or from the "/Users/jesper/Development/softAP/build" directory
python -m esptool --chip esp32 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"
Adding "set-target"'s dependency "fullclean" to list of commands with default set of options.
Executing action: fullclean
Executing action: set-target
Set Target to: esp32c6, new sdkconfig will be created.
Running cmake in directory /Users/jesper/Development/softAP/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/Users/jesper/.espressif/python_env/idf5.3_py3.13_env/bin/python -DESP_PLATFORM=1 -DIDF_TARGET=esp32c6 -DCCACHE_ENABLE=0 /Users/jesper/Development/softAP"...
-- Existing sdkconfig '/Users/jesper/Development/softAP/sdkconfig' renamed to '/Users/jesper/Development/softAP/sdkconfig.old'.
-- Found Git: /usr/bin/git (found version "2.39.5 (Apple Git-154)")
-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/jesper/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Users/jesper/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/jesper/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- git rev-parse returned 'fatal: not a git repository (or any of the parent directories): .git'
-- Could not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32c6
-- Project sdkconfig file /Users/jesper/Development/softAP/sdkconfig
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/riscv/ld/rom.api.ld
CMake Deprecation Warning at /Users/jesper/esp/v5.3.2/esp-idf/components/mbedtls/mbedtls/CMakeLists.txt:21 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
-- Found Python3: /Users/jesper/.espressif/python_env/idf5.3_py3.13_env/bin/python (found version "3.13.1") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS
-- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS - Success
-- App "wifi_softAP" version: 1
-- Adding linker script /Users/jesper/Development/softAP/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script /Users/jesper/Development/softAP/build/esp-idf/esp_system/ld/sections.ld.in
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.api.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.rvfp.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.wdt.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.systimer.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.version.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.phy.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.coexist.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.net80211.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.pp.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.newlib-normal.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom/esp32c6/ld/esp32c6.rom.heap.ld
-- Adding linker script /Users/jesper/esp/v5.3.2/esp-idf/components/soc/esp32c6/ld/esp32c6.peripherals.ld
-- Components: app_trace app_update bootloader bootloader_support bt cmock console cxx driver efuse esp-tls esp_adc esp_app_format esp_bootloader_format esp_coex esp_common esp_driver_ana_cmpr esp_driver_cam esp_driver_dac esp_driver_gpio esp_driver_gptimer esp_driver_i2c esp_driver_i2s esp_driver_isp esp_driver_jpeg esp_driver_ledc esp_driver_mcpwm esp_driver_parlio esp_driver_pcnt esp_driver_ppa esp_driver_rmt esp_driver_sdio esp_driver_sdm esp_driver_sdmmc esp_driver_sdspi esp_driver_spi esp_driver_touch_sens esp_driver_tsens esp_driver_uart esp_driver_usb_serial_jtag esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_lcd esp_local_ctrl esp_mm esp_netif esp_netif_stack esp_partition esp_phy esp_pm esp_psram esp_ringbuf esp_rom esp_system esp_timer esp_vfs_console esp_wifi espcoredump esptool_py fatfs freertos hal heap http_parser idf_test ieee802154 json log lwip main mbedtls mqtt newlib nvs_flash nvs_sec_provider openthread partition_table protobuf-c protocomm pthread riscv sdmmc soc spi_flash spiffs tcp_transport ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant
-- Component paths: /Users/jesper/esp/v5.3.2/esp-idf/components/app_trace /Users/jesper/esp/v5.3.2/esp-idf/components/app_update /Users/jesper/esp/v5.3.2/esp-idf/components/bootloader /Users/jesper/esp/v5.3.2/esp-idf/components/bootloader_support /Users/jesper/esp/v5.3.2/esp-idf/components/bt /Users/jesper/esp/v5.3.2/esp-idf/components/cmock /Users/jesper/esp/v5.3.2/esp-idf/components/console /Users/jesper/esp/v5.3.2/esp-idf/components/cxx /Users/jesper/esp/v5.3.2/esp-idf/components/driver /Users/jesper/esp/v5.3.2/esp-idf/components/efuse /Users/jesper/esp/v5.3.2/esp-idf/components/esp-tls /Users/jesper/esp/v5.3.2/esp-idf/components/esp_adc /Users/jesper/esp/v5.3.2/esp-idf/components/esp_app_format /Users/jesper/esp/v5.3.2/esp-idf/components/esp_bootloader_format /Users/jesper/esp/v5.3.2/esp-idf/components/esp_coex /Users/jesper/esp/v5.3.2/esp-idf/components/esp_common /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_ana_cmpr /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_cam /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_dac /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_gpio /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_gptimer /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_i2c /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_i2s /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_isp /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_jpeg /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_ledc /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_mcpwm /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_parlio /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_pcnt /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_ppa /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_rmt /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_sdio /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_sdm /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_sdmmc /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_sdspi /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_spi /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_touch_sens /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_tsens /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_uart /Users/jesper/esp/v5.3.2/esp-idf/components/esp_driver_usb_serial_jtag /Users/jesper/esp/v5.3.2/esp-idf/components/esp_eth /Users/jesper/esp/v5.3.2/esp-idf/components/esp_event /Users/jesper/esp/v5.3.2/esp-idf/components/esp_gdbstub /Users/jesper/esp/v5.3.2/esp-idf/components/esp_hid /Users/jesper/esp/v5.3.2/esp-idf/components/esp_http_client /Users/jesper/esp/v5.3.2/esp-idf/components/esp_http_server /Users/jesper/esp/v5.3.2/esp-idf/components/esp_https_ota /Users/jesper/esp/v5.3.2/esp-idf/components/esp_https_server /Users/jesper/esp/v5.3.2/esp-idf/components/esp_hw_support /Users/jesper/esp/v5.3.2/esp-idf/components/esp_lcd /Users/jesper/esp/v5.3.2/esp-idf/components/esp_local_ctrl /Users/jesper/esp/v5.3.2/esp-idf/components/esp_mm /Users/jesper/esp/v5.3.2/esp-idf/components/esp_netif /Users/jesper/esp/v5.3.2/esp-idf/components/esp_netif_stack /Users/jesper/esp/v5.3.2/esp-idf/components/esp_partition /Users/jesper/esp/v5.3.2/esp-idf/components/esp_phy /Users/jesper/esp/v5.3.2/esp-idf/components/esp_pm /Users/jesper/esp/v5.3.2/esp-idf/components/esp_psram /Users/jesper/esp/v5.3.2/esp-idf/components/esp_ringbuf /Users/jesper/esp/v5.3.2/esp-idf/components/esp_rom /Users/jesper/esp/v5.3.2/esp-idf/components/esp_system /Users/jesper/esp/v5.3.2/esp-idf/components/esp_timer /Users/jesper/esp/v5.3.2/esp-idf/components/esp_vfs_console /Users/jesper/esp/v5.3.2/esp-idf/components/esp_wifi /Users/jesper/esp/v5.3.2/esp-idf/components/espcoredump /Users/jesper/esp/v5.3.2/esp-idf/components/esptool_py /Users/jesper/esp/v5.3.2/esp-idf/components/fatfs /Users/jesper/esp/v5.3.2/esp-idf/components/freertos /Users/jesper/esp/v5.3.2/esp-idf/components/hal /Users/jesper/esp/v5.3.2/esp-idf/components/heap /Users/jesper/esp/v5.3.2/esp-idf/components/http_parser /Users/jesper/esp/v5.3.2/esp-idf/components/idf_test /Users/jesper/esp/v5.3.2/esp-idf/components/ieee802154 /Users/jesper/esp/v5.3.2/esp-idf/components/json /Users/jesper/esp/v5.3.2/esp-idf/components/log /Users/jesper/esp/v5.3.2/esp-idf/components/lwip /Users/jesper/Development/softAP/main /Users/jesper/esp/v5.3.2/esp-idf/components/mbedtls /Users/jesper/esp/v5.3.2/esp-idf/components/mqtt /Users/jesper/esp/v5.3.2/esp-idf/components/newlib /Users/jesper/esp/v5.3.2/esp-idf/components/nvs_flash /Users/jesper/esp/v5.3.2/esp-idf/components/nvs_sec_provider /Users/jesper/esp/v5.3.2/esp-idf/components/openthread /Users/jesper/esp/v5.3.2/esp-idf/components/partition_table /Users/jesper/esp/v5.3.2/esp-idf/components/protobuf-c /Users/jesper/esp/v5.3.2/esp-idf/components/protocomm /Users/jesper/esp/v5.3.2/esp-idf/components/pthread /Users/jesper/esp/v5.3.2/esp-idf/components/riscv /Users/jesper/esp/v5.3.2/esp-idf/components/sdmmc /Users/jesper/esp/v5.3.2/esp-idf/components/soc /Users/jesper/esp/v5.3.2/esp-idf/components/spi_flash /Users/jesper/esp/v5.3.2/esp-idf/components/spiffs /Users/jesper/esp/v5.3.2/esp-idf/components/tcp_transport /Users/jesper/esp/v5.3.2/esp-idf/components/ulp /Users/jesper/esp/v5.3.2/esp-idf/components/unity /Users/jesper/esp/v5.3.2/esp-idf/components/usb /Users/jesper/esp/v5.3.2/esp-idf/components/vfs /Users/jesper/esp/v5.3.2/esp-idf/components/wear_levelling /Users/jesper/esp/v5.3.2/esp-idf/components/wifi_provisioning /Users/jesper/esp/v5.3.2/esp-idf/components/wpa_supplicant
-- Configuring done (2.6s)
-- Generating done (0.4s)
-- Build files have been written to: /Users/jesper/Development/softAP/build
[/Build]
[Set Target]
Target ESP32C6 Set Successfully.
/Users/jesper/.espressif/tools/riscv32-esp-elf/esp-13.2.0_20240530/riscv32-esp-elf/bin/riscv32-esp-elf-gcc
/opt/homebrew/bin/cmake
/opt/homebrew/bin/ninja
[/Set Target]
[Build]
Project build complete. To flash, run:
ESP-IDF: Flash your project in the ESP-IDF Visual Studio Code Extension
or in a ESP-IDF Terminal:
idf.py flash
or
idf.py -p PORT flash
or
python -m esptool --chip esp32c6 -b 460800 --before default_reset --after hard_reset --port /dev/tty.usbmodem1101 write_flash --flash_mode dio --flash_size 2MB --flash_freq 80m 0x0 bootloader/bootloader.bin 0x10000 wifi_softAP.bin 0x8000 partition_table/partition-table.bin
or from the "/Users/jesper/Development/softAP/build" directory
python -m esptool --chip esp32c6 -b 460800 --before default_reset --after hard_reset write_flash "@flash_args"
espefuse.py v4.8.1
Connecting...
Detecting chip type... ESP32-C6
=== Run "summary" command ===
Saving efuse values to /var/folders/7_/k76jlbhx4tq4r6ck_1h7glbw0000gn/T/espefusejsondump.tmp
/Users/jesper/.espressif/tools/openocd-esp32/v0.12.0-esp32-20241016/openocd-esp32/bin/openocd
Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
/Users/jesper/.espressif/tools/openocd-esp32/v0.12.0-esp32-20241016/openocd-esp32/bin/openocd
[/Build]
[OpenOCD]
Open On-Chip Debugger v0.12.0-esp32-20241016 (2024-10-16-14:27)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : only one transport option; autoselecting 'jtag'
Info : esp_usb_jtag: VID set to 0x303a and PID to 0x1001
Info : esp_usb_jtag: capabilities descriptor set to 0x2000
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : esp_usb_jtag: serial (40:4C:CA:46:8F:44)
Info : esp_usb_jtag: Device found. Base speed 24000KHz, div range 1 to 255
Info : clock speed 24000 kHz
Info : JTAG tap: esp32c6.tap0 tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
Info : [esp32c6] datacount=2 progbufsize=16
Info : [esp32c6] Examined RISC-V core; found 2 harts
Info : [esp32c6] XLEN=32, misa=0x40903105
Info : [esp32c6] Examination succeed
Info : [esp32c6] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'tcl' connection on tcp/6666
Info : dropped 'tcl' connection
Info : accepting 'tcl' connection on tcp/6666
Flashing "/Users/jesper/Development/softAP/build/bootloader/bootloader.bin" at 0x0
** program_esp input args <0x0 verify> **
Info : JTAG tap: esp32c6.tap0 tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
Info : [esp32c6] Reset cause (24) - (JTAG CPU reset)
** Programming Started **
Info : [esp32c6] Found 4 triggers
Info : Flash mapping 0: 0x10020 -> 0x42088020, 108 KB
Info : Flash mapping 1: 0x30020 -> 0x42000020, 531 KB
Info : Auto-detected flash bank 'esp32c6.flash' size 4096 KB
Info : Using flash bank 'esp32c6.flash' size 4096 KB
Info : PROF: Erased 24576 bytes in 414.179 ms
Info : PROF: Data transferred in 199.745 ms @ 120.153 KB/s
Info : PROF: Wrote 24576 bytes in 606.402 ms (data transfer time included)
** Programming Finished in 1540 ms **
** Verify Started **
Info : PROF: Flash verified in 219.597 ms
** Verify OK **
** Flashing done for bootloader/bootloader.bin in 1760 ms **
Flashing "/Users/jesper/Development/softAP/build/wifi_softAP.bin" at 0x10000
** program_esp input args <0x10000 verify> **
Info : JTAG tap: esp32c6.tap0 tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
Info : [esp32c6] Reset cause (24) - (JTAG CPU reset)
** Programming Started **
Info : PROF: Erased 823296 bytes in 3785.51 ms
Info : PROF: Data transferred in 7259.4 ms @ 110.753 KB/s
Info : PROF: Wrote 823296 bytes in 7702.43 ms (data transfer time included)
** Programming Finished in 11765 ms **
** Verify Started **
Info : PROF: Flash verified in 525.23 ms
** Verify OK **
** Flashing done for wifi_softAP.bin in 12293 ms **
Flashing "/Users/jesper/Development/softAP/build/partition_table/partition-table.bin" at 0x8000
** program_esp input args <0x8000 verify> **
Info : JTAG tap: esp32c6.tap0 tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
Info : [esp32c6] Reset cause (24) - (JTAG CPU reset)
** Programming Started **
Info : PROF: Erased 4096 bytes in 246.286 ms
Info : PROF: Data transferred in 53.539 ms @ 74.7119 KB/s
Info : PROF: Wrote 4096 bytes in 399.815 ms (data transfer time included)
** Programming Finished in 924 ms **
** Verify Started **
Info : PROF: Flash verified in 221.877 ms
** Verify OK **
** Flashing done for partition_table/partition-table.bin in 1146 ms **
** Total programming time 15199 ms **
** Resetting Target **
Info : JTAG tap: esp32c6.tap0 tap/device found: 0x0000dc25 (mfg: 0x612 (Espressif Systems), part: 0x000d, ver: 0x0)
Info : [esp32c6] Reset cause (24) - (JTAG CPU reset)
0
[/OpenOCD]
[Flash]
⚡️ Flashed Successfully (JTag)
Flash has finished. You can monitor your device with 'ESP-IDF: Monitor command'
--- Error: read failed: [Errno 6] Device not configured
--- Waiting for the device to reconnect
I (439) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N, band:0x1
I (449) wifi:Init data frame dynamic rx buffer num: 32
I (449) wifi:Init static rx mgmt buffer num: 5
I (459) wifi:Init management short buffer num: 32
I (459) wifi:Init dynamic tx buffer num: 32
I (469) wifi:Init static tx FG buffer num: 2
I (469) wifi:Init static rx buffer size: 1700 (rxctrl:92, csi:512)
I (479) wifi:Init static rx buffer num: 10
I (479) wifi:Init dynamic rx buffer num: 32
I (479) wifi_init: rx ba win: 6
I (489) wifi_init: accept mbox: 6
I (489) wifi_init: tcpip mbox: 32
I (499) wifi_init: udp mbox: 6
I (499) wifi_init: tcp mbox: 6
I (499) wifi_init: tcp tx win: 5760
I (509) wifi_init: tcp rx win: 5760
I (509) wifi_init: tcp mss: 1440
I (519) wifi_init: WiFi IRAM OP enabled
I (519) wifi_init: WiFi RX IRAM OP enabled
I (519) wifi_init: WiFi SLP IRAM OP enabled
I (529) phy_init: phy_version 320,348a293,Sep 3 2024,16:33:12
W (579) wifi:ACK_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (579) wifi:CTS_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (589) wifi:(agc)0x600a7128:0xd20289f0, min.avgNF:0xce->0xd2(dB), RCalCount:0x28, min.RRssi:0x9f0(-97.00)
W (589) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (599) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (599) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (599) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (609) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (609) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (609) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (619) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (619) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (619) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (629) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (629) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (629) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
W (639) wifi:(he)deattach, ap, phymode:11bgn
I (639) wifi:mode : softAP (40:4c:ca:46:8f:45)
I (689) wifi:Total power save buffer number: 16
I (689) wifi:Init max length of beacon: 752/752
I (689) wifi:Init max length of beacon: 752/752
--- Error: read failed: [Errno 6] Device not configured
--- Waiting for the device to reconnect.............
WiFi data 01 02 00009000 00006000
I (70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (77) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=42098020 size=1bdf8h (114168) map
I (119) esp_image: segment 1: paddr=0002be20 vaddr=40800000 size=041f8h ( 16888) load
I (124) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=9023ch (590396) map
I (235) esp_image: segment 3: paddr=000c0264 vaddr=408041f8 size=14dd4h ( 85460) load
I (255) esp_image: segment 4: paddr=000d5040 vaddr=40818fd0 size=03b78h ( 15224) load
I (264) boot: Loaded app from partition at offset 0x10000
I (265) boot: Disabling RNG early entropy source...
I (476) cpu_start: Unicore app
I (485) cpu_start: Pro cpu start user code
I (485) cpu_start: cpu freq: 160000000 Hz
I (486) app_init: Application information:
I (488) app_init: Project name: wifi_softAP
I (493) app_init: App version: 1
I (498) app_init: Compile time: Dec 18 2024 11:51:32
I (504) app_init: ELF file SHA256: 163ed0aa0...
I (509) app_init: ESP-IDF: v5.3.2-dirty
I (514) efuse_init: Min chip rev: v0.0
I (519) efuse_init: Max chip rev: v0.99
I (524) efuse_init: Chip rev: v0.0
I (529) heap_init: Initializing. RAM available for dynamic allocation:
I (536) heap_init: At 40821F60 len 0005A6B0 (361 KiB): RAM
I (542) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (548) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (555) spi_flash: detected chip: generic
I (559) spi_flash: flash io: dio
W (563) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (576) sleep: Configure to isolate all GPIO pins in sleep state
I (583) sleep: Enable automatic switching of GPIO sleep configuration
I (590) coexist: coex firmware version: cbb41d7
I (595) coexist: coexist rom version 5b8dcfa
I (601) main_task: Started on CPU0
I (601) main_task: Calling app_main()
I (621) wifi softAP: ESP_WIFI_MODE_AP
I (621) pp: pp rom version: 5b8dcfa
I (621) net80211: net80211 rom version: 5b8dcfa
I (631) wifi:wifi driver task: 4082afd0, prio:23, stack:6656, core=0
I (631) wifi:wifi firmware version: b0fd6006b
I (631) wifi:wifi certification version: v7.0
I (631) wifi:config NVS flash: enabled
I (641) wifi:config nano formating: disabled
I (641) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N, band:0x1
I (651) wifi:Init data frame dynamic rx buffer num: 32
I (651) wifi:Init static rx mgmt buffer num: 5
I (661) wifi:Init management short buffer num: 32
I (661) wifi:Init dynamic tx buffer num: 32
I (661) wifi:Init static tx FG buffer num: 2
I (671) wifi:Init static rx buffer size: 1700 (rxctrl:92, csi:512)
I (671) wifi:Init static rx buffer num: 10
I (681) wifi:Init dynamic rx buffer num: 32
I (681) wifi_init: rx ba win: 6
I (691) wifi_init: accept mbox: 6
I (691) wifi_init: tcpip mbox: 32
I (691) wifi_init: udp mbox: 6
I (701) wifi_init: tcp mbox: 6
I (701) wifi_init: tcp tx win: 5760
I (701) wifi_init: tcp rx win: 5760
I (711) wifi_init: tcp mss: 1440
I (711) wifi_init: WiFi IRAM OP enabled
I (721) wifi_init: WiFi RX IRAM OP enabled
I (721) wifi_init: WiFi SLP IRAM OP enabled
I (731) phy_init: phy_version 320,348a293,Sep 3 2024,16:33:12
W (781) wifi:ACK_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (781) wifi:CTS_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (781) wifi:(agc)0x600a7128:0xd20459ee, min.avgNF:0xce->0xd2(dB), RCalCount:0x45, min.RRssi:0x9ee(-97.12)
W (791) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (801) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (801) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (801) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (811) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (811) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (811) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (811) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (821) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (821) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (821) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (831) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (831) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
W (841) wifi:(he)deattach, ap, phymode:11bgn
I (841) wifi:mode : softAP (40:4c:ca:46:8f:45)
I (891) wifi:Total power save buffer number: 16
I (891) wifi:Init max length of beacon: 752/752
I (891) wifi:Init max length of beacon: 752/752
--- Error: read failed: [Errno 6] Device not configured
--- Waiting for the device to reconnect................
init RF data 01 01 0000f000 00001000
I (77) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=42098020 size=1bdf8h (114168) map
I (119) esp_image: segment 1: paddr=0002be20 vaddr=40800000 size=041f8h ( 16888) load
I (124) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=9023ch (590396) map
I (235) esp_image: segment 3: paddr=000c0264 vaddr=408041f8 size=14dd4h ( 85460) load
I (255) esp_image: segment 4: paddr=000d5040 vaddr=40818fd0 size=03b78h ( 15224) load
I (264) boot: Loaded app from partition at offset 0x10000
I (265) boot: Disabling RNG early entropy source...
I (276) cpu_start: Unicore app
I (285) cpu_start: Pro cpu start user code
I (285) cpu_start: cpu freq: 160000000 Hz
I (286) app_init: Application information:
I (288) app_init: Project name: wifi_softAP
I (293) app_init: App version: 1
I (298) app_init: Compile time: Dec 18 2024 11:51:32
I (304) app_init: ELF file SHA256: 163ed0aa0...
I (309) app_init: ESP-IDF: v5.3.2-dirty
I (314) efuse_init: Min chip rev: v0.0
I (319) efuse_init: Max chip rev: v0.99
I (324) efuse_init: Chip rev: v0.0
I (329) heap_init: Initializing. RAM available for dynamic allocation:
I (336) heap_init: At 40821F60 len 0005A6B0 (361 KiB): RAM
I (342) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (348) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (355) spi_flash: detected chip: generic
I (359) spi_flash: flash io: dio
W (363) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (376) sleep: Configure to isolate all GPIO pins in sleep state
I (383) sleep: Enable automatic switching of GPIO sleep configuration
I (390) coexist: coex firmware version: cbb41d7
I (395) coexist: coexist rom version 5b8dcfa
I (401) main_task: Started on CPU0
I (401) main_task: Calling app_main()
I (421) wifi softAP: ESP_WIFI_MODE_AP
I (421) pp: pp rom version: 5b8dcfa
I (421) net80211: net80211 rom version: 5b8dcfa
I (431) wifi:wifi driver task: 4082b054, prio:23, stack:6656, core=0
I (431) wifi:wifi firmware version: b0fd6006b
I (431) wifi:wifi certification version: v7.0
I (431) wifi:config NVS flash: enabled
I (441) wifi:config nano formating: disabled
I (441) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N, band:0x1
I (451) wifi:Init data frame dynamic rx buffer num: 32
I (451) wifi:Init static rx mgmt buffer num: 5
I (461) wifi:Init management short buffer num: 32
I (461) wifi:Init dynamic tx buffer num: 32
I (461) wifi:Init static tx FG buffer num: 2
I (471) wifi:Init static rx buffer size: 1700 (rxctrl:92, csi:512)
I (471) wifi:Init static rx buffer num: 10
I (481) wifi:Init dynamic rx buffer num: 32
I (481) wifi_init: rx ba win: 6
I (481) wifi_init: accept mbox: 6
I (491) wifi_init: tcpip mbox: 32
I (491) wifi_init: udp mbox: 6
I (501) wifi_init: tcp mbox: 6
I (501) wifi_init: tcp tx win: 5760
I (501) wifi_init: tcp rx win: 5760
I (511) wifi_init: tcp mss: 1440
I (511) wifi_init: WiFi IRAM OP enabled
I (521) wifi_init: WiFi RX IRAM OP enabled
I (521) wifi_init: WiFi SLP IRAM OP enabled
I (531) phy_init: phy_version 320,348a293,Sep 3 2024,16:33:12
W (581) wifi:ACK_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (581) wifi:CTS_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (581) wifi:(agc)0x600a7128:0xd209f9e8, min.avgNF:0xce->0xd2(dB), RCalCount:0x9f, min.RRssi:0x9e8(-97.50)
W (591) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (591) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (611) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (611) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (611) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (621) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (621) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (621) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (631) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (631) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
W (641) wifi:(he)deattach, ap, phymode:11bgn
I (641) wifi:mode : softAP (40:4c:ca:46:8f:45)
I (691) wifi:Total power save buffer number: 16
I (691) wifi:Init max length of beacon: 752/752
I (691) wifi:Init max length of beacon: 752/752
--- Error: read failed: [Errno 6] Device not configured
--- Waiting for the device to reconnect.........
(70) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (77) boot: 2 factory factory app 00 00 00010000 00100000
I (85) boot: End of partition table
I (89) esp_image: segment 0: paddr=00010020 vaddr=42098020 size=1bdf8h (114168) map
I (119) esp_image: segment 1: paddr=0002be20 vaddr=40800000 size=041f8h ( 16888) load
I (124) esp_image: segment 2: paddr=00030020 vaddr=42000020 size=9023ch (590396) map
I (235) esp_image: segment 3: paddr=000c0264 vaddr=408041f8 size=14dd4h ( 85460) load
I (255) esp_image: segment 4: paddr=000d5040 vaddr=40818fd0 size=03b78h ( 15224) load
I (264) boot: Loaded app from partition at offset 0x10000
I (265) boot: Disabling RNG early entropy source...
I (276) cpu_start: Unicore app
I (285) cpu_start: Pro cpu start user code
I (285) cpu_start: cpu freq: 160000000 Hz
I (286) app_init: Application information:
I (288) app_init: Project name: wifi_softAP
I (293) app_init: App version: 1
I (298) app_init: Compile time: Dec 18 2024 11:51:32
I (304) app_init: ELF file SHA256: 163ed0aa0...
I (309) app_init: ESP-IDF: v5.3.2-dirty
I (314) efuse_init: Min chip rev: v0.0
I (319) efuse_init: Max chip rev: v0.99
I (324) efuse_init: Chip rev: v0.0
I (329) heap_init: Initializing. RAM available for dynamic allocation:
I (336) heap_init: At 40821F60 len 0005A6B0 (361 KiB): RAM
I (342) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (348) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (355) spi_flash: detected chip: generic
I (359) spi_flash: flash io: dio
W (363) spi_flash: Detected size(4096k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (376) sleep: Configure to isolate all GPIO pins in sleep state
I (383) sleep: Enable automatic switching of GPIO sleep configuration
I (390) coexist: coex firmware version: cbb41d7
I (395) coexist: coexist rom version 5b8dcfa
I (401) main_task: Started on CPU0
I (401) main_task: Calling app_main()
I (421) wifi softAP: ESP_WIFI_MODE_AP
I (421) pp: pp rom version: 5b8dcfa
I (421) net80211: net80211 rom version: 5b8dcfa
I (431) wifi:wifi driver task: 4082b054, prio:23, stack:6656, core=0
I (431) wifi:wifi firmware version: b0fd6006b
I (431) wifi:wifi certification version: v7.0
I (431) wifi:config NVS flash: enabled
I (441) wifi:config nano formating: disabled
I (441) wifi:mac_version:HAL_MAC_ESP32AX_761,ut_version:N, band:0x1
I (451) wifi:Init data frame dynamic rx buffer num: 32
I (451) wifi:Init static rx mgmt buffer num: 5
I (461) wifi:Init management short buffer num: 32
I (461) wifi:Init dynamic tx buffer num: 32
I (461) wifi:Init static tx FG buffer num: 2
I (471) wifi:Init static rx buffer size: 1700 (rxctrl:92, csi:512)
I (471) wifi:Init static rx buffer num: 10
I (481) wifi:Init dynamic rx buffer num: 32
I (481) wifi_init: rx ba win: 6
I (481) wifi_init: accept mbox: 6
I (491) wifi_init: tcpip mbox: 32
I (491) wifi_init: udp mbox: 6
I (501) wifi_init: tcp mbox: 6
I (501) wifi_init: tcp tx win: 5760
I (501) wifi_init: tcp rx win: 5760
I (511) wifi_init: tcp mss: 1440
I (511) wifi_init: WiFi IRAM OP enabled
I (521) wifi_init: WiFi RX IRAM OP enabled
I (521) wifi_init: WiFi SLP IRAM OP enabled
I (531) phy_init: phy_version 320,348a293,Sep 3 2024,16:33:12
W (581) wifi:ACK_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (581) wifi:CTS_TAB0 :0x 90a0b, QAM16:0x9 (24Mbps), QPSK:0xa (12Mbps), BPSK:0xb (6Mbps)
W (581) wifi:(agc)0x600a7128:0xd207c9ec, min.avgNF:0xce->0xd2(dB), RCalCount:0x7c, min.RRssi:0x9ec(-97.25)
W (591) wifi:(TB)WDEV_PWR_TB_MCS0:19
W (591) wifi:(TB)WDEV_PWR_TB_MCS1:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS2:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS3:19
W (601) wifi:(TB)WDEV_PWR_TB_MCS4:19
W (611) wifi:(TB)WDEV_PWR_TB_MCS5:19
W (611) wifi:(TB)WDEV_PWR_TB_MCS6:18
W (611) wifi:(TB)WDEV_PWR_TB_MCS7:18
W (621) wifi:(TB)WDEV_PWR_TB_MCS8:17
W (621) wifi:(TB)WDEV_PWR_TB_MCS9:15
W (621) wifi:(TB)WDEV_PWR_TB_MCS10:15
W (631) wifi:(TB)WDEV_PWR_TB_MCS11:15
I (631) wifi:11ax coex: WDEVAX_PTI0(0x55777555), WDEVAX_PTI1(0x00003377).
W (641) wifi:(he)deattach, ap, phymode:11bgn
I (641) wifi:mode : softAP (40:4c:ca:46:8f:45)
I (691) wifi:Total power save buffer number: 16
I (691) wifi:Init max length of beacon: 752/752
I (691) wifi:Init max length of beacon: 752/752
--- Error: read failed: [Errno 6] Device not configured |
If I flash the ESP using a VS Code dev container it should be technically as if I flashed it from a Linux computer, right? So I can try that as well. okay that didn't work as well, I even failed to build the example at all: |
@JesperBllnbm |
Answers checklist.
IDF version.
v5.3.2.
Espressif SoC revision.
ESP32 C6
Operating System used.
macOS
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32 C6 mini u1
Power Supply used.
USB
What is the expected behavior?
I expect to be able to run the SOFT AP example from: https://github.com/espressif/esp-idf/tree/v5.3.2/examples/wifi/getting_started/softAP
and it should work as documented.
What is the actual behavior?
I enter some kind of boot loop, whenever wifi is started usb connection is lost.
Steps to reproduce.
Debug Logs.
More Information.
Maybe related to:
SOC_WIFI_PHY_NEEDS_USB_WORKAROUND
SoC has WiFi and USB PHYs interference, needs a workaround
or #8241
The text was updated successfully, but these errors were encountered: