schreibfaul1 / ESP32-vs1053_ext

With this library You can easily build a WebRadio with a ESP32 board and a mp3-module. See: https://www.youtube.com/watch?v=u4u9NvZvWRk
GNU General Public License v3.0
107 stars 29 forks source link

Song stopped correctly after 0 msec - PSRAM not found library wont working #25

Open Sentinel8000 opened 2 years ago

Sentinel8000 commented 2 years ago

I have tryed with two esp32 boards: NodeMCU and Expressif and with two mp3 decoder board vs1003/vs1053 and vs1053 but not working.

I have trouble direct after start: i need replace the wifi connection section, because example fail to connect:

const char ssid ="..." const char password = "...";


WiFi.begin(ssid, password);

while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
}

Serial.println("WiFi connected");
Serial.println("IP address: ");
Serial.println(WiFi.localIP());

I have used these pins, because with this the vs1003/vs1053 and vs1053 succesfully worked:

define SPI_MOSI 23

define SPI_MISO 19

define SPI_SCK 18

define VS1053_CS 5

define VS1053_DCS 16

define VS1053_DREQ 4

But whatever i do,

18:53:46.283 -> DEBUG: Song stopped correctly after 0 msec 18:53:46.283 -> DEBUG: PSRAM not found, inputBufferSize: 11903 bytes 18:53:46.283 -> DEBUG: Connect to new host: "streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/" 18:53:46.330 -> DEBUG: Connect to "streambbr.ir-media-tec.com" on port 80, extension "/berlin/mp3-128/vtuner_web_mp3/" 18:53:46.933 -> DEBUG: Request streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/ failed!

Looks, like others noticed, this library works only if the stars staying all in good position.

Sentinel8000 commented 2 years ago

Maybe i dont have received any answer, but if somebody want use this library or the developer read this message. The main problem is the esp32 core version, this library works with esp32 2.0.2 core, with the new 2.0.3 not. Thats all, i have downgraded the arduino ide esp32 board driver and works.

SurenBono commented 2 years ago

Get a android tv box with stereo out to amplifier... can't beat rj45 connection

On Fri, May 20, 2022, 12:59 AM Sentinel8000 @.***> wrote:

I have tryed with two esp32 boards: NodeMCU and Expressif and with two mp3 decoder board vs1003/vs1053 and vs1053 but not working.

I have trouble direct after start: i need replace the wifi connection section, because example fail to connect:

const char ssid ="..." const char password = "...";

WiFi.begin(ssid, password);

while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); }

Serial.println("WiFi connected"); Serial.println("IP address: "); Serial.println(WiFi.localIP());

I have used these pins, because with this the vs1003/vs1053 and vs1053 succesfully worked:

define SPI_MOSI 23

define SPI_MISO 19

define SPI_SCK 18

define VS1053_CS 5

define VS1053_DCS 16

define VS1053_DREQ 4

But whatever i do,

18:53:46.283 -> DEBUG: Song stopped correctly after 0 msec 18:53:46.283 -> DEBUG: PSRAM not found, inputBufferSize: 11903 bytes 18:53:46.283 -> DEBUG: Connect to new host: " streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/" 18:53:46.330 -> DEBUG: Connect to "streambbr.ir-media-tec.com" on port 80, extension "/berlin/mp3-128/vtuner_web_mp3/" 18:53:46.933 -> DEBUG: Request streambbr.ir-media-tec.com/berlin/mp3-128/vtuner_web_mp3/ failed!

Looks, like others noticed, this library works only if the stars staying all in good position.

— Reply to this email directly, view it on GitHub https://github.com/schreibfaul1/ESP32-vs1053_ext/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2KU53TVK3QDCQURN4JCDTVKZXNNANCNFSM5WM3IBRQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

timothydillan commented 1 year ago

I've encountered the same problem and I have also downgraded to esp32 2.0.2, but it still doesn't work. Are there any other solutions?

19:58:01.060 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
19:58:01.060 -> mode:DIO, clock div:1
19:58:01.060 -> load:0x3fff0030,len:1184
19:58:01.145 -> load:0x40078000,len:12804
19:58:01.145 -> ho 0 tail 12 room 4
19:58:01.145 -> load:0x40080400,len:3032
19:58:01.145 -> entry 0x400805e4
19:58:09.247 -> DEBUG:        Connect to new host: "http://icecast.radiofrance.fr/francemusique-midfi.mp3"
19:58:11.271 -> DEBUG:        Song stopped incorrectly!
19:58:11.271 -> DEBUG:        after song stopped incorrectly
19:58:11.271 -> DEBUG:        REG            dec      bin               hex
19:58:11.271 -> DEBUG:        -----------  -------  ----------------  -------
19:58:11.271 -> DEBUG:        MODE          02056   0000100000001000   0808
19:58:11.271 -> DEBUG:        STATUS        00048   0000000000110000   0030
19:58:11.271 -> DEBUG:        BASS          00000   0000000000000000   0000
19:58:11.309 -> DEBUG:        CLOCKF        24576   0110000000000000   6000
19:58:11.309 -> DEBUG:        DECODE_TIME   00000   0000000000000000   0000
19:58:11.309 -> DEBUG:        AUDATA        44101   1010110001000101   AC45
19:58:11.309 -> DEBUG:        WRAM          00673   0000001010100001   02A0
19:58:11.309 -> DEBUG:        WRAMADDR      07686   0001111000000110   1E06
19:58:11.309 -> DEBUG:        HDAT0         00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        HDAT1         00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        AIADDR        00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        VOL           00257   0000000100000001   0101
19:58:11.342 -> DEBUG:        AICTRL0       00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        AICTRL1       00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        AICTRL2       00000   0000000000000000   0000
19:58:11.342 -> DEBUG:        AICTRL3       00000   0000000000000000   0000
19:58:11.379 -> DEBUG:        PSRAM not found, inputBufferSize: 11903 bytes
19:58:11.884 -> DEBUG:        Connection has been established in 528 ms, free Heap: 249304 bytes
19:58:12.408 -> DEBUG:        chunked data transfer
19:58:12.408 -> BITRATE:      128000kBit/s
19:58:12.408 -> DEBUG:        icy-name: francemusique-midfi.mp3
19:58:12.408 -> STATION:      francemusique-midfi.mp3
19:58:12.408 -> lastURL:      http://icecast.radiofrance.fr/francemusique-midfi.mp3
19:58:12.408 -> DEBUG:        stream ready