Open FranZatGIT opened 2 weeks ago
Hi Franz, before I published the version, I did exactly the same. I rewrote the SD card and cloned the Git repository into a new folder. I rule out HW problems. What does the log say? Please do a "Full Clean" before uploading. There may be something strange in settings.json or stations.json. You can delete these two files, they will be recreated.
deleted the 2 files - no change.
Here a screenshot of the output and below the full text of another try:
ESP32 Chip: ESP32-S3 Arduino Version: 3.0.4 ESP-IDF Version: 5.1.4 MiniWebRadio Version 3.4 Aug 23/2024 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) FLASH size 16777216 bytes, speed 80 MHz CPU speed 240 MHz SDMMC speed 80 MHz TFT speed 40 MHz PSRAM total size: 8388608 bytes RESET_REASON: Reset due to power-on event
00:00:00
00:00:00
00:00:00 MiniWebRadio V3
00:00:00
00:00:00
00:00:00 setup: .... Arduino is pinned to core 1
00:00:00 tft_info: . init ILI9488
00:00:00 setup: .... Init SD card
00:00:00 setup: .... SD card found, 2.0 MB by 29.2 MB free
[ 843][W][common.h:730] updateStationsList(): Stations: 26, favorites: 15
00:00:00 setup: .... seek for WiFi networks
[ 5221][W][STA.cpp:537] disconnect(): STA already disconnected.
00:00:00 WiFI_info: Connecting WiFi...
00:00:00 WiFI_info: mDNS name: MiniWebRadio
00:00:00 setup: .... connected to skynet, IP address is 192.168.1.235, Received Signal Strength -39 dB
00:00:00 ftpServer: Buffers allocated: 4622 bytes
00:00:00 rtime_info: Initializing SNTP
00:00:00 audiotask: is pinned to core 0
00:00:00 audiotask: priority is 2
00:00:00 AUDIO_info: commFMT = Philips
00:00:00 setup: .... number of saved stations: 26
00:00:00 setup: .... number of saved favourites: 15
00:00:00 setup: .... current station number: 1
00:00:00 setup: .... current volume: 21
00:00:00 setup: .... volume steps: 21
00:00:00 setup: .... volume after alarm: 12
00:00:00 setup: .... last connected host: http://0n-70s.radionetz.de:8000/0n-70s.mp3
00:00:00 setup: .... connection timeout: 2500 ms
00:00:00 setup: .... connection timeout SSL: 3500 ms
00:00:00 action: ... switch to station 1
00:00:00 AUDIO_info: PSRAM found, inputBufferSize: 638965 bytes
00:00:00 AUDIO_info: buffers freed, free Heap: 186744 bytes
00:00:00 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:43:56 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 10431][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:43:56 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:43:56 StationName:
23:43:56 StreamTitle:
23:43:56 BT-Emitter: KCX_BT_Emitter not found
23:43:56 ftpServer: Ftp server waiting for connection on port 21
23:44:00 AUDIO_info: buffers freed, free Heap: 184180 bytes
23:44:00 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:44:03 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 17575][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:44:03 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:44:03 StationName:
23:44:03 StreamTitle:
[ 18655][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 18663][W][STA.cpp:537] disconnect(): STA already disconnected.
23:44:17 AUDIO_info: buffers freed, free Heap: 184012 bytes
23:44:17 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:44:20 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 34580][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:44:20 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:44:20 StationName:
23:44:20 StreamTitle:
[ 35654][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 35662][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 36679][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 36686][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 37919][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:44:34 WiFi : Reconnecting to WiFi...
[ 48553][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 51383][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[ 51391][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 52449][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 52456][W][STA.cpp:537] disconnect(): STA already disconnected.
23:44:42 AUDIO_info: buffers freed, free Heap: 184932 bytes
23:44:42 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:44:45 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 59578][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:44:45 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:44:45 StationName:
23:44:45 StreamTitle:
[ 60641][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 60649][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 61665][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 61673][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 62690][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 62697][W][STA.cpp:537] disconnect(): STA already disconnected.
23:44:56 AUDIO_info: buffers freed, free Heap: 184236 bytes
23:44:56 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:44:59 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 73581][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:44:59 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:44:59 StationName:
23:44:59 StreamTitle:
[ 74670][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 74678][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 75695][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 75702][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 76729][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[ 76737][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 78541][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:45:13 WiFi : Reconnecting to WiFi...
[ 87552][W][STA.cpp:537] disconnect(): STA already disconnected.
[ 90382][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[ 90390][W][STA.cpp:537] disconnect(): STA already disconnected.
23:45:22 AUDIO_info: buffers freed, free Heap: 184784 bytes
23:45:22 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:45:25 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[ 99576][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:45:25 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:45:25 StationName:
23:45:25 StreamTitle:
[102196][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 201 - NO_AP_FOUND
[102203][W][STA.cpp:537] disconnect(): STA already disconnected.
[103433][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:45:39 WiFi : Reconnecting to WiFi...
[113558][W][STA.cpp:537] disconnect(): STA already disconnected.
[116388][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[116396][W][STA.cpp:537] disconnect(): STA already disconnected.
[117476][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[117483][W][STA.cpp:537] disconnect(): STA already disconnected.
23:45:46 AUDIO_info: buffers freed, free Heap: 184584 bytes
23:45:46 AUDIO_info: connect to: "0n-70s.radionetz.de" on port 8000 path "/0n-70s.mp3"
23:45:49 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
[123581][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 8 - ASSOC_LEAVE
23:45:49 AUDIO_info: Request http://0n-70s.radionetz.de:8000/0n-70s.mp3 failed!
23:45:49 StationName:
23:45:49 StreamTitle:
E (124090) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (124091) diskio_sdmmc: sdmmc_read_blocks failed (263)
E (124091) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (124098) diskio_sdmmc: sdmmc_read_blocks failed (263)
23:45:50 AUDIO_info: file "/common/m/RSSI3.bmp" not found
[124644][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[124651][W][STA.cpp:537] disconnect(): STA already disconnected.
E (125089) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (125090) diskio_sdmmc: sdmmc_read_blocks failed (263)
E (125090) sdmmc_cmd: sdmmc_read_sectors_dma: sdmmc_send_cmd returned 0x107
E (125097) diskio_sdmmc: sdmmc_read_blocks failed (263)
23:45:51 AUDIO_info: file "/common/m/RSSI4.bmp" not found
[125668][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[125675][W][STA.cpp:537] disconnect(): STA already disconnected.
[126914][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:46:03 WiFi : Reconnecting to WiFi...
[137552][W][STA.cpp:537] disconnect(): STA already disconnected.
[140382][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[140390][W][STA.cpp:537] disconnect(): STA already disconnected.
[142246][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:46:17 WiFi : Reconnecting to WiFi...
[151559][W][STA.cpp:537] disconnect(): STA already disconnected.
[154389][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[154397][W][STA.cpp:537] disconnect(): STA already disconnected.
[155468][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[155475][W][STA.cpp:537] disconnect(): STA already disconnected.
[157068][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 39 - TIMEOUT
23:46:31 WiFi : Reconnecting to WiFi...
[165558][W][STA.cpp:537] disconnect(): STA already disconnected.
[168588][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 205 - CONNECTION_FAIL
[168596][W][STA.cpp:537] disconnect(): STA already disconnected.
[169702][W][STA.cpp:135] _onStaArduinoEvent(): Reason: 2 - AUTH_EXPIRE
[169709][W][STA.cpp:537] disconnect(): STA already disconnected.
23:46:39 AUDIO_info: buffers freed, free Heap: 185284 bytes
compared the Common.h with the old one and set all the BT Emitter pins to -1 ( BT Emittter is not used in my case ) and changed the SDMMC Frequency to 40MHz. It seems to work now - I will keep it open until tomorrow and watch if it is stable. I think I found another thing while testing with the AP Mode. I will open another issue for that.
Hi Wolle still have some issues with the connection - Some times it work some times not. I can not really reproduce it. Fact is that the old 3.1 release always works. Was there any major change with the Wifi part in 3.4?
hi friend. I really liked the project and I want to bring it to life. The board is stitched, but there is no Wi-Fi connection and does not create an access point. I tried all the options described in the problems, with no result. Help please. ESP32 Chip: ESP32-S3 Arduino Version: 3.0.4 ESP-IDF Version: 5.1.4 MiniWebRadio Version 3.4bd - Sep 09/202 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) FLASH size 16777216 bytes, speed 80 MHz CPU speed 240 MHz SDMMC speed 80 MHz TFT speed 40 MHz PSRAM total size: 8388608 bytes RESET_REASON: Reset due to power-on event
2 : SPI_MASTER_MISO[0]
4 : GPIO
8 : GPIO
10 : LEDC[0][0]
11 : SDMMC_D0
12 : GPIO
13 : SDMMC_CLK
14 : SDMMC_CMD
15 : GPIO
17 : SPI_MASTER_SCK[0]
18 : SPI_MASTER_MOSI[0]
39 : GPIO
41 : I2C_MASTER_SDA[0]
42 : I2C_MASTER_SCL[0]
43 : UART_TX[0]
44 : UART_RX[0]
otadata : addr: 0x0000E000, size: 8.0 KB, type: DATA, subtype: OTA
nvs : addr: 0x00010000, size: 256.0 KB, type: DATA, subtype: NVS
app0 : addr: 0x00050000, size: 3776.0 KB, type: APP, subtype: OTA_0
app1 : addr: 0x00400000, size: 3776.0 KB, type: APP, subtype: OTA_1
ffat : addr: 0x007B0000, size: 8448.0 KB, type: DATA, subtype: FAT
coredump : addr: 0x00FF0000, size: 64.0 KB, type: DATA, subtype: COREDUMP
Arduino Board : Espressif ESP32-S3-DevKitC-1-N16R8V (16 MB QD, 8MB PSRAM) Arduino Variant : esp32s3 Core Debug Level : 5 Arduino Runs Core : 1 Arduino Events on : 1 CDC On Boot : 0 ============ Before Setup End ============ [0;37m[ 1151][V][esp32-hal-uart.c:408] uartBegin(): UART0 baud(115200) Mode(800001c) rxPin(44) txPin(43)[0m [0;37m[ 1161][V][esp32-hal-uart.c:497] uartBegin(): UART0 not installed. Starting installation[0m [0;37m[ 1170][V][esp32-hal-uart.c:560] uartBegin(): UART0 initialization done.[0m
ESP32 Chip: ESP32-S3 Arduino Version: 3.0.4 ESP-IDF Version: 5.1.4 MiniWebRadio Version 3.4bd - Sep 09/202 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) FLASH size 16777216 bytes, speed 80 MHz CPU speed 240 MHz SDMMC speed 80 MHz TFT speed 40 MHz PSRAM total size: 8388608 bytes RESET_REASON: Reset due to power-on event
Hi Wolle,
Today I loaded the latest version on my testboard and I'm having massive wifi connection issues with the new code. I downloaded a full fresh clone from Git (including the SD content) and the radio is pretty much not working at all. Ping only works occasionally. If I go back to my custom code version (based on a version from May), it works without problems. To rule out the HW, I also tried a new ESP - with the same result. Do you have any ideas?
I would like to use your latest changes and add my code lines. But that makes no sense if it is not working.
Many thanks Franz