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

    A fatal error occurred: MD5 of file does not match data in flash!

    Arduino
    5
    7
    31.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
      pchidley
      last edited by

      I purchased an M5Stack Fire and it worked great for about twenty minutes. (using Win10 and Arduino)

      Since then I get the error; A fatal error occurred: MD5 of file does not match data in flash!

      I've spent an insane amount of time trying to find a fix. Do I just have broken hardware?

      Please help.

      S 2 Replies Last reply Reply Quote 0
      • S
        salty_good @pchidley
        last edited by

        @pchidley Hi, Which writer do you use? M5Burner ?
        Please try the erase button once and setting Baurate 115200 bps!!

        1 Reply Last reply Reply Quote 0
        • S
          salty_good @pchidley
          last edited by

          @pchidley then...Please try these way.

          1. Turn upside down cable connection.
          2. Change cable If you have an another cable.
          3. Remove battery bottom.
          1 Reply Last reply Reply Quote 0
          • S
            salty_good
            last edited by salty_good

            @pchidley Hi, Please try this command on your terminal.

            esptool --port <YOUR PORT> write_flash_status --non-volatile 0

            or

            esptool.py --port <YOUR PORT> write_flash_status --non-volatile 0

            take care this command!!!

            D 1 Reply Last reply Reply Quote 1
            • D
              dfacchin @salty_good
              last edited by

              @salty_good said in A fatal error occurred: MD5 of file does not match data in flash!:

              @pchidley Hi, Please try this command on your terminal.

              esptool --port <YOUR PORT> write_flash_status --non-volatile 0

              or

              esptool.py --port <YOUR PORT> write_flash_status --non-volatile 0

              take care this command!!!

              Thanks this is the way to go with my M5Stack, got it new and I was never able to make it work, this command fixed it!

              Great! Thanks

              1 Reply Last reply Reply Quote 0
              • M
                mr.clay
                last edited by

                sorry for resurrecting this post from the dead but where exactly do you run the esptool --port <YOUR PORT> write_flash_status --non-volatile 0 command?

                ajb2k3A 1 Reply Last reply Reply Quote 0
                • ajb2k3A
                  ajb2k3 @mr.clay
                  last edited by

                  @mr-clay said in A fatal error occurred: MD5 of file does not match data in flash!:

                  sorry for resurrecting this post from the dead but where exactly do you run the esptool --port <YOUR PORT> write_flash_status --non-volatile 0 command?

                  You run this in a terminal or command line program.
                  Replace YOUR PORT with the name of the port that appears in arduino. On windows this may be COM followed by a number on OSX this is often somelike USBslab.

                  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
                  • First post
                    Last post