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

    Micropython for Atom S3 Lite

    Micropython
    6
    17
    12.2k
    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.
    • ajb2k3A
      ajb2k3
      last edited by

      0_1684991309409_Screenshot 2023-05-25 at 06.07.54.png

      Please only use the Version found in M5 Burner as I will have the drivers for units pr included whereas Mainstream MP will not have the necessary changes and libraries added to support units.

      UIFlow, so easy an adult can learn it!
      If I don't know it, be patient!
      I've ether not learned it or am too drunk to remember it!
      Author of the WIP UIFlow Handbook!
      M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

      F F 2 Replies Last reply Reply Quote 0
      • F
        flex @ajb2k3
        last edited by

        @ajb2k3

        • actual M5Stack version in M5 Burner, which is alpha, is based on MicroPython 1.19...
        • Latest version on Git, which include lot of improvements, is 1.20

        Is it scheduled before the end of alpha releasing to have an M5Stack version based on 1.20?

        ajb2k3A 1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3 @flex
          last edited by

          @flex I don't know I haven't spoken to the DEV at M5STACK and don't know the development route.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          1 Reply Last reply Reply Quote 0
          • F
            forestial @ajb2k3
            last edited by

            @ajb2k3 OK, I will try using M5Burner. I have an Atom Lite, so should I select "ATOM" in the list of devices on the left? And then should I select "Micropython" from the list on the right? I only want micropython, not UIFlow (at this stage).
            0_1685140075284_218b0db7-b0b1-4a4d-9a95-8e7b92784017-image.png

            ajb2k3A 1 Reply Last reply Reply Quote 0
            • ajb2k3A
              ajb2k3 @forestial
              last edited by

              @forestial For the Atom S3 lite, no use the Atom S3 UIFLow firmware.

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 1
              • F
                forestial
                last edited by

                @ajb2k3 On more careful inspection I see that my module is just ATOM LITE, not ATOM S3 LITE. So I have selected "ATOM" in M5Burner and then re-burned with "UIFlow_Lite" v1.11.8. However this does not appear to boot successfully, I cannot get to the >>> python prompt.

                Can you comment on what is going on? Am I using the wrong firmware for an ATOM LITE? (I can revert to the ATOM S3 version, which was working fine, but I am trying to learn how to do this properly.)

                1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3
                  last edited by

                  Have you followed all the instructions including setting the the correct inter-erasure and port?
                  What shell program are you using?

                  UIFlow, so easy an adult can learn it!
                  If I don't know it, be patient!
                  I've ether not learned it or am too drunk to remember it!
                  Author of the WIP UIFlow Handbook!
                  M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                  1 Reply Last reply Reply Quote 0
                  • F
                    forestial
                    last edited by

                    I am burning with M5Burner, and using any of Thonny, PuTTY or python -m serial to connect afterwards. All of them fail. Sometimes I get a stream of "flash read error" messages; sometimes I just an ascii-art logo printed but then no response to the keyboard.

                    I don't know about inter-erasure: can you point me to docs about that? At one point I did a "python -m esptool --port COM7 --chip ESP32 erase_flash" before re-burning, but without success. As noted, the burn process always ends successfully but after connection is when the trouble starts. I'm beginning to wonder if my Atom Lite is bad, but it was working before.
                    (I said above that I could revert to the Atom S3 version, but in fact it is not working now either)

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      forestial @forestial
                      last edited by

                      Adding to my own comment here: I believe my problems were caused by setting the 'Start Mode' parameter incorrectly. When I reverted it to "App Mode" the ATOM LITE seems to respond normally to the terminal (including Thonny) and I get the >>> prompt.
                      I'm not clear what the other App Mode values are for, but for now it seems to be doing what I need.

                      1 Reply Last reply Reply Quote 0
                      • ajb2k3A
                        ajb2k3
                        last edited by

                        inter-erasure? I don't know what autocorrect did to my comment, sorry!

                        The S3 does NOT work like previous generation devices and you have to put it into "Boot Loader" mode by holding in a button before a serial connection can be open to use the REPL terminal.

                        UIFlow, so easy an adult can learn it!
                        If I don't know it, be patient!
                        I've ether not learned it or am too drunk to remember it!
                        Author of the WIP UIFlow Handbook!
                        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post