Access to PSRAM on ESP32 3 causes asserts
Access to PSRAM on ESP32 3 causes asserts
WIth PSRAM enabled, but not accessed, all works as expected. Once a successfully allocated area of memory " imageBufferPSRAM = (uint8_t *)heap_caps_malloc(TOTAL_BYTES, MALLOC_CAP_SPIRAM);" is read from, the system panics within the uart_vfs.c file (sometimes different places, but most often uart_return_char). This is reached via ESP_LOGE or ESP_LOGI. It has been noticed that writing to the PSRAM variable from the BLE "ESP_GATTS_WRITE_EVT" handler works, but the resulting memory appears to be corrupted.
-
- Posts: 9668
- Joined: Thu Nov 26, 2015 4:08 am
Re: Access to PSRAM on ESP32 3 causes asserts
What hardware are you using? Are you sure any pins in use by PSRAM are not shorted to e.g. another GPIO, or used by some other peripheral?
Who is online
Users browsing this forum: nopnop2002 and 113 guests