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

    flash status

    Scheduled Pinned Locked Moved Cores
    2 Posts 1 Posters 4.1k Views 1 Watching
    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.
    • T Offline
      TT
      last edited by TT

      I use M5Stack Basic.
      Executing the command "esptool --port COM3 write_flash_status --non-volatile 0", I got the following result.
      I would like to know the meaning the code of "flash status" as 0xff42 or 0xff40.
      I could not find any document regarding it.
      Would you tell me the web site for the "flash status" information?

      esptool.py v2.6
      Serial port COM3
      Connecting....
      Detecting chip type... ESP32
      Chip is ESP32D0WDQ6 (revision 1)
      Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
      MAC: (mac address)
      Uploading stub...
      Running stub...
      Stub running...
      Initial flash status: 0xff42
      Setting flash status: 0x0000
      After flash status: 0xff40
      Hard resetting via RTS pin...

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TT
        last edited by

        I found the following documents.

        Command description
        https://github.com/espressif/esptool/wiki/Advanced-Commands#write_flash_status

        Source code
        https://github.com/espressif/esptool/blob/master/esptool.py
        L3499
        def write_flash_status(esp, args)

        GD25Q32C datasheet
        http://www.elm-tech.com/ja/products/spi-flash-memory/gd25q32/gd25q32.pdf

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post