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

    M5Stack MultiApp Advanced Firmware

    PROJECTS
    14
    51
    298.6k
    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.
    • K
      Kryten @Calin
      last edited by

      @calin Yes I saw this after I postede, sorry.

      This is really good work by the way ;)

      1 Reply Last reply Reply Quote 0
      • 1nformatica1
        1nformatica
        last edited by

        Hi All, I have just uploaded a video review of the Apps to Youtube Apps Review
        I made a silly mistake with the oscilloscope App as of course it cannot handle negative going inputs!!

        C 1 Reply Last reply Reply Quote 0
        • C
          Calin @1nformatica
          last edited by Calin

          @1nformatica You didn't apply the PlatformIO patch and you are getting the BtnA (left key) unwanted "presses".
          M5Stack use GPIO39 for BtnA.
          There is a bug on arduino-esp32 framework that cause interference between Wifi and GPIO39.
          That patch contain arduino-esp32 precompiled libraries that don't have this bug.
          Since the libraries came precompiled, i don't have access to the code to find what's causing that bug and fix the problem.

          1 Reply Last reply Reply Quote 0
          • KabronK
            Kabron
            last edited by Kabron

            Hello, Calin,
            I allowed myself a tiny mod to your App. Now it can be launched from the SD card under SD-Menu from tobozo. https://github.com/tobozo/M5Stack-SD-Updater.
            Modification consists in main.c mod and extra libraries. Just unzip Matroska.zip to project folder and build. Resulting firmware.bin in .pioenvs\m5stack-core-esp32
            is compatible with tobozo loader.
            Zip here:
            https://yadi.sk/d/8sroLeG_3YMfwe

            C 1 Reply Last reply Reply Quote 0
            • C
              Calin @Kabron
              last edited by Calin

              @kabron you can do that if you whant for your M5Stack.
              @tobozo can make a repository that contain this mods too.
              I won't do that because i need every bit of flash memory for the apps that i am working on...

              I just updated MultiApp.

              • Added Tetris game with score and high score counter.
              • Fixed some bugs related to fonts

              Getting closer to flash size limit...

              0_1530314904726_Memory.PNG

              KabronK 1 Reply Last reply Reply Quote 0
              • KabronK
                Kabron @Calin
                last edited by Kabron

                @calin 在 M5Stack MultiApp Advanced Firmware 中说:

                @tobozo can make a repository that contain this mods too.

                With one tiny exception:
                Tobozo's app does not restart menu with BtnA+Reset

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

                  sad that the pre-compiled firmware is no longer available.

                  when will he come back

                  thanks

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    Calin @picpic020960
                    last edited by Calin

                    @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                    sad that the pre-compiled firmware is no longer available.

                    when will he come back

                    thanks

                    Install VsCode, PlatformIO, then flash the project to M5Stack.
                    Is a straight forward procedure.
                    I removed the pre-compiled firmware because the M5Stack had to be formatted with a specific partition table for pre-compiled firmware to work.

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

                      no is straight forward with corporate proxy !

                      old version of pre-compiled firmware work fine.

                      why partition issue ?

                      [pre-compiled firmware is best for MultiApp popularity]

                      thanks

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Calin @picpic020960
                        last edited by

                        @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                        no is straight forward with corporate proxy !

                        Well... yeah... you are right on this one...

                        [pre-compiled firmware is best for MultiApp popularity]

                        thanks

                        Ok... i will bring it back later today...

                        1 Reply Last reply Reply Quote 1
                        • P
                          picpic020960
                          last edited by picpic020960

                          Hi Calin

                          tested last night ! sync , download , finish , reset and ... black screen

                          maybe my error : use the old [not Advanced] FLASH_DOWNLOAD_TOOLS_V3.6.4.zip

                          other way : 'old MultiApp' is OK without SD card and no jpg , maybe 'Advanced' no ?

                          more : windows 10 (on thomson tablet)

                          my fear :have bad clone !

                          I test again tonight

                          Regards

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Calin @picpic020960
                            last edited by

                            @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                            Hi Calin

                            tested last night ! sync , download , finish , reset and ... black screen

                            maybe my error : use the old [not Advanced] FLASH_DOWNLOAD_TOOLS_V3.6.4.zip

                            other way : 'old MultiApp' is OK without SD card and no jpg , maybe 'Advanced' no ?

                            more : windows 10 (on thomson tablet)

                            my fear :have bad clone !

                            I test again tonight

                            Regards

                            As i told you... the best solution is to COMPILE the project on PlatformIO.
                            The M5Stack came with default factory partitions table.
                            That partition table is incompatible with MultiApp-Advanced firmware.
                            Old MultiApp firmware use standard partitions table and that's why that precompiled binary work.
                            The precompiled firmware only write the application data. So precom piled binary will be useful only if you try to update the multiapp-advanced firmware to a newer version.
                            Will NOT work if you try to write the multiapp-advanced over a different application.

                            On MultiApp-advanced i use a custom partition table that is written if you compile and upload the project from PlatformIO.

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

                              Hi Calin , OK

                              Download (and unzip) this repository ==> OK
                              Download and Install Visual Studio Code https://code.visualstudio.com/ ==>OK
                              Install the PlatformIO Extension ==> OK
                              Install ESP32 Framework on PlatformIO ==> How TO ? no link and a lot of ESP32 framework

                              thanks for help

                              Regards

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Calin @picpic020960
                                last edited by Calin

                                @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                                Hi Calin , OK

                                Download (and unzip) this repository ==> OK
                                Download and Install Visual Studio Code https://code.visualstudio.com/ ==>OK
                                Install the PlatformIO Extension ==> OK
                                Install ESP32 Framework on PlatformIO ==> How TO ? no link and a lot of ESP32 framework

                                thanks for help

                                Regards

                                Go to Platforms
                                Type in ESP32 on the search bar
                                Click on Espressif 32
                                Click INSTALL
                                Wait to finish (this may take 1 - 5 minutes, depending on your internet connection speed)
                                Done.

                                0_1530807254012_ESP32Platform.PNG

                                To open MultiApp Advanced project:
                                right click on the project folder
                                Select "Open in VsCode"
                                VsCode will open and the project will be loaded in PlatformIO

                                You don't need to install any library to compile the MultiApp-Advanced. All necessary resources are included into project.

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

                                  Calin

                                  first compil :
                                  src\Apps\WiFiWps\WpsConnect.cpp:73:16: error: no match for 'operator=' (operand types are 'esp_wps_config_t' and '<brace-enclosed initializer list>')

                                  some mistake ?

                                  edit :
                                  commented ==> Build OK
                                  but how to load the firmware in the m5stack ?

                                  other question : how to apply the patch ?

                                  thanks for help

                                  Regards

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Calin @picpic020960
                                    last edited by Calin

                                    @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                                    Calin

                                    first compil :
                                    src\Apps\WiFiWps\WpsConnect.cpp:73:16: error: no match for 'operator=' (operand types are 'esp_wps_config_t' and '<brace-enclosed initializer list>')

                                    some mistake ?

                                    No. There is no mistake.
                                    PlatformIO updated the Arduino-ESP32 framework to new version.
                                    I updated the MultiApp firmware to work with this new version.
                                    If you use git, just pull the latest commit from github and recompile.
                                    If not, download the repository again then compile.

                                    edit :
                                    commented ==> Build OK
                                    but how to load the firmware in the m5stack ?

                                    Please READ the repository instructions !

                                    0_1530824824747_instructions.PNG

                                    other question : how to apply the patch ?

                                    The old patch is no longer needed... because Espressif fixed the GPIO39 bug on the latest arduino-esp32 framework.

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

                                      Hi Calin

                                      when m5stack not connected i see ' <version....py>' at end of build report.

                                      (from memory , now at work , not at home)

                                      when m5stack connected i see nothing at end of build report.

                                      i have com1 and com4. how to choose ?

                                      thanks for help

                                      Regards

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        Calin @picpic020960
                                        last edited by

                                        @picpic020960 在 M5Stack MultiApp Advanced Firmware 中说:

                                        Hi Calin

                                        when m5stack not connected i see ' <version....py>' at end of build report.

                                        (from memory , now at work , not at home)

                                        when m5stack connected i see nothing at end of build report.

                                        i have com1 and com4. how to choose ?

                                        thanks for help

                                        Regards

                                        You don't have to chose anything.
                                        No need to select the upload port.
                                        PlatformIO will detect the M5Stack port automatically, once is connected to PC USB.

                                        1 Reply Last reply Reply Quote 0
                                        • KabronK
                                          Kabron
                                          last edited by Kabron

                                          New version compilation results:
                                          M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
                                          E (705) SPIFFS: mount failed, -10025
                                          [E][SPIFFS.cpp:47] begin(): Mounting SPIFFS failed! Error: -1
                                          OK
                                          [E][Preferences.cpp:330] getUShort(): nvs_get_u16 fail: light NOT_FOUND
                                          and nothing more...

                                          any ideas?

                                          C 1 Reply Last reply Reply Quote 0
                                          • C
                                            Calin @Kabron
                                            last edited by Calin

                                            @kabron 在 M5Stack MultiApp Advanced Firmware 中说:

                                            New version compilation results:
                                            M5StackMod initializing...[E][sd_diskio.cpp:739] sdcard_mount(): f_mount failed 0x(3)
                                            E (705) SPIFFS: mount failed, -10025
                                            [E][SPIFFS.cpp:47] begin(): Mounting SPIFFS failed! Error: -1
                                            OK
                                            [E][Preferences.cpp:330] getUShort(): nvs_get_u16 fail: light NOT_FOUND
                                            and nothing more...

                                            any ideas?

                                            Please update the Espressif 32 platform to latest version (v1.1.1 at this moment)
                                            That should solve the problem.

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