ESP32-audioI2S
ESP32-audioI2S copied to clipboard
Working with ESP32 WROOM but not WROVER
Just switched over to the WROVER with 8MB flash and 8MB PSRAM, now when my code runs I get this error.
When I initialize the PSRAM it works and reports 8MB
I am running the latest 2.0.15 of the ESP32 IDF in Arduino IDE
You can see it trys to connect to a MP3 stream server, and calls ps_calloc(), then it fails in doing so.
This is the only library accessing PSRAM.
I am also setting up Audio audio(true) to use the internal DACs
Decoding stack results
0x4009250c: tlsf_block_size_max at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c line 714
0x40092835: tlsf_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_tlsf.c line 125
0x40092f8f: multi_heap_malloc_impl at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap.c line 187
0x400930cc: multi_heap_malloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/multi_heap_poisoning.c line 234
0x40084454: heap_caps_malloc_base at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c line 175
0x4008479f: heap_caps_calloc at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c line 487
0x4010cd33: ps_calloc at C:\Users\Richard\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32\esp32-hal-psram.c line 116
0x400e261f: Audio::setDefaults() at C:\Users\Richard\sketchbook\libraries\ESP32-audioI2S-master\src\Audio.cpp line 273
0x400e2be9: Audio::connecttohost(char const*, char const*, char const*) at C:\Users\Richard\sketchbook\libraries\ESP32-audioI2S-master\src\Audio.cpp line 540
0x400d49dd: streamSetup(Audio*) at C:\Users\Richard\Desktop\projects\bang-bang-light/stram.cpp line 39
0x400d3bb5: setup() at C:\Users\Richard\Desktop\projects\bang-bang-light/bang-bang-light.ino line 343
0x4010f066: loopTask(void*) at C:\Users\Richard\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\cores\esp32\main.cpp line 42
That is difficult to say. It's probably a PSRAM issue. Does it run without PSRAM?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.