Issue Description
I Installed squeezelite using the installer, but when it came to connecting to the ap, it wasnt there. It isn't hidden either.
There is no AP available despite it being started according to the logs. This might be related to the NVS error
(E (2481) nvs_utilities: Could not open the nvs storage.).
From what i've found online I assume it is a hardware problem, but I am unsure what exactly I need to look out for when buying replacement modules as these should be compatible according to what I've read.
Hardware setup:
- ESP32 WROVER IB with CP2102
- no dac connected
- wifi antenna connected (5db)
Logs:
error: E (2481) nvs_utilities: Could not open the nvs storage.
ets Jul 29 2019 12:21:46
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:1
load:0x3fff0030,len:6424
load:0x40078000,len:15632
load:0x40080400,len:4348
entry 0x40080688
I (27) boot: ESP-IDF v4.3.5-dirty 2nd stage bootloader
I (27) boot: compile time 09:34:07
I (27) boot: chip revision: v3.1
I (31) qio_mode: Enabling default flash chip QIO
I (36) boot.esp32: SPI Speed : 80MHz
I (41) boot.esp32: SPI Mode : QIO
I (45) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (59) boot: ## Label Usage Type ST Offset Length
I (66) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (74) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (81) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (89) boot: 3 recovery factory app 00 00 00010000 00140000
I (96) boot: 4 ota_0 OTA app 00 10 00150000 002a0000
I (104) boot: 5 settings WiFi data 01 02 003f0000 00010000
I (111) boot: End of partition table
I (115) boot: Defaulting to factory image
I (120) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=53898h (342168) map
I (223) esp_image: segment 1: paddr=000638c0 vaddr=3ffbdb60 size=04858h ( 18520) load
I (229) esp_image: segment 2: paddr=00068120 vaddr=40080000 size=07ef8h ( 32504) load
I (240) esp_image: segment 3: paddr=00070020 vaddr=400d0020 size=d181ch (858140) map
I (476) esp_image: segment 4: paddr=00141844 vaddr=40087ef8 size=0c8d8h ( 51416) load
I (493) esp_image: segment 5: paddr=0014e124 vaddr=400c0000 size=00068h ( 104) load
I (504) boot: Loaded app from partition at offset 0x10000
I (504) boot: Disabling RNG early entropy source...
I (515) psram: This chip is ESP32-D0WD
I (516) spiram: Found 64MBit SPI RAM device
I (516) spiram: SPI RAM mode: flash 80m sram 80m
I (519) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (526) cpu_start: Pro cpu up.
I (530) cpu_start: Starting app cpu, entry point is 0x40081298
I (0) cpu_start: App cpu up.
I (1035) spiram: SPI SRAM memory test OK
I (1045) cpu_start: Pro cpu start user code
I (1045) cpu_start: cpu freq: 240000000
I (1045) cpu_start: Application information:
I (1048) cpu_start: Project name: Squeezelite-ESP32
I (1054) cpu_start: App version: I2S-4MFlash-1681
I (1060) cpu_start: Compile time: Sep 12 2024 09:35:13
I (1066) cpu_start: ELF file SHA256: 1446714095ac8ecc...
I (1072) cpu_start: ESP-IDF: v4.3.5-dirty
I (1077) cpu_start: Min chip rev: v1.0
I (1082) cpu_start: Max chip rev: v3.99
I (1087) cpu_start: Chip rev: v3.1
I (1092) heap_init: Initializing. RAM available for dynamic allocation:
I (1099) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (1105) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (1112) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (1118) heap_init: At 3FFC47F8 len 0001B808 (110 KiB): DRAM
I (1124) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1131) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1137) heap_init: At 400947D0 len 0000B830 (46 KiB): IRAM
I (1143) spiram: Adding pool of 4059K of external SPI memory to heap allocator
I (1152) spi_flash: detected chip: generic
I (1156) spi_flash: flash io: qio
I (1161) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1171) spiram: Reserving pool of 64K of internal memory for DMA/internal allocations
I (1181) esp_app_main: System is booting from power on.
I (1191) esp_app_main: Reset reason is: 1
I (1191) esp_app_main: Recovery Reboot counter=1
I (1191) esp_app_main: Starting app_main
I (1201) nvs_utilities: Initializing flash nvs
I (1211) nvs_utilities: Initializing nvs partition settings
I (1261) esp_app_main: Setting up telnet.
I (1261) telnet: Telnet support disabled
I (1261) esp_app_main: Setting up config subsystem.
W (1331) nvs_utilities: Configuration memory usage. Heap internal:262927 (min:262551) (used:15144) external:4152147 (min:4144727) (used:0)
I (1341) esp_app_main: Registering default values
I (1341) system_api: Base MAC address is not set
I (1351) system_api: read default base MAC address from EFUSE
W (1351) config: Waiting for config commit ...
I (2341) config: configuration has some uncommitted entries
I (2341) config: Committing configuration to nvs. Locking config object.
I (2341) config: Done Committing configuration to nvs.
I (2341) config: Config committed!
I (2351) esp_app_main: Configuring services
I (2351) services: Configuring I2C sda:-1 scl:-1 port:1 speed:400000
W (2361) services: no I2C configured
I (2361) services: Configuring SPI mosi:-1 miso:-1 clk:-1 host:1 dc:-1
W (2371) services: no SPI configured
W (2381) led: LED GPIO -1 ignored
W (2381) led: LED GPIO -1 ignored
I (2381) led: Configuring LEDs green:-1 (on:0 rmt:-1 -1% ), red:-1 (on:0 rmt:-1 -1% )
I (2391) battery: No battery
I (2401) monitor: Initializing monitoring
I (2401) monitor: Heap internal:263415 (min:262523) external:4135811 (min:4135795) dma:217067 (min:216191)
I (2411) esp_app_main: Initializing display
I (2421) display: Trying to configure display with N/A
W (2421) display: No display driver
I (2431) esp_app_main: Initializing led_vu
I (2431) led_vu: led_vu configuration invalid
I (2431) esp_app_main: Checking for update url
W (2441) config: Value not found for key fwurl
0;33mW (2461) config: Value not found for key apdelay
I (2461) uart: queue free spaces: 3
I (2461) network_handlers: Network manager configuration: polling max 10176, polling min 15000, ap delay 20000, dhcp timeout 8000, eth timeout 8000
W (2481) network_wifi: No known access point found
E (2481) nvs_utilities: Could not open the nvs storage.
W (2491) network_wifi: network manager has no previous configuration. ESP_FAIL
I (2491) http_server: Initializing HTTP Server
I (2511) network_handlers: Running recovery. Skipping ethernet, starting WiFi
I (2521) wifi:wifi driver task: 3ffc969c, prio:23, stack:6656, core=0
I (2521) wifi:wifi firmware version: 9ec65ef
I (2521) wifi:wifi certification version: v7.0
I (2521) wifi:config NVS flash: enabled
I (2531) wifi:config nano formating: disabled
I (2531) wifi:Init data frame dynamic rx buffer num: 40
I (2531) wifi:Init management frame dynamic rx buffer num: 40
I (2541) wifi:Init management short buffer num: 32
I (2541) wifi:Init static tx buffer num: 12
I (2551) wifi:Init tx cache buffer num: 32
I (2551) wifi:Init static rx buffer size: 1600
I (2561) wifi:Init static rx buffer num: 12
I (2571) wifi:Init dynamic rx buffer num: 40
I (2571) wifi_init: tcpip mbox: 32
I (2571) wifi_init: udp mbox: 32
I (2571) wifi_init: tcp mbox: 32
I (2581) wifi_init: tcp tx win: 8192
I (2581) wifi_init: tcp rx win: 32768
I (2591) wifi_init: tcp mss: 1440
I (2591) wifi_init: WiFi/LWIP prefer SPIRAM
I (2591) network_wifi: Starting wifi
I (2601) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (2701) wifi:mode : sta (fc:b4:67:4e:92:84)
I (2701) wifi:enable tsf
W (2701) network_handlers: No saved wifi. Starting AP configuration mode.
I (2701) network_wifi: Configuring Access Point.
I (2711) network: Stopping DHCP server
I (2711) network: Starting DHCP server
I (2721) network_wifi: AP SSID: squeezelite-4e9284
I (2731) network_wifi: AP Password: squeezelite
I (2741) wifi:mode : sta (fc:b4:67:4e:92:84) + softAP (fc:b4:67:4e:92:85)
I (2741) wifi:Total power save buffer number: 6
I (2741) wifi:Init max length of beacon: 752/752
I (2751) wifi:Init max length of beacon: 752/752
RECOVERY APPLICATION
This mode is used to flash Squeezelite into the OTA partition
I (3281) wifi:Total power save buffer number: 6
I (3291) wifi:Total power save buffer number: 6
I (3301) wifi:Set ps type: 1
I (3301) network_wifi: Initiating wifi network scan
I (3301) dns_server: DNS Server listening on 53/udp
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.
Line editing and history features are disabled.
On Windows, try using Putty instead.
Issue Description
I Installed squeezelite using the installer, but when it came to connecting to the ap, it wasnt there. It isn't hidden either.
There is no AP available despite it being started according to the logs. This might be related to the NVS error
(E (2481) nvs_utilities: Could not open the nvs storage.).
From what i've found online I assume it is a hardware problem, but I am unsure what exactly I need to look out for when buying replacement modules as these should be compatible according to what I've read.
Hardware setup:
Logs:
error: E (2481) nvs_utilities: Could not open the nvs storage.
ets Jul 29 2019 12:21:46
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:1
load:0x3fff0030,len:6424
load:0x40078000,len:15632
load:0x40080400,len:4348
entry 0x40080688
I (27) boot: ESP-IDF v4.3.5-dirty 2nd stage bootloader
I (27) boot: compile time 09:34:07
I (27) boot: chip revision: v3.1
I (31) qio_mode: Enabling default flash chip QIO
I (36) boot.esp32: SPI Speed : 80MHz
I (41) boot.esp32: SPI Mode : QIO
I (45) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (55) boot: Partition Table:
I (59) boot: ## Label Usage Type ST Offset Length
I (66) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (74) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (81) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (89) boot: 3 recovery factory app 00 00 00010000 00140000
I (96) boot: 4 ota_0 OTA app 00 10 00150000 002a0000
I (104) boot: 5 settings WiFi data 01 02 003f0000 00010000
I (111) boot: End of partition table
I (115) boot: Defaulting to factory image
I (120) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=53898h (342168) map
I (223) esp_image: segment 1: paddr=000638c0 vaddr=3ffbdb60 size=04858h ( 18520) load
I (229) esp_image: segment 2: paddr=00068120 vaddr=40080000 size=07ef8h ( 32504) load
I (240) esp_image: segment 3: paddr=00070020 vaddr=400d0020 size=d181ch (858140) map
I (476) esp_image: segment 4: paddr=00141844 vaddr=40087ef8 size=0c8d8h ( 51416) load
I (493) esp_image: segment 5: paddr=0014e124 vaddr=400c0000 size=00068h ( 104) load
I (504) boot: Loaded app from partition at offset 0x10000
I (504) boot: Disabling RNG early entropy source...
I (515) psram: This chip is ESP32-D0WD
I (516) spiram: Found 64MBit SPI RAM device
I (516) spiram: SPI RAM mode: flash 80m sram 80m
I (519) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (526) cpu_start: Pro cpu up.
I (530) cpu_start: Starting app cpu, entry point is 0x40081298
I (0) cpu_start: App cpu up.
I (1035) spiram: SPI SRAM memory test OK
I (1045) cpu_start: Pro cpu start user code
I (1045) cpu_start: cpu freq: 240000000
I (1045) cpu_start: Application information:
I (1048) cpu_start: Project name: Squeezelite-ESP32
I (1054) cpu_start: App version: I2S-4MFlash-1681
I (1060) cpu_start: Compile time: Sep 12 2024 09:35:13
I (1066) cpu_start: ELF file SHA256: 1446714095ac8ecc...
I (1072) cpu_start: ESP-IDF: v4.3.5-dirty
I (1077) cpu_start: Min chip rev: v1.0
I (1082) cpu_start: Max chip rev: v3.99
I (1087) cpu_start: Chip rev: v3.1
I (1092) heap_init: Initializing. RAM available for dynamic allocation:
I (1099) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (1105) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
I (1112) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
I (1118) heap_init: At 3FFC47F8 len 0001B808 (110 KiB): DRAM
I (1124) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1131) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1137) heap_init: At 400947D0 len 0000B830 (46 KiB): IRAM
I (1143) spiram: Adding pool of 4059K of external SPI memory to heap allocator
I (1152) spi_flash: detected chip: generic
I (1156) spi_flash: flash io: qio
I (1161) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1171) spiram: Reserving pool of 64K of internal memory for DMA/internal allocations
I (1181) esp_app_main: System is booting from power on.
I (1191) esp_app_main: Reset reason is: 1
I (1191) esp_app_main: Recovery Reboot counter=1
I (1191) esp_app_main: Starting app_main
I (1201) nvs_utilities: Initializing flash nvs
I (1211) nvs_utilities: Initializing nvs partition settings
I (1261) esp_app_main: Setting up telnet.
I (1261) telnet: Telnet support disabled
I (1261) esp_app_main: Setting up config subsystem.
W (1331) nvs_utilities: Configuration memory usage. Heap internal:262927 (min:262551) (used:15144) external:4152147 (min:4144727) (used:0)
I (1341) esp_app_main: Registering default values
I (1341) system_api: Base MAC address is not set
I (1351) system_api: read default base MAC address from EFUSE
W (1351) config: Waiting for config commit ...
I (2341) config: configuration has some uncommitted entries
I (2341) config: Committing configuration to nvs. Locking config object.
I (2341) config: Done Committing configuration to nvs.
I (2341) config: Config committed!
I (2351) esp_app_main: Configuring services
I (2351) services: Configuring I2C sda:-1 scl:-1 port:1 speed:400000
W (2361) services: no I2C configured
I (2361) services: Configuring SPI mosi:-1 miso:-1 clk:-1 host:1 dc:-1
W (2371) services: no SPI configured
W (2381) led: LED GPIO -1 ignored
W (2381) led: LED GPIO -1 ignored
I (2381) led: Configuring LEDs green:-1 (on:0 rmt:-1 -1% ), red:-1 (on:0 rmt:-1 -1% )
I (2391) battery: No battery
I (2401) monitor: Initializing monitoring
I (2401) monitor: Heap internal:263415 (min:262523) external:4135811 (min:4135795) dma:217067 (min:216191)
I (2411) esp_app_main: Initializing display
I (2421) display: Trying to configure display with N/A
W (2421) display: No display driver
I (2431) esp_app_main: Initializing led_vu
I (2431) led_vu: led_vu configuration invalid
I (2431) esp_app_main: Checking for update url
W (2441) config: Value not found for key fwurl
0;33mW (2461) config: Value not found for key apdelay
I (2461) uart: queue free spaces: 3
I (2461) network_handlers: Network manager configuration: polling max 10176, polling min 15000, ap delay 20000, dhcp timeout 8000, eth timeout 8000
W (2481) network_wifi: No known access point found
E (2481) nvs_utilities: Could not open the nvs storage.
W (2491) network_wifi: network manager has no previous configuration. ESP_FAIL
I (2491) http_server: Initializing HTTP Server
I (2511) network_handlers: Running recovery. Skipping ethernet, starting WiFi
I (2521) wifi:wifi driver task: 3ffc969c, prio:23, stack:6656, core=0
I (2521) wifi:wifi firmware version: 9ec65ef
I (2521) wifi:wifi certification version: v7.0
I (2521) wifi:config NVS flash: enabled
I (2531) wifi:config nano formating: disabled
I (2531) wifi:Init data frame dynamic rx buffer num: 40
I (2531) wifi:Init management frame dynamic rx buffer num: 40
I (2541) wifi:Init management short buffer num: 32
I (2541) wifi:Init static tx buffer num: 12
I (2551) wifi:Init tx cache buffer num: 32
I (2551) wifi:Init static rx buffer size: 1600
I (2561) wifi:Init static rx buffer num: 12
I (2571) wifi:Init dynamic rx buffer num: 40
I (2571) wifi_init: tcpip mbox: 32
I (2571) wifi_init: udp mbox: 32
I (2571) wifi_init: tcp mbox: 32
I (2581) wifi_init: tcp tx win: 8192
I (2581) wifi_init: tcp rx win: 32768
I (2591) wifi_init: tcp mss: 1440
I (2591) wifi_init: WiFi/LWIP prefer SPIRAM
I (2591) network_wifi: Starting wifi
I (2601) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
I (2701) wifi:mode : sta (fc:b4:67:4e:92:84)
I (2701) wifi:enable tsf
W (2701) network_handlers: No saved wifi. Starting AP configuration mode.
I (2701) network_wifi: Configuring Access Point.
I (2711) network: Stopping DHCP server
I (2711) network: Starting DHCP server
I (2721) network_wifi: AP SSID: squeezelite-4e9284
I (2731) network_wifi: AP Password: squeezelite
I (2741) wifi:mode : sta (fc:b4:67:4e:92:84) + softAP (fc:b4:67:4e:92:85)
I (2741) wifi:Total power save buffer number: 6
I (2741) wifi:Init max length of beacon: 752/752
I (2751) wifi:Init max length of beacon: 752/752
RECOVERY APPLICATION
This mode is used to flash Squeezelite into the OTA partition
I (3281) wifi:Total power save buffer number: 6
I (3291) wifi:Total power save buffer number: 6
I (3301) wifi:Set ps type: 1
I (3301) network_wifi: Initiating wifi network scan
I (3301) dns_server: DNS Server listening on 53/udp
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.
Line editing and history features are disabled.
On Windows, try using Putty instead.