element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Forum I have installed esptool. I would like to know what command to type to erase esp32 s3 flash.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 493 subscribers
  • Views 2603 views
  • Users 0 members are here
  • esp32 s3 sense
Related

I have installed esptool. I would like to know what command to type to erase esp32 s3 flash.

manojroy123
manojroy123 over 1 year ago

I have installed esptool. can anyone help me out with the command to type on the command prompt in order to erase flash of esp 32.

bellow is the command prompt display

image

  • Sign in to reply
  • Cancel

Top Replies

  • obones
    obones over 1 year ago +1
    Why do you want to call it manually? I mean, I'm only ever using it inside VSCode with the PlatformIO extension that takes care of all that tedious setup.
  • javagoza
    javagoza over 1 year ago in reply to manojroy123 +1
    I've used the esptool for the ESP8266 NodeMCU downloading esptool from github https://github.com/espressif/esptool Troubleshooting - ESP32 - — esptool.py latest documentation (espressif.com) I wrote…
  • shabaz
    shabaz over 1 year ago

    I have not used it, so this is not from esptool experience, but isn't part of the answer in your screenshot? If you read backward from the bottom, the white text tells you what the issue is, and you can see what folder you're in on the last white line.

    The darker coloured text indicates the actual path which may contain the esptool.py file. Also, there's a recommendation there to add it to your path (just click on the Windows icon and type 'environment variables' in the Windows search box to find that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • manojroy123
    manojroy123 over 1 year ago in reply to shabaz

    I don't know weather that is the right way to erase the esp32 flash. I am looking for someone who know which exact tool to use in order to erase the flash. An expert who have done it many times and knows the nitegrity of the tools and its working.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to manojroy123

    "I don't know weather that is the right way to erase the esp32 flash."

    All I'm saying is that your screenshot is definitely the wrong way. If you're trying that, then you should be trying it in the folder where you actually installed the file (or add to your path and re-open a command prompt).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • manojroy123
    manojroy123 over 1 year ago in reply to shabaz

    ok, appreciate you response. Still looking for an expert to help me out in a right way.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • obones
    obones over 1 year ago

    Why do you want to call it manually?
    I mean, I'm only ever using it inside VSCode with the PlatformIO extension that takes care of all that tedious setup.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • javagoza
    javagoza over 1 year ago in reply to manojroy123

    I've used the esptool for the ESP8266 NodeMCU downloading esptool from github https://github.com/espressif/esptool

    Troubleshooting - ESP32 - — esptool.py latest documentation (espressif.com)

    I wrote a blog, look for NodeMCU Firmware at NodeMCU Amica V2 road test - Hackster.io

    Don't know exactly what you want to do. Do you need a bootloader?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to obones

    I checked my notes, and even from the command prompt, I've never needed to run esptool.py either. From the command line, idf.py is used to handle Flash erase and programming steps.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • scottiebabe
    scottiebabe over 1 year ago

    After a pip install it should just work...

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • balajivan1995
    balajivan1995 over 1 year ago

    1. You are using Linux style USB port identification (dev/ttyUSBx) instead of windows based identification (COMx)

    2. Esptool.py is not added to the path as you have just installed it in local user data, which system can't access unless you add the path to environment variables.

    3. You can actually use an executable named "esptool.exe" that is automatically installed when you install esp32 package automatically. Install "everything" software to find the location of that application and open a cmd window from there. Enter "esptool erase_flash", application will automatically scan all USB port and erase the flash memory of esp32 (assuming it is in boot mode).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • manojroy123
    manojroy123 over 1 year ago in reply to javagoza

    Yes I need to upload a boot loader of micro python in esp32 s3 sense

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube