MrBuddyCasino / ESP32_MP3_Decoder

A internet radio and bluetooth speaker project for the Espressif ESP32
774 stars 182 forks source link

Can't find mp3_decoder.elf #66

Closed dresio closed 5 years ago

dresio commented 5 years ago

I have gone through the installation and am able to flash and monitor the ESP32. However, I am trying to get the Bluetooth functionality and I am getting an error that I do not understand. I can flash the ESP32 just fine, no problems or errors there. When I pull up the monitor however, I get this error message multiple times: ~/radio/xtensa-esp32-elf/bin/xtensa-esp32-elf-addr2line -pfiaC -e /home/daniel/radio/ESP32_MP3_Decoder/build/mp3_decoder.elf 0x40078000: [Errno 2] No such file or directory I am attaching a screenshot of the output where it shows that file in that exact directory. Can anyone help me out and tell me where I am going wrong? screenshot from 2019-03-06 16-02-16

dresio commented 5 years ago

After digging into the problem some more, there were two errors that I was running into. One was the fact that for whatever reason, the Bluetooth audio only works with Bluetooth Dual Mode. That was causing a fatal error later when the program tried to initialize the Bluetooth connection. I had wrongly assumed the second error I saw: bt_speaker_start enable controller failed was because of the above error. After fixing this, I had also reinstalled the code base and have not seen either error since, so I am unsure if switching the mode fixed it, or if there were corrupted files in the download.