0

Music Maker FeatherWing don't play mp3
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Music Maker FeatherWing don't play mp3

by werner_staub on Mon Feb 11, 2019 7:22 am

Hi
I'm using a MusicMaker FeatherWin on an Huzzah esp8266. If I load the simple feather_player expample without any changes, it starts to play the first track. But after some seconds, a wdt Reset appears on the ESP8266.

Could it be the Adafruit_VS1053 lib does not give the ESP a yield() command to refresh the WiFi? Do I have an old lib?

Thanks for yout support
Werner

werner_staub
 
Posts: 11
Joined: Sun May 15, 2016 7:10 am

Re: Music Maker FeatherWing don't play mp3

by adafruit_support_carter on Tue Feb 12, 2019 2:50 pm

Looks like a 1.0.7 release was done fairly recently. What version are you using?

adafruit_support_carter
 
Posts: 10430
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker FeatherWing don't play mp3

by werner_staub on Wed Feb 13, 2019 11:43 am

I'm using the version 1.0.5. So I will update to 1.0.7, should I?

werner_staub
 
Posts: 11
Joined: Sun May 15, 2016 7:10 am

Re: Music Maker FeatherWing don't play mp3

by werner_staub on Wed Feb 13, 2019 11:52 am

I tried now with Version 1.0.7. It runs now twice the time then before. But. stops with an wdt reset as well. Is there something else, I probably do wrong?

werner_staub
 
Posts: 11
Joined: Sun May 15, 2016 7:10 am

Re: Music Maker FeatherWing don't play mp3

by adafruit_support_carter on Wed Feb 13, 2019 3:25 pm

I just tested it with the current version and it worked for me. Can you post the complete output you are seeing on the serial monitor when you run the feather_player example.

adafruit_support_carter
 
Posts: 10430
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker FeatherWing don't play mp3

by werner_staub on Thu Feb 14, 2019 11:27 am

That's the output in the serialö interface:
****************************************************
Adafruit VS1053 Feather Test
VS1053 found
SD OK!
SYSTEM~1/
WPSETT~1.DAT 12
INDEXE~1 76
TRACK001.MP3 5356258
TRACK002.MP3 5558086
T50_01.MP3 2054356
T128_01.MP3 5356258
Playing full track 001

Exception (0):
epc1=0x4020436c epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys
sp: 3ffffc30 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffffdd0: 40106b4c 00000001 00000001 00000002
3ffffde0: ffffffff 00000020 0000436f 40202f6a
3ffffdf0: 00000000 3ffe835c 0000436f 00000022
3ffffe00: 3fffc200 40106b14 3fffc258 4000050c
3ffffe10: 4000438f 00000030 00000016 ffffffff
3ffffe20: 60000200 00000001 19120e08 80000000
3ffffe30: 20000000 3fff0948 80000000 203fc0c0
3ffffe40: 00000000 3fffc6fc 3ffee6e0 3fff094c
3ffffe50: 00000234 003fc0c0 60000600 00000030
3ffffe60: 7fffffff 3ffe9d50 00000000 4020437b
3ffffe70: 40106bb0 3ffe8eb0 00000000 40106b9a
3ffffe80: ffffffff 00000020 3fff0114 00000000
3ffffe90: 00000000 00000000 0000001f 4010103d
3ffffea0: 4000050c 40106b14 3fffc258 4000050c
3ffffeb0: 40000f68 00000030 00000015 ffffffff
3ffffec0: 40000f58 00000000 00000020 00000000
3ffffed0: feefeffe 3ffee6e0 3ffee6e0 fffffffe
3ffffee0: ffffffff 3ffe8e7c 3ffee6e0 3fffdab0
3ffffef0: 00000000 3fffdad0 3ffee7c0 00000030
3fffff00: 00000000 400042db 00000064 60000600
3fffff10: 40004b31 3fff088c 000002f4 003fc000
3fffff20: 40101f6e 3ffe8a10 3ffe91b0 40106fec
3fffff30: 4021d3c5 3ffe91b0 3ffe8a10 01472a4a
3fffff40: 3fff088c 00001000 4021d85e 00000008
3fffff50: 00000000 00000000 4021d90b 3ffe9264
3fffff60: 3ffe8a10 00661f98 3ffe8a10 40201018
3fffff70: 40205e89 3ffe9264 3ffe8a10 0147202a
3fffff80: 40205ece 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffe8a20 3fffdad0 3ffee7c0 40204d7f
3fffffa0: 40000f49 0001804e 3fffdab0 40000f49
<<<stack<<<

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

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld

************************************************************
Hope that helps.
Thanks Werner

werner_staub
 
Posts: 11
Joined: Sun May 15, 2016 7:10 am

Re: Music Maker FeatherWing don't play mp3

by adafruit_support_carter on Thu Feb 14, 2019 12:38 pm

It looks like it's generally working. And you hear the initial few seconds, so it's reading the file. Try a different SD card and also a different MP3 file and see if there are any changes.

adafruit_support_carter
 
Posts: 10430
Joined: Tue Nov 29, 2016 2:45 pm

Re: Music Maker FeatherWing don't play mp3

by powershift on Thu Feb 14, 2019 11:52 pm

looks like I am experiencing the same wdt reset. the mp3 file length seems has to do with how easy it gets wdt triggered.

powershift
 
Posts: 21
Joined: Sat Sep 13, 2014 9:50 am

Re: Music Maker FeatherWing don't play mp3

by werner_staub on Thu Feb 21, 2019 4:05 pm

It looks like I found a solution. I used the ESP device before to connect to WiFi. I guess, the WiFi was still activated in the core, but not managed by the SW. So I've got the wdt reset after some seconds.
I added the ESP8266WiF lib and added the command "WiFi.disconnect(true);" in the seup-routine. Now it works. So, if you have used the WiFi on an ESP chip, you have to deactivate it or use it. Otherwise you will get a wdt reset.

werner_staub
 
Posts: 11
Joined: Sun May 15, 2016 7:10 am

Re: Music Maker FeatherWing don't play mp3

by powershift on Thu Feb 21, 2019 5:39 pm

I guess you can't have background WiFi service? That's a bummer as it will be great to have web access to control music playback...

I'll try over weekend. Testing music player at night (repeatedly) gets on the nerve of family members...

powershift
 
Posts: 21
Joined: Sat Sep 13, 2014 9:50 am

Please be positive and constructive with your questions and comments.


cron