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

    M5StickC Plus2 not booting

    SOFTWARE
    m5stickc plus
    4
    4
    3.1k
    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.
    • P
      psymonbee
      last edited by

      HI all,

      I'm really new to all this so probably done something wrong myself so looking for some help.

      After flashing some code from platformIO within VSCode that i knew worked before my unit has gone dead.. It seems to successfully receive code from PlatformIO and from M5Burner which i've tried to re-upload the factory test firmware.

      If i hold the power button for 6 seconds the internal green LED stays on whilst i'm holding the button but the screen doesn't come on at all.

      When i connect to the serial monitor from M5Burner and reboot the Stick this is what i get

      rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
      configsip: 271414342, SPIWP:0xee
      clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
      mode:DIO, clock div:1
      load:0x3fff0018,len:4
      load:0x3fff001c,len:1044
      load:0x40078000,len:8896
      load:0x40080400,len:5816
      entry 0x400806ac
      M5StickCPlus initializing...OK
      find 34 addr faild

      Does anyone know if its recoverable or if its now dead?

      Thanks in advance.

      teastainT 1 Reply Last reply Reply Quote 0
      • teastainT
        teastain @psymonbee
        last edited by

        @psymonbee ESP32s have a secure BootLoader burnt into ROM and is un-brickable!
        Your unit is crashing on boot, which happens when the user program is faulty. It may be as simple as a test program with no delay, jamming up the CPU, or a program that uses all the memory of makes calls out of bounds.
        The Bosch BNO085 that I have temporarily crashed all my ESP32s, which took an hour each to clear up! It is now in 'quarantine' \o/
        I use Arduino IDE because it is easy. Period. Full stop.
        I can see if it is connected or flickering in and out of connection.
        Use 'erase all flash before uploading' and upload a simple test like this.

        bool ticktock;  //declare ticktock as a boolean flag
        
        void setup() {           //runs once on start up
          Serial.begin(115200);  //open the serial port for USB cable
          delay(500);
        }
        
        void loop() {            //runs in circles!
          ticktock = !ticktock;  //every pass through reverse the flag
          if (ticktock) {        //test current value of the ticktock flag
            Serial.println("tick");
          } else {  //prints one or the other to the USB port
            Serial.println("tock");
          }
          delay(1000);  //wait for a second and run again!
        }
        

        --With no other libraries. There will be no video!--
        Get this working and build up from there.
        -Good Luck!

        Cheers, Terry!

        100% M5Stack addict with several drawers full of product!

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

          I’m not sure if the situation is the same? The following is for reference
          https://lab.sasapea.mydns.jp/2019/07/11/m5stickc-start-adapter/

          1 Reply Last reply Reply Quote 0
          • robskiR
            robski
            last edited by

            can you do ERASE from M5Burner?
            Can you load any basic Arduino code for M5StickCPlus2 from examples?
            When you do M5Burner firmware is it for Plus2 stickC - check if by chance it is not Plus version or StickC.

            M5StickC, M5StickCPlus, M5StickCplus2,M5GO, M5Core, M5Tough, M5Core2, M5 Demo Board, M5Dial, M5Paper, M5Atom, M5Cardputer, M5StampS3, CoreMP135, StamPLC, AirQ

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