Guru meditation error when trying threads



  • I am trying to run the new Lora example in a thread. I use the example used from here:
    https://forum.pycom.io/topic/526/lopy-nano-gateway-extended-timeout-and-retry

    Without threading everything works fine

    This leads to this error:

    PYB: soft reboot
    Guru Meditation Error of type LoadStoreError occurred on core 0. Exception was unhandled.
    Register dump:
    PC : 0x400e7cfc PS : 0x00060330 A0 : 0x800ef299 A1 : 0x3ffe3260
    A2 : 0x00000345 A3 : 0x00000000 A4 : 0x00000000 A5 : 0x00000001
    A6 : 0x00000000 A7 : 0x00060f23 A8 : 0x800e7cfc A9 : 0x3ffe3240
    A10 : 0x400e89b5 A11 : 0x00060323 A12 : 0x00060320 A13 : 0x00000002
    A14 : 0x00000000 A15 : 0x00060d23 SAR : 0x0000001e EXCCAUSE: 0x00000003
    EXCVADDR: 0x400e89b5 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000

    Backtrace: 0x400e7cfc:0x3ffe3260 0x400ef299:0x3ffe3280 0x400edddb:0x3ffe32b0 0x400f8b24:0x3ffe32d0 0x400f1a09:0x3ffe3370 0x400edfe4:0x3ffe33b0 0x400f8827:0x3ffe33d0 0x400d831c:0x3ffe3460

    Edit: I am using firmware 1.5.0.b1



  • I have received the same crash numerous times over the last week, basically anything that involves interrupts or threads.

    I have just implemented a press button debounce / handler using the pin interrupt feature, this works fine as long as nothing else is running, but crashes the system otherwise.

    I'm glad that I am not the only one seeing this !!

    https://forum.pycom.io/topic/584/crash-when-running-thread


Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.