Installed DEV ESP32 Support into Arduino. When compiling without -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
resulting code is bootig and executing. Debug/Display code shows no use/existance of PSRAM as expected.
Enabling RAM during compilation (-dboard_has_psram as above) results in boot-loop
Code: Select all
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:10080
load:0x40080400,len:5856
entry 0x400806a8
E (133) psram: Not a valid or known package id: 6
abort() was called at PC 0x40085653 on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x40086f48:0x3ffbba30 0x400871bd:0x3ffbba50 0x40085653:0x3ffbba70 0x400d4e81:0x3ffbbaa0 0x400d0ee8:0x3ffbbac0 0x400d0e15:0x3ffbbae0 0x400d14cf:0x3ffbbb00 0x400d3d9a:0x3ffbbb30 0x40089f2d:0x3ffbbb50
Code: Select all
esptool.py v3.0-dev
Serial port /dev/cu.SLAB_USBtoUART
Chip is ESP32-PICO-V3-02 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Embedded PSRAM, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
(...)