Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Guru meditation error when trying threads

    Scheduled Pinned Locked Moved LoPy
    2 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rvandam
      last edited by rvandam

      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

      1 Reply Last reply Reply Quote 0
      • C Offline
        crankshaft
        last edited by crankshaft

        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

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom