Search found 8 matches

by asargent
Fri Oct 25, 2024 3:25 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

Found issue. There was a typo in GPIO config that was initializing GPIO_33 inadvertently. All is working now!!!! For those looking for solution to similar issue. CHECK ALL THE GPIO for the PSRAM!!!
by asargent
Wed Oct 23, 2024 1:48 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

Thank you for cleaning up my long config post with the codebox. Apologies for not doing that. I just tried both 40 and 80 speeds for flash and PSRAM with no change. I have tried on a second board as well with the same results. I am wondering if I have some configuration wrong? The boot shows: I (278...
by asargent
Wed Oct 23, 2024 1:21 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

This is on an ESP32-S3 N8R8 Dev Kit (YD-ESP32-23 2022-V1.3) with ESP32-S3-WROOM-1.
by asargent
Tue Oct 22, 2024 4:51 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

It appears on further testing that the panics are happening upon led_strip_refresh as well as ESP_LOGx calls after the PSRAM buffer is read or written. Seems like any serial communications after PSRAM access causes the issue? (BTW, tried both SPI2_HOST and SPI3_HOST for the SPI display with the same...
by asargent
Tue Oct 22, 2024 12:36 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

And the second part as well as the sdkconfig.defaults at the end: # Partition API Configuration # # end of Partition API Configuration # # PHY # CONFIG_ESP_PHY_ENABLED=y CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE=y # CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION is not set CONFIG_ESP_PHY_MAX_WIFI_TX_POWER=...
by asargent
Tue Oct 22, 2024 12:34 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

The sdkconfig configuration is as follows (first half since the BB won't let me attach it as a file and won't let me put whole thing): # # Automatically generated file. DO NOT EDIT. # Espressif IoT Development Framework (ESP-IDF) 5.4.0 Project Configuration # CONFIG_SOC_MPU_MIN_REGION_SIZE=0x2000000...
by asargent
Tue Oct 22, 2024 12:26 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

Re: Access to PSRAM on ESP32 3 causes asserts

This is on an ESP32-S3 N8R8 Dev Kit. The following pins are connected to a SPI display #define PIN_BUSY (GPIO_NUM_14) #define PIN_RESET (GPIO_NUM_13) #define PIN_DATA_CMD (GPIO_NUM_12) #define PIN_CHIP_SELECT (GPIO_NUM_11) // Defining pins for ESP32 which uses MISO, MOSI, CS, SCLK, but We will only ...
by asargent
Mon Oct 21, 2024 8:06 pm
Forum: ESP-IDF
Topic: Access to PSRAM on ESP32 3 causes asserts
Replies: 10
Views: 1716

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_ret...