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

    M5burner on windows7 cannot flash

    SOFTWARE
    5
    28
    86.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.
    • Ariane98A
      Ariane98
      last edited by

      Hi
      I just received my M5stickC and wanted to play with UIFlow so I downloaded M5burner and the appropriate firmware. M5burner says it's OK to erase but it cannot burn the firmware
      "Error loading Python DLL 'C:\Users\xxx\AppData\Local\Temp_MEI68722\python36.dll'.
      LoadLibrary: The specified module could not be found."
      I do have Python on this computer.
      I checked but the folder AppData\Local\Temp_MEI68722\ does not exist
      Where should I put python36.dll so m5burner "finds" it ?

      1 Reply Last reply Reply Quote 0
      • ozbkO
        ozbk
        last edited by

        Is your python version 3.6 ?

        1 Reply Last reply Reply Quote 0
        • Ariane98A
          Ariane98
          last edited by

          I have both 2.7 and 3.6
          Is there a "full" m5burner release with integrated python ?

          1 Reply Last reply Reply Quote 0
          • Ariane98A
            Ariane98
            last edited by

            ok...I used another PC and now I can connect
            Now I try to use gyro and accelerometer but when I use get X acc or get X gyr it says Execute code successfully but the stick says I2C bus error(6)
            Do you have an example of using IMU with UIFlow?

            T 1 Reply Last reply Reply Quote 0
            • T
              Thrasher @Ariane98
              last edited by

              @ariane98 show us your code

              Ariane98A 1 Reply Last reply Reply Quote 0
              • Ariane98A
                Ariane98 @Thrasher
                last edited by

                from m5stack import *
                from m5ui import *
                from uiflow import *
                import imu

                setScreenColor(0x111111)

                imu0 = imu.IMU()
                label0 = M5TextBox(27, 7, "AccX", lcd.FONT_Default,0xFFFFFF, rotate=0)

                setScreenColor(0x33ff33)
                lcd.font(lcd.FONT_DejaVu24)
                lcd.print('FelX', 10, 30, 0xcc33cc)
                wait(3)
                while True:
                label0.setText(str(imu0.acceleration[0]))
                wait(1)
                wait_ms(2)

                1 Reply Last reply Reply Quote 0
                • Ariane98A
                  Ariane98
                  last edited by

                  when I try the exact same blocks than in https://www.youtube.com/watch?v=zNxKkfbEkKU (label show get X gyr), I get this "I2C bus error(6)"

                  1 Reply Last reply Reply Quote 0
                  • Ariane98A
                    Ariane98
                    last edited by

                    and from arduino IDE I get values from IMU
                    So I guess it has with UIFlow interface to do ?

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

                      Your first issue on the first PC is that for some reason UIFlow is looking at the 2.7 version and not the 3.6 version of python. Check your python environmental setup as this happens if the environment is wrong (I used to get this often when running 2 version of python.

                      Second issue. what hardware are you running, what firmware version are you running and what version of UIFlow are you running?
                      It sounds like you haven't got UIFlow set to M5Stick.

                      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
                      • Ariane98A
                        Ariane98
                        last edited by

                        Code runs on the stick, excepted whan I try to use IMU.
                        Both firmware and UIFlow are UIFlowv1.3.2

                        ajb2k3A Ariane98A 2 Replies Last reply Reply Quote 0
                        • ajb2k3A
                          ajb2k3 @Ariane98
                          last edited by

                          @ariane98 Which stick?
                          The old black or the Orange Stick C?

                          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
                          • Ariane98A
                            Ariane98 @Ariane98
                            last edited by

                            Orange

                            1 Reply Last reply Reply Quote 0
                            • Ariane98A
                              Ariane98
                              last edited by

                              btw, in arduino, how do you access the built in red led?
                              Docs showed pin 10 but it's no working...

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

                                @ariane98 said in M5burner on windows7 cannot flash:

                                btw, in arduino, how do you access the built in red led?
                                Docs showed pin 10 but it's no working...

                                Try GPIO10

                                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!

                                Ariane98A 1 Reply Last reply Reply Quote 0
                                • Ariane98A
                                  Ariane98 @ajb2k3
                                  last edited by

                                  Strangely, it does light the led when I use digitalWrite(10, HIGH) but then nothing happens with digitalWrite(10, LOW)
                                  If I use digitalWrite(10, LOW) first, it sets the led ON...

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

                                    Ok I'm running 1.4 and getting a syntex error.
                                    Try upgrading to 1.4.0 beta and try again.

                                    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!

                                    Ariane98A 1 Reply Last reply Reply Quote 0
                                    • Ariane98A
                                      Ariane98 @ajb2k3
                                      last edited by

                                      @ajb2k3
                                      Thanks for your help
                                      I intended to use m5stick with kids but maybe it's too early...
                                      Both UIFlow and Arduino environments seem still unpredictable

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

                                        @ariane98 Its strange because all I use is UIFlow and I am writing an english book on it (samples available to download in the projects forum)
                                        For the current M5StickC competition i'm using the IMU in my project however, I'm using the online version and programming over wifi.

                                        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!

                                        Ariane98A 2 Replies Last reply Reply Quote 0
                                        • Ariane98A
                                          Ariane98 @ajb2k3
                                          last edited by

                                          @ajb2k3
                                          I am using UIFlow online too, but no luck with IMU...

                                          1 Reply Last reply Reply Quote 0
                                          • Ariane98A
                                            Ariane98 @ajb2k3
                                            last edited by

                                            @ajb2k3
                                            is it possible too use the stick as a vry simple webserver?

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