Lopy4 Guru meditation error



  • Hi, i have a LoPy4 with firmware 1.17.3.b1 attached to a Expansionboard v2.1A. I have a code that worked fine on SiPy, but after transfer to LoPy4 i get this error.
    Note: this error comes with or without any pins connected to the expansionboard.
    If you want the main.py, please provide me with a mail i can sent to.
    Thank you

    Update: i have tried downgrading to: 1.17.2.b1, 1.17.0.b1 and 1.16.0.b1
    The dumb is from 1.17.3.b1:

    Update:
    Downgrading to updater tool: 1.13.1.b5 - Same chrashes
    Downgrading firmware to: 1.15.0.b1 on SiPy and LoPy4 - same chrashes
    FTP overwrite boot.py and main.py to standard settings (factory default) - same chrashes
    Switch expansionboard, USB port and cable - same chrashes

    I have two LoPy4's and two SiPy's. Any suggestions are welcome. Dont care about custom code any more, just need to work again as from factory. Thanks

    Guru Meditation Error: Core  0 panic'ed (InstrFetchProhibited)
    . Exception was unhandled.
    Register dump:
    PC      : 0x00000000  PS      : 0x00060030  A0      : 0x8011855d  A1      : 0x3ffbd650
    A2      : 0x00000000  A3      : 0x00000037  A4      : 0xffffffa2  A5      : 0x3fbc0af4
    A6      : 0x00000008  A7      : 0x00000000  A8      : 0x8012382c  A9      : 0x3ffbd640
    A10     : 0x3fbc0b10  A11     : 0x00000037  A12     : 0xffffffa2  A13     : 0x3ffbd6e4
    A14     : 0x7777395d  A15     : 0x7777395d  SAR     : 0x00000010  EXCCAUSE: 0x00000014
    EXCVADDR: 0x00000000  LBEG    : 0x4009b351  LEND    : 0x4009b385  LCOUNT  : 0xffffffff
    
    Backtrace: 0x00000000:0x3ffbd650 0x4011855a:0x3ffbd670 0x40119567:0x3ffbd740 0x4012faf5:0x3ffbd760 0x40131657:0x3ffbd7b0
    
    ================= CORE DUMP START =================
    PDUAAA8AAABsAQAA
    WNj7P5DV+z9Q2Ps/
    sNb7P/DX+z9y7PondFL8P3RS/D9Y2Ps/bFL8PwIAAADowfs/6MH7P1jY+z8AAAAA
    FwAAAFTI+z93aWZpAP8nK+eeG3KnY8AAAAAAAFDY+z8AAAAAIA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YA6VP+ir/T/sq/0/AGD8PwMAAACUW0E/
    AAAAAAMAAAAAAAAAjg0AAAIAAAAwrP0/lFtBP6KtAAByLpU/NK39PwEAAABuDgAA
    AAAAADCt/T8BAAAAAAAAANCr/T8AAAAAAwAAABCs/T87TA+AcKz9PwAAAAA4LpU/
    AAAAADCt/T+YrP0/IKz9P0gVD4AQrf0/AGD8PwBg/D/grf0/sKz9PztMD4BwrP0/
    4K39PwYAAABErf0/AAAAAECt/T8AAAAAgK39P2gqlT8AAAAAAAAAAEgVD4AQrf0/
    AGD8PwBg/D/auw+AAAAAAAYAAAAIAAAAOK39PwAAAAAAAAAAEK39P0St/T9Arf0/
    BQAAAAAAAADA////LK39Pyyt/T8AAAAAMP///zkulT91FQ+AoK39P+D2lD8AAAAA
    1iyVPzculT9ALpU/KK39Pzit/T8AYPw/BgAAAKD4lD/sH/w/AQAAAAQg/D+gufw/
    BQAAAHCt/T/MU/w/sK39P1fjDYDgrf0/AAAAABQFAADSLJU/kK39P7Ct/T8AAAAA
    AAAAAAAAAADg9pQ/AAAAABCt/T8AAAAABgAAAGCt/T+G4A2AwK39P+D2lD8AAAAA
    AAAAAAAAAACwD5U/4PaUP1fjDYDgrf0/4PaUPxQFAAAAAAAAAAAAAAAAAAD9AAAA
    ptANgICu/T+rHUA/kPeUPwAAAAAQrv0/V+MNgOCt/T8AAAAAAAAAAAAAAADC8EA/
    VPBAPwgAAACrHUA/4PaUP2QJEEAKAAAAptANgICu/T+rHUA/kPeUPzPgDYDUKpU/
    cCiVP2Cu/T8GAAAAZGH8PwAAAABgrv0/+K39P2Cu/T8AAAAAzh8AAJD3lD8BAAAA
    AAAAAMLwQD9U8EA/CAAAAAAAAACgrv0/sK79PwAAAAAwrv0/AAAAAAAAAAAkXPw/
    AAAAAACw/T8AAAAAAAAAAAEAAAClpaWlpaWlpaWlpaVsAAAAIQBNACBCT09ULlBZ
    AP//////Ym9vdC5weQD/////////////////////////////////////////////
    /6WlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWl
    paWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaWlpaVQNAhARM0NQAD/////////
    /////////////////////////////////wAAAAAAAAAAAAAAAQAAAAAAAAD/////
    AAAAAP/////////////////////FQhOBAAAAADIAAAACAQAAAAAAAAAAAAAAAAAA
    AAAZAKCu/T8AAAAAAAAAAAAAKAAAAAAAAQAAAHCv/T8AAAAAAAAAAAAAAAAAAAAA
    zFX8PwAAAAABAAAAJh5APwAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAyw/T8AAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
    tGT9P/B3/T9Ief0/
    8Hf9P+B4/T/pGAAAJH37P5RQ/D+0ZP0/jFD8Pw8AAACAbv0/gG79P7Rk/T94bv0/
    CgAAAExv/T9UbXIgU3ZjAHZ6wNnHNnYAAAAAAEh5/T8AAAAAIQAGAAoAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAADkaf0/TGr9P7Rq/T8AAAAAAAAAAAEAAAAAAAAA
    V1pAPwAAAACMuglAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPiW6A==
    UDQIQPnWCEAwAgYAAAAAALB4/T8BAAAA6RgAAAAAAACkUvw/nFL8P+gYAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqWlpQ==
    UDQIQGi8CEAwBwYA94YOgBDk/T8Axv0/sOT9P0zG/T8AAAAAVMb9PwAAAABovAiA
    8OP9PwEAAAD/////mFL8PwEAAAAEGfw/AAAAAAAAAAAgIPs/AAAAAAAAAAAAAAAA
    AAAAAEk2CEABAAAAqNgIQCAg+z8AAAAAAAAAAAAAAAD//z+zAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAABnAAAApaWlpaWlpaX01Q2AUOT9P4he/D+w5P0/
    AAAAAHAAAAClpaWlpaWlpf////9Q5P0/ZGH8P7Dk/T8AAAAAAQAAAHxe/D8cNPw/
    AAAAAODk/T98Xvw/AAAAAADl/T8AAAAAAAAAAAAAAAAAAAAAfF78PwAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAYPw/
    AGD8PwAAAACw5P0/ABQAACAg+z8AAAAAAAAAAAAAAAAAYPw/AAAAAAoAAAD///9/
    AAAAAADl/T8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAM5f0/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    AAAAAAAAAAA=
    ================= CORE DUMP END =================
    
    


  • This post is deleted!


  • @jmarcelino do you already searching for a solution or have found it ???? I have the same problem



  • @robert-hh I dont think so. Because i can connect to the wifiAP when it is safe boot.
    But not now, after this "fix". In both safe boot and normal.
    I put the pycom.wifi_on_boot(False) into my main.py. And so far running fine.



  • @jmarcelino Good to know that WiFi on boot is also disabled on safe boot. Or am I wrong?



  • @jmarcelino Success! My two LoPy4's with firmware 1.17.3.b1 and my own code running, no chrashes so far. Haven't tested for more than 10 minutes, but looks fine. Will test SiPy's tomorrow.
    THANK YOU

    Update: Still running 1+ hours. Great succes



  • @bjsi9
    Could you a test please, go into safe boot so you have control and do

    import pycom
    pycom.wifi_on_boot(False)
    

    To disable WiFi hostAP on boot until activated again.

    Then let me know if stops crashing.

    Thanks!



  • @bjsi9 Esptool.py is executed on your PC from the command line (cmd on Windows, terminal on Linux/Max). It is also used internally by the pycom update tool. Just call :

    python3 esptool.py --help

    to erase, run

    python3 esptool.py -p <portname> -c esp32 erase_flash

    Edit: Esptool is also here: https://github.com/espressif/esptool



  • @robert-hh I found the esptool.py on this link, and copied to a file on my desktop: https://github.com/pycom/pycom-micropython-sigfox/blob/master/esp32/tools/esptool.py

    I need som guidelines on how to proceed. I think this file goes to the lib folder, and i have to command it from the pymakr.
    If this is correct, what is the exact command to execute til esptool? Thank you



  • @bjsi9 Can you try to erase the flash completely using esptool.py, subcommand erase_flash, and specifying the flash size. That will delete EVERYTHING including configuration and registration options. That will be restored with a pycom update, you can run afterwards.
    If you have the firmware creating environment set up, you can also run the command:
    make erase
    As always, you need to tie P2 to GND to activate the ROM bootloader.



  • I just deleted the boot.py and main.py on one of my LoPy4's via the FTP. When i start the device same chrash every other second.



  • @jmarcelino I've sent my code to you. Do you think its possible that the code, compined with the firmware update, burned the circuit? :) I'm running out of ideas.



  • @bjsi9 Yes. They can be empty and are empty on fresh installe devices. lib is used for storing python code of library style. It is also named in uos.path. But that is convention.



  • @robert-hh Hi, quick question. sys, lib and cert folders are all empty when i view them in filezilla FTP (Show hidden files are on). Should these folders be empty?



  • No luck using updater tool 1.13.1.b5



  • @robert-hh Just tried another cable, no luck. Same chrashes, after erase file system and firmware update (done with the updater tool)
    I know its a long shot, but i'm gonna try older version of the updater tool now.



  • @bjsi9 _boot.py should be OK, because that is executed always. _main.py is inside the frozen bytecode and comes as part of the firmware image. I have my doubts whether that is wrong.
    Did you meanwhile try another (short) cable? Cables and especially connectors can wear.



  • @robert-hh Okay, maybe _boot.py or _main.py is corrupted? What could i do about that, any suggestions? Thanks



  • @bjsi9 Looking at the code, this is hard to understand:
    With safeboot, only _boot.py is executed.
    with normal boot, _boot.py, boot.py, _main.py and main.py are run (in that order). That is mostly th whole difference. This is the section in the file mptask.c, which I'm talking about (line 282 ff):

        if (!safeboot) {
            // run boot.py
            int ret = pyexec_file("boot.py");
            if (ret & PYEXEC_FORCED_EXIT) {
                goto soft_reset_exit;
            }
            if (!ret) {
                // flash the system led
                mperror_signal_error();
            }
        }
    
        if (!safeboot) {
            // execute the frozen main first
            pyexec_frozen_module("_main.py");
    
            // run the main script from the current directory.
            if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
                const char *main_py;
                if (MP_STATE_PORT(machine_config_main) == MP_OBJ_NULL) {
                    main_py = "main.py";
                } else {
                    main_py = mp_obj_str_get_str(MP_STATE_PORT(machine_config_main));
                }
                int ret = pyexec_file(main_py);
                if (ret & PYEXEC_FORCED_EXIT) {
                    goto soft_reset_exit;
                }
                if (!ret) {
                    // flash the system led
                    mperror_signal_error();
                }
            }
        }
    


  • @robert-hh Hi, yes its very strange. I have also some Sipy's for testing, never had any problems. But after upgrade they chrashes all the time, even when downgrading and flash-reset.

    • The device starts up, and waits in the prompt with: >>>>
      After som seconds, it chrashes.
    • I have two expansionsboard, and tested with different USB ports also. Its the same cable i've used since i started working with pycom device the past year.

    Remember: the safe boot works



Pycom on Twitter