Page 1 of 1

is my module failing?

Posted: Tue Sep 01, 2020 3:28 pm
by mzimmers
ESP32-WROVER

On startup, I often get messages like this:

Code: Select all

E (1332) spiram: SPI SRAM memory test fail. 3/131072 writes failed, first @ 3FB12020

E (1332) cpu_start: External RAM failed memory test!
abort() was called at PC 0x4008169f on core 0
...
E (1332) spiram: SPI SRAM memory test fail. 4/131072 writes failed, first @ 3FAD3420

E (1332) cpu_start: External RAM failed memory test!
Eventually it starts up OK.

Re: is my module failing?

Posted: Wed Sep 02, 2020 8:16 am
by ESP_Sprite
Sounds like something weird is going on with SPIRAM indeed... Just to check: Are you sure you don't have anything connected to the flash pins of the module (including any possibly-conductive nastiness near the pads?) Do you still have the issue if you select '2T' mode for psram in menuconfig?

Re: is my module failing?

Posted: Wed Sep 02, 2020 8:27 pm
by mzimmers
Hi Sprite - I don't think there's anything touching the pins on the module. This unit has been working fine for months, and just recently started this behavior.

Changing the 2T setting did seem to make this problem go away; are there any side effects of this mode that I should be aware of?

Thanks...

Re: is my module failing?

Posted: Thu Sep 03, 2020 7:09 am
by ESP_Sprite
The side effect is that you loose half of the capacity of your chip. Assuming you have an 8M chip in there an do not use the himem API, it shouldn't matter.