🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    TAB5 python Crash

    Scheduled Pinned Locked Moved PRODUCTS
    6 Posts 2 Posters 1.9k Views
    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.
    • S Offline
      scroggyg
      last edited by

      I was trying to write an output on EXTIo2 and I got a python crash and a dump.
      I then tried to update the TAB5 to V2.3.6-hotfix2.
      The device programmed and the default UIFlow screen is showing, but now I cannot program the device.
      I reverted to 2.3.5 and I can program the TAB5

      felmueF 1 Reply Last reply Reply Quote 0
      • felmueF Offline
        felmue @scroggyg
        last edited by

        Hello @scroggyg

        here are the result of my tests with various firmware versions:
        v2.3.5 : running program -> crash
        v2.3.6 : running program -> crash
        v2.3.6 hotfix : running program -> ok
        v2.3.6 hotfix2 : running program -> ok

        Note:

        • I had no issue burning an running any of the above firmware versions.
        • I run all my tests with no battery attached.

        You can find the program I used in the UIFlow Project Zone: M5Tab5_ExtIO2_Test_UIFlow2.3.6

        Thanks
        Felix

        GPIO translation table M5Stack / M5Core2
        Information about various M5Stack products.
        Code examples

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          scroggyg @felmue
          last edited by

          Thanks Felix, I updated the TAB5 to V2.3.6-hotfix2 but the problem remains. As a trest I write once a second and that works, when I then call it in another function it panics
          5e553950-b7e1-4302-9716-d28b0b90b046-image.png
          This code panics
          31947bc3-ff39-4409-90ea-b56a6b76d527-image.png
          This code works
          83bf68f7-2503-47dd-9a23-8c78db16e932-image.png
          Any help would be appreciated

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            scroggyg @scroggyg
            last edited by

            @scroggyg Felix, I ran your code, but changed to the internal I2C G31 & G32 the bus I am running the M0 from and it crashes.
            I have made a board using the M0 from the EXtio2, I am using this successfully with other TAB5s

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              scroggyg @scroggyg
              last edited by

              @scroggyg I rewired the board to Port A and the code works. There seems to be an issue connecting an I2C device on the ExtPort2, the python crashes when the Extio2 is connected. That is all I have tested, there may be other issues.

              felmueF 1 Reply Last reply Reply Quote 0
              • felmueF Offline
                felmue @scroggyg
                last edited by

                Hello @scroggyg

                I modified my test program to use internal I2C, did a i2c scan w/o ExtIO2 connected and with it - there seems to be no i2c address conflict.

                For me ExtIO2 works either connected to port A or to internal. What I noticed though is that I need to wait (after powering up M5Tab5) for the UIFlow2 screen fully being loaded before running the program.

                If I do not wait long enough I occasionally see a crash too.

                Thanks
                Felix

                GPIO translation table M5Stack / M5Core2
                Information about various M5Stack products.
                Code examples

                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
                • First post
                  Last post