Re: Small ESP32 Modul ( all include in new ESP32-PICO )
Posted: Thu Nov 01, 2018 11:13 pm
No real progress unfortunately, other than adding some extra logs to try to understand the read/write fails in the test:
E (1457) spiram: First Error after 2 good writes
E (1789) spiram: SPI SRAM memory test fail.
E (1790) spiram: Total Writes: 131072, Reads - Good: 80459, Bad: 50613
E (1791) spiram: First Good @ 3F800000, First Fail @ 3F800040
E (1798) cpu_start: External RAM failed memory test!
abort() was called at PC 0x400816c1 on core 0
Backtrace: 0x40094680:0x3ffe3bf0 0x40094823:0x3ffe3c10 0x400816c1:0x3ffe3c30 0x400790ef:0x3ffe3c50 0x400791a1:0x3ffe3c80 0x400791bf:0x3ffe3cc0 0x400794c1:0x3ffe3ce0 0x40080335:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20
CPU halted.
At this stage, with 80k good read/writes I'm inclined to think it's not a wiring issue, but a ram compatibility issue. I've noticed some SPIRAM initialisation requirements in the Lyontek ram datasheet, that I have been unable to track down in code anywhere... but I am understanding very little of the spiram.c and spiram_psram.c codebase at a low level
@loboris Did you have any chance to look at your TTGO? Did you get anything going on it? I don't think the TTGO has the required pins broken out to get SPIRAM working.
It might be time to get some other brand ram and try that
Edit: I ordered some of these... expensive shipping! But I need to know
https://www.electrodragon.com/product/2 ... 4-iot-ram/
Cheers,
Seon
unexpectedmaker.com
E (1457) spiram: First Error after 2 good writes
E (1789) spiram: SPI SRAM memory test fail.
E (1790) spiram: Total Writes: 131072, Reads - Good: 80459, Bad: 50613
E (1791) spiram: First Good @ 3F800000, First Fail @ 3F800040
E (1798) cpu_start: External RAM failed memory test!
abort() was called at PC 0x400816c1 on core 0
Backtrace: 0x40094680:0x3ffe3bf0 0x40094823:0x3ffe3c10 0x400816c1:0x3ffe3c30 0x400790ef:0x3ffe3c50 0x400791a1:0x3ffe3c80 0x400791bf:0x3ffe3cc0 0x400794c1:0x3ffe3ce0 0x40080335:0x3ffe3df0 0x40007c31:0x3ffe3eb0 0x4000073d:0x3ffe3f20
CPU halted.
At this stage, with 80k good read/writes I'm inclined to think it's not a wiring issue, but a ram compatibility issue. I've noticed some SPIRAM initialisation requirements in the Lyontek ram datasheet, that I have been unable to track down in code anywhere... but I am understanding very little of the spiram.c and spiram_psram.c codebase at a low level
@loboris Did you have any chance to look at your TTGO? Did you get anything going on it? I don't think the TTGO has the required pins broken out to get SPIRAM working.
It might be time to get some other brand ram and try that
Edit: I ordered some of these... expensive shipping! But I need to know
https://www.electrodragon.com/product/2 ... 4-iot-ram/
Cheers,
Seon
unexpectedmaker.com