M5Stack fire PSRAM test failed!



  • 20:47:16.038 -> ets Jun 8 2016 00:22:57
    20:47:16.038 ->
    20:47:16.038 -> rst:0x1 (POWERON_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    20:47:16.038 -> configsip: 0, SPIWP:0xee
    20:47:16.038 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    20:47:16.038 -> mode:DIO, clock div:1
    20:47:16.038 -> load:0x3fff0018,len:4
    20:47:16.038 -> load:0x3fff001c,len:1324
    20:47:16.038 -> load:0x40078000,len:7788
    20:47:16.038 -> ho 0 tail 12 room 4
    20:47:16.038 -> load:0x40080400,len:6448
    20:47:16.038 -> entry 0x400806e8
    20:47:17.062 -> E (1877) spiram: SPI SRAM memory test fail. 248/131072 writes failed, first @ 3F800000
    20:47:17.062 ->
    20:47:17.062 -> [E][esp32-hal-psram.c:37] psramInit(): PSRAM test failed!
    20:47:17.163 -> M5Stack initializing...OK

    how can I fix this problem?



  • PORT C Uart conflict, if I would to setup Serial(2) I need to disable PSRAM :(



  • iIRC I seam to remember something on one of the Esp32 forums with a similar issue. I think it was something to do with bus clock speed issue. I think it was down to the clock being set to high for the psram.