I was finishing a project and started 3d printing already, saved the working sketch as a new version since everything works. In few hours without any changes (or even new firmware) everything stopped working and I got that message on the loop (not sure where it starts since it is on the loop and ESP doesn't reboot on opening the monitor), even date doesn't change
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
mode:DIO, clock div:1
ho 0 tail 12 room 4
E (25) psram: PSRAM ID read error: 0xffffffff
assertion "state == EntryState::WRITTEN || state == EntryState::EMPTY" failed: file "/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/nvs_flash/src/nvs_page.cpp", line 339, function: esp_err_t nvs::Page::eraseEntryAndSpan(size_t)
abort() was called at PC 0x400d578f on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x4008c1a4:0x3ffbb890 0x4008c41d:0x3ffbb8b0 0x400d578f:0x3ffbb8d0 0x400e2206:0x3ffbb900 0x400e2af1:0x3ffbb950 0x400e2ea2:0x3ffbb9d0 0x400e3483:0x3ffbba20 0x400e0de5:0x3ffbba90 0x400e0685:0x3ffbbaf0 0x400e0737:0x3ffbbb10 0x400e0782:0x3ffbbb30 0x400d1d2d:0x3ffbbb50 0x400d224d:0x3ffbbb70 0x400e46fa:0x3ffbbba0 0x4008d412:0x3ffbbbc0
ets Jun 8 2016 00:22:57
I reuploaded the working version of the sketch - nothing changed. I flashed blink - same problem. I uploaded an empty sketch - same error.
After ~hour of googling it seems that people were able to solve that issue in software, but I think I have a reasonable case to claim I isolated that to hardware (or at least post-bootloader).
One thing I think I have to mention (but I'm not sure I'm not imagining that) - it was running a very simple sketch with ESPNOW library. But it didn't have any pauses, was constantly machinegunning sensor values to a client (need low latency) and I did notice it was running a little hotter than usual, but nowhere near as hot as voltage regulators on some cheap mega2560 boards. Not especially comfortable to touch but not especially uncomfortable either.
How do I solve that?