Guru Meditation Error: Core 1 panic'ed (LoadProhibited) on WiPy 3.0



  • Hi everyone, i just got a pack of brand new wipys 3.0 with an expansion board 3.0. I was going through some of the tutorials and got a Guru Meditation Error when trying to set the board on deepsleep mode. I used the exact same little code showed on the webpage i linked before:

    import machine
    print("Wake up")
    machine.deepsleep(1000) #deepsleep 1 second
    print("this will never get printed!")
    

    Here's the output on REPL (i used VScode with Pymkr extension on ubuntu 20.04, i also updated the wipy's firmware to last version):

    Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
    Core 1 register dump:
    PC      : 0x400ff1ba  PS      : 0x00060b30  A0      : 0x800e7e5b  A1      : 0x3ffd7020  
    A2      : 0x00000000  A3      : 0x00000001  A4      : 0x00000000  A5      : 0x00000009  
    A6      : 0x00008000  A7      : 0x8000ffff  A8      : 0x3f40f028  A9      : 0x3ffd6ff0  
    A10     : 0x00000000  A11     : 0x00000000  A12     : 0x3ff56960  A13     : 0x00000000  
    A14     : 0x3ffdcd30  A15     : 0x00000001  SAR     : 0x0000001e  EXCCAUSE: 0x0000001c  
    EXCVADDR: 0x00000000  LBEG    : 0x400eccc0  LEND    : 0x400ecd03  LCOUNT  : 0x00000000  
    
    ELF file SHA256: 0000000000000000000000000000000000000000000000000000000000000000
    
    Backtrace: 0x400ff1ba:0x3ffd7020 0x400e7e58:0x3ffd7040 0x400e5748:0x3ffd7060 0x4010186a:0x3ffd7090 0x400fdbf9:0x3ffd70c0 0x400fdc89:0x3ffd70e0 0x40109c57:0x3ffd7100 0x40101904:0x3ffd71a0 0x400fdbf9:0x3ffd7200 0x400fdc26:0x3ffd7220 0x400e12d9:0x3ffd7240 0x400e1425:0x3ffd72e0 0x400dfffe:0x3ffd7310
    
    ================= CORE DUMP START =================
    (...)
    ================= CORE DUMP END =================
    Rebooting...
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, 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:0x3fff8020,len:8
    load:0x3fff8028,len:2128
    load:0x4009fa00,len:19760
    entry 0x400a05bc
    

    If there's anyone who might have an idea of how to solve this i would really aprecciate it, i really need this feature for my project to work. Thank you all.



  • That worked flawlessly! Thank u so much!



  • Hi,
    Have you tried clearing the NVS and CONFIG partitions together with the flash on the device using hte firmware updater tool (the options are listed in the advanced section). (Un)fortunately, I cannot reproduce the issue on the latest firmware, 1.20.2.r4

    Best,
    Gijs


Log in to reply
 

Pycom on Twitter