Skip to content
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

esp8266 reboots while playing mp3 #704

Open
Kalki2898add opened this issue Sep 12, 2024 · 8 comments
Open

esp8266 reboots while playing mp3 #704

Kalki2898add opened this issue Sep 12, 2024 · 8 comments

Comments

@Kalki2898add
Copy link

cant play mp3 from spiffs or stream online. while playing the mp3 esp reboots
i increased the sample rate to 8192 same problem
i set the cpu freq of esp8266 to 160mhz
i selected v2 higher bandwidth
flash 4MB (2MB fs OTA 1029KB)
even i changed the links and played from spiffs
but same problem

...Connecting to WiFi
...Connecting to WiFi
...Connecting to WiFi
...Connecting to WiFi
...Connecting to WiFi
...Connecting to WiFi
Connected
Running for 8453 ms...
STATUS(buffer) '2' = 'Refilling buffer'

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (3):
epc1=0x402045fa epc2=0x00000000 epc3=0x00000000 excvaddr=0x4025f00e depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffb40 end: 3fffffd0 offset: 0150
3ffffc90: 00000000 00000000 03c20002 00b3006f
3ffffca0: 0000000d 3f060c19 060500ff 03000000
3ffffcb0: 00040401 00000003 00000000 05000000
3ffffcc0: 40100005 3b98d8f0 00000046 3fff0540
3ffffcd0: 3ffef040 002601c0 000d00ac 180b0000
3ffffce0: 3ffef003 00000201 00000000 00000000
3ffffcf0: 0088b4f1 3fff041c 3fff023c 402311fa
3ffffd00: 3ffef040 00000000 00000000 03cd213b
3ffffd10: 00b500bb 0000000d 3f0a0618 0708c382
3ffffd20: 3ffef040 3fff041c 3fff023c 00000000
3ffffd30: 3fff053c 00000000 3fff053c 4022c201
3ffffd40: 0000c068 0000180d 00090186 000700ae
3ffffd50: 0f090000 00000009 3fff0001 000003cd
3ffffd60: 3fffb534 00000020 3fffb534 40100be4
3ffffd70: 3ffe9c88 00000000 00000000 40228c90
3ffffd80: 3ffe9c94 ffffffe1 ffffffe1 ffffffe1
3ffffd90: ffffffdb ffffffdf ffffffd9 ffffffd9
3ffffda0: ffffffe1 ffffffdb ffffffe1 ffffffe1
3ffffdb0: ffffffe1 ffffffe1 ffffffe1 ffffffe1
3ffffdc0: ffffffe1 ffffffe1 ffffffe1 ffffffe1
3ffffdd0: ffffffd7 ffffffd7 ffffffe1 40208dae
3ffffde0: 00000000 00002000 3fff03e4 40208ff8
3ffffdf0: 00000000 00000000 00000000 fffffffe
3ffffe00: 40214f30 3fffc6fc 00000001 3ffefc94
3ffffe10: 6000001c 00000002 3fff30ac 00000030
3ffffe20: 3ffe9c7c 00000008 3ffeeb38 40214824
3ffffe30: 3ffffe88 fffffffc 00000008 00000100
3ffffe40: 3ffe9c7c 7fffffff 00000000 3ffeeb38
3ffffe50: 3ffffeb0 00000008 3ffffe60 40210814 <
3ffffe60: 3fff30db 0008005a 40267ae0 27202972
3ffffe70: 3fff772c 3fff802c 3fff3148 00060000
3ffffe80: 0000036a 00000004 00000002 3ffffc90
3ffffe90: 40267ae4 3ffffd88 00000000 00000006
3ffffea0: 00000000 3fff40fc 00000000 3ffffc90
3ffffeb0: 00000000 00000000 3ffffe68 3fff772c
3ffffec0: 00000000 00000000 00000ad5 3fff36b4
3ffffed0: 3fff40b4 fffffffb 00000002 402670c8
3ffffee0: 00000000 3ffffc90 00000000 00000000
3ffffef0: 0000017e 3fff36e4 0000017e 0000017e
3fffff00: 00000000 0000017e 00000008 3fff802c
3fffff10: 3fff40fc 00000002 00000001 3fff36b4
3fffff20: 00000001 3fff40fc 3fff36d0 40201807
3fffff30: 3fff36ac 04000000 fffffff9 40208431
3fffff40: 00000000 00000600 3ffefe14 3ffeed10
3fffff50: 3fff40b4 3fff36b4 3fff40fc 40201930
3fffff60: 00000000 00000000 3ffe8664 3ffeed10
3fffff70: 0000270f 3fff2744 3fff2734 402096a4
3fffff80: 0000270f 3fff2744 3fff2734 40209801
3fffff90: 00000001 0000000a 3ffeeb38 3ffeed10
3fffffa0: 3fffdad0 3ffeeb38 3ffeea70 40207b49
3fffffb0: 3fffdad0 00000000 3ffeece4 40212bf0
3fffffc0: feefeffe feefeffe 3fffdab0 40100eb1
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00072ef0
~ld

@nikkoxgonzales
Copy link

Have you found the solution on this?

@nikkoxgonzales
Copy link

I found the solution to this, just revert to 1.9.2 version of ESP8266Audio.

@MarcFinns
Copy link

I confirm that version 1.9.9 consistently crashes when trying to play MP3 on 8266 (in the loop function), while version 1.9.2 works fine.
Bug?

@nikkoxgonzales
Copy link

You can use up to version 1.9.4 for ESP8266. My best guess is that it may conflict with the latest libraries of ESP32.

@TexeCode07
Copy link

Same Issue I try playing mp3 from LittleFS

@MarcFinns
Copy link

I managed to play using an older version (1.9.7).
Interesting concept, a library called ESP8266Audio not working on ESP8266...?

@TexeCode07
Copy link

No the latest 1.9.9 version not working it causing load Prohibited error the old one 1.9.7 working Fine.
Seems like some changes in src/AudioGeneratorMP3.cpp cause.

@BScatterplot
Copy link

I have the same issue. I'm running an ESP8266 at 160 MHz. I'm running an MP3 from PROGMEM. v1.9.9 doesn't work, but changing to v1.9.7 works fine.

(I also get "MP3:ERROR_BUFLEN 0" in the serial debug port after the sound plays, in v1.9.7. Not sure if that's related or not.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants