M5StickC restore factory demo firmware



  • Good day.
    I have spent a little while searching the forums before posting this question. Can you please advise how I can restore the factory demo firmware on the M5StickC after I flash UIFlow firmware and load other programs. I hate to depart from the starting point, without knowing how to get back. Thanks in advance.



  • @shotokutech said in M5StickC restore factory demo firmware:

    Good day.
    I have spent a little while searching the forums before posting this question. Can you please advise how I can restore the factory demo firmware on the M5StickC after I flash UIFlow firmware and load other programs. I hate to depart from the starting point, without knowing how to get back. Thanks in advance.

    Hello ,
    go to the documentation page of M5Stack to M5StickC (https://docs.m5stack.com/#/en/core/m5stickc)
    go here to EXAMPLE there load the file (M5StickC facory test code) this you write with the Arduino software into the M5StickC
    and you have the M5StickC back in its original state with factory demo firmware.

    skink



  • How about the code for the ST7789 chip (at 135 x 160) as well? I can't figure out how to use the whole screen using M5.lcd



  • Hi - I recently got an M5StickC in the Bala-C kit, and after having played around with the BalaC app (which compiles and installs fine) I wanted to go back to the Factory app and work through the code ..

    However it seems that the code at:

    https://github.com/m5stack/M5StickC/tree/master/examples/Basics/FactoryTest

    .. no longer fits in the M5StickC:

    *Sketch uses 1374114 bytes (104%) of program storage space. Maximum is 1310720 bytes.text section exceeds available space in board

    Global variables use 47148 bytes (14%) of dynamic memory, leaving 280532 bytes for local variables. Maximum is 327680 bytes.
    Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for tips on reducing it.
    Error compiling for board M5Stick-C.*

    Does anyone know where I can find the version of the Factory demo app for the M5StickC that still actually works? I'd quite like to have this available as I explore the M5Stack eco-system a bit further, and I'd rather not have to hack around with the code in the repo to get it working ..



  • Change the partition scheme to "no ota"