Closed h1aji closed 3 years ago
aac is only supported by VS1053. Are you sure you have one?
I am using this one. And generally this stream and other AAC are working fine, its just mb after week of use it fails with this error.
Sorry, I cannot reproduce the error:
D: Get command is: station=ice912.echo.msk.ru:9120/24.aac
D: Send reply for station=ice912.echo.msk.ru:9120/24.aac
D: Command: station with parameter ice912.echo.msk.ru:9120/24.aac
D: STOP requested
D: Stopping client
D: Connect to new host ice912.echo.msk.ru:9120/24.aac
D: Connect to ice912.echo.msk.ru on port 9120, extension /24.aac
D: Song stopped correctly after 20 msec
D: Connected to server
D: Switch to HEADER
D: Headerline: Server: nginx/1.15.7
D: Headerline: Content-Type: audio/aac
D: audio/aac seen.
D: Headerline: Transfer-Encoding: chunked
D: Headerline: Connection: close
D: Headerline: icy-br: 24
D: Headerline: ice-audio-info: channels=2;samplerate=48000;bitrate=24
D: Headerline: icy-name: /24.aac
D: Headerline: icy-pub: 1
D: Headerline: Cache-Control: no-cache, no-store
D: Headerline: Access-Control-Allow-Origin: *
D: Headerline: Access-Control-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type
D: l-Allow-Headers: Origin, Accept, X-Requested-With, Content-Type seen.
D: Headerline: Access-Control-Allow-Methods: GET, OPTIONS, HEAD
D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT
D: Headerline: icy-metaint: 8192
D: Switch to DATA, bitrate is 24, metaint is 8192
D: Metadata block 16 bytes
D: Streamtitle found, 15 bytes
D: StreamTitle='';
Use the "ESP exception decoder"-plug-in to see where the exception occurs.
Got this:
PC: 0x4000c3f0
EXCVADDR: 0x4008aba4: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 142
Decoding stack results
0x401277fd: __ssprint_r at ../../../.././newlib/libc/stdio/vfprintf.c line 342
0x40120586: _svfprintf_r at ../../../.././newlib/libc/stdio/vfprintf.c line 1774
0x4011d071: sprintf at ../../../.././newlib/libc/stdio/sprintf.c line 644
0x400d2713: displaytime(char const*, unsigned short) at /tmp/arduino_build_234881/sketch/LCD2004.h line 476
0x400d4642: handle_spec() at /home/hmurad/git/ESP32-Radio/Esp32_radio/Esp32_radio.ino line 5525
0x400d4672: spftask(void*) at /home/hmurad/git/ESP32-Radio/Esp32_radio/Esp32_radio.ino line 5556
0x4008aba9: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
as soon as i cleared displaytime block
void displaytime ( const char* str, uint16_t color )
{
}
it started working Any chance to get this fixed? Thanks
Fixed.
thank you @Edzelf
unfortunately now I see this:
PC: 0x40148f78: i2c_cmd_link_delete at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/i2c.c line 962
EXCVADDR: 0x00323380
Decoding stack results
0x40148f78: i2c_cmd_link_delete at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/driver/i2c.c line 962
0x400d23b3: LCD2004::scommand(unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 180
0x400d23c7: LCD2004::strobe(unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 153
0x400d23fb: LCD2004::swrite(unsigned char, unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 130
0x400d2420: LCD2004::write_cmd(unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 142
0x400d245b: LCD2004::scursor(unsigned char, unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 206
0x400d24dd: dsp_update_line(unsigned char) at /tmp/arduino_build_869484/sketch/LCD2004.h line 357
0x400d2766: displaytime(char const*, unsigned short) at /tmp/arduino_build_869484/sketch/LCD2004.h line 494
0x400d46a2: handle_spec() at /home/hmurad/git/ESP32-Radio/Esp32_radio/Esp32_radio.ino line 5529
0x400d46d2: spftask(void*) at /home/hmurad/git/ESP32-Radio/Esp32_radio/Esp32_radio.ino line 5560
0x4008aba9: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143
Please show full logging.
@Edzelf same as in this post https://github.com/Edzelf/ESP32-Radio/issues/393#issuecomment-711871731 In my case SDA and SCL are 13 and 14. I think this problem is with displaytime As soon as i comment it the radio starts working fine
I will try to reproduce the error.
Fixed.
Looks fine now. Thanks
Hi @Edzelf I compiled with LCD2004 and after few days I am getting this error:
But when I connect just ESP32 module to my PC using microusb it seems to be booting fine, web interface is loading. I have to compile sketch with DUMMYTFT to make it working. I am not sure if its because of LCD2004 module