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

    flash status

    Cores
    1
    2
    3.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.
    • T
      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
        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
        • First post
          Last post