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

    UIFlow doesn't start on new Core2

    Core 2
    6
    15
    21.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.
    • felmueF
      felmue
      last edited by

      Hello @puzznic

      hmm, that is strange. I've just verified with my M5Core2 and after burning UIFlow_Core2 v1.7.1-core2 it restarted with UIFlow just fine.

      Have you tried to re-download the UIFlow firmware? (Although I don't think that is the issue as my burning shows exactly the same amount of data written as yours, and the hash is verified as well.)

      Maybe try to erase your M5Core2 from within M5Burner first the burn again?

      Thanks
      Felix

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

      1 Reply Last reply Reply Quote 0
      • P
        puzznic
        last edited by

        thank you for your reply Felix.
        I indeed erased and burnt UIFlow mutlitpl times from different Windows laptops with the same (bad) results :(
        could it be a faulty unit then? even if the FactoryTest reports total success?

        • =================
          Erase now
          =================
          esptool.py v2.5.0
          Serial port COM5
          Connecting....
          Detecting chip type... ESP32
          Chip is ESP32D0WDQ6 (revision 1)
          Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse
          MAC: b8:f0:09:c5:b1:34
          Uploading stub...
          Running stub...
          Stub running...
          Erasing flash (this may take a while)...
          Chip erase completed successfully in 35.7s
          Hard resetting via RTS pin...
          =================
          Erase Successfully
          =================~~~~
        P 1 Reply Last reply Reply Quote 0
        • felmueF
          felmue
          last edited by

          Hello @puzznic

          just to be clear, when you run the Factory Test the screen in your M5Core2 works, correct?

          After burning UIFlow, have you tried to reset your M5Stack with the reset button?

          Also have you tried to fully shutdown your M5Stack by pressing and holding the power button, then power it on again?

          Thanks
          Felix

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

          1 Reply Last reply Reply Quote 0
          • P
            puzznic @puzznic
            last edited by

            hello Felix,

            just to be clear, when you run the Factory Test the screen in your M5Core2 works, correct? correct. here's a screenshot of the test running:

            ![alt text](0_1609747947765_IMG-2857 (Small).jpg image url)

            After burning UIFlow, have you tried to reset your M5Stack with the reset button?
            Also have you tried to fully shutdown your M5Stack by pressing and holding the power button, then power it on again?

            the device has been reset and turned off and on multiple times indeed.
            so weir, I reckon...

            1 Reply Last reply Reply Quote 0
            • G
              guillaumelf26
              last edited by

              Hello @puzznic,

              I just received my first Core2 yesterday, and I had the same problem trying to run the uiFlow 1.7.1 firmware.

              After many attempts, I finally tried the 1.7.0 version, and it worked ! Maybe try this version instead of the latest one.

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

                Hello @puzznic

                after burning UIFlow, what do you see in the COM Monitor log of M5Burner when you reset M5Core2? Any errors?

                Thanks
                Felix

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

                1 Reply Last reply Reply Quote 0
                • N
                  NetworkUke
                  last edited by

                  I'm running into the same issue. Right after

                  "Hard resetting via RTS pin...

                  Burn Successfully"

                  The m5stack display freezes and in the console output is:

                  rst:0x10 (RTCWDT_RTC_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  invalid header: 0x4f44213c
                  ets Jul 29 2019 12:21:46

                  on an infinite loop.

                  Even after re-burning it with the easy loader when I attempt to burn UIFlow_Core2 the same issue occurs. Any advice is greatly appreciated.

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

                    Hi guys

                    @NetworkUke : please see your other post. In your case the firmware file size is way to small.

                    @puzznic : have you tried to reduce the baudrate? Not sure that will help but worth a try.

                    Thanks
                    Felix

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

                    1 Reply Last reply Reply Quote 0
                    • I
                      inasawa
                      last edited by inasawa

                      It seems to be the same situation as the Core 2 I bought yesterday.
                      Core2FactoryTest and draw_by_touch work fine, but UIFlow_Core2 v1.7.1.1-core2 (I also tried v1.7.0 / v1.7.1) doesn't work.

                      However, it seems running with black screen. I tried connect to Core2 from UIFlow Cloud and run the program. print() can print text to the serial console, but M5Label will show nothing on the Core2 screen. just black screen.

                      I tried burn with low baudrate (115200), but nothing changed

                      1 Reply Last reply Reply Quote 0
                      • I
                        inasawa
                        last edited by inasawa

                        Since UIFlow display nothing on the screen, I tried the test with the ILI9341 library for MicroPython I found.
                        https://github.com/tuupola/micropython-ili934x/blob/master/ili934x.py

                        I copied the above library to Core2 and ran the following code from the serial console.

                        import ili934x
                        from machine import Pin, SPI
                        spi = SPI(miso=Pin(38), mosi=Pin(23, Pin.OUT), sck=Pin(18, Pin.OUT))
                        display = ili934x.ILI9341(spi, cs=Pin(5), dc=Pin(15), rst=Pin(4))
                        display.fill(ili934x.color565(0xff, 0x11, 0x22))
                        display.pixel(120, 160, 0)
                        display.print('1234567890 ABCDEFGHIJKLMNOPQRSTUVWXYZ')
                             :     :     :
                        display.print('1234567890 ABCDEFGHIJKLMNOPQRSTUVWXYZ')
                        

                        As a result, the characters are displayed as shown in the image below.
                        I'm not sure what this means, but can it help analyze the problem?

                        0_1611195918774_IMG_5954.jpeg

                        1 Reply Last reply Reply Quote 0
                        • O
                          OffLineR
                          last edited by

                          I had the same problem.
                          Core2 did not turn on after 1.7.1.1
                          Currently I am using 1.7.0 instead.

                          1 Reply Last reply Reply Quote 0
                          • I
                            inasawa
                            last edited by inasawa

                            I don't know what happened. Core2 that has not been displayed with UIFlow for 2 days since I bought it, suddenly, yes suddenly, when I reset Core2, something was displayed, and every time I reset it, the display was distorted or displayed upside down. After several resets, the display is now showing normally.

                            I feel that there is an unstable part in the display-related HW. Firmware is UIFlow_Core2-v1.7.1.1-core2.bin.

                            0_1611195881356_IMG_5962.jpeg

                            1 Reply Last reply Reply Quote 0
                            • I
                              inasawa
                              last edited by inasawa

                              It seems that it was a short-lived joy. Revert to a black screen, distorted screen, or an upside-down screen.
                              I tried v1.7.1.1, v1.7.1, v1.7.0, v1.6.6 and they are all the same and have a black screen.
                              It's HW problem?

                              0_1611197748884_IMG_5968.jpeg 0_1611195351484_IMG_5964.jpeg 0_1611195361024_IMG_5965.jpeg 0_1611195373828_IMG_5966.png

                              Also, even in this situation with UIFlow is running, if I burn factory test firmware, it will work normally.

                              0_1611197773876_IMG_5967.jpeg

                              1 Reply Last reply Reply Quote 0
                              • I
                                inasawa
                                last edited by

                                After struggling for a while, I had this Core2 replaced at the shop where I bought it as an initial defect.
                                I'm not sure, but it seems that the display mechanism in Arduino and the display mechanism in UIFlow are different, and even if Factory Test works normally, it may not work properly in UIFlow.

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