Sample Presense Program Fails When Playing mp3

Asked 2 years ago, Updated 2 years ago, 107 views

I followed the Spresense Arduino tutorial for a sample program to play MP3 in spresense, and the following message was displayed on the serial monitor:
What is the problem? What is 0x22 or 0xf1?

initialization Audio Library
Open!218417304
Play!
Attention: module[6][0]attention id[2]/code[26] (objects/media_player/media_player_obj.cpp L1371)

Attention!
ERROR: Command (0x22) fails.Result code (0xf1) Module id (0x6) Error code (0x14) Error subcode (0x0)
Loop!!
Error End
ERROR: Command (0x23) fails.Result code (0xf1) Module id (0x6) Error code (0x1)

spresense

2022-09-30 17:09

1 Answers

I can play it without any problems.As for the error code, this is very hard to understand, but you can pull it out by referring to the Spresense SDK Development Guide.When I searched for the error code "0x14" here, I found the following information.

AS_ATTENTION_SUB_CODE_DSP_EXEC_ERROR
0x14
DSP Processing Error

The DSP file may not have been properly installed.Why don't you try installing DSP files again?


2022-09-30 17:09

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.