Hello,
I am working on ESP32c3 dev kit and wondering that if flash erase can be disabled or not. I found sources and according to them we can disable flash erase by disabling UART download mode, but if I do not want to disable this feature can I explicitly disable only the erase functionality?
Thank You
Can we disable Flash erase function?
-
MicroController
- Posts: 2661
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: Can we disable Flash erase function?
Flash memory must be erased before new data can be written to it, so ...
Re: Can we disable Flash erase function?
Why specifically would you want to disable such a specific function?
Re: Can we disable Flash erase function?
I want to use UART for other communication purposes and along with it not allow anyone to erase it through UART using commands, so I was wondering if I can disable that particular command.
Re: Can we disable Flash erase function?
Why not use different pins to connect your peripheral to? On bootup, you can have the settings as-is, maybe with txd and rxd connected to a debug header inside the device or something. When your app starts up, it re-initializes the UART but connects it to pins where your actual peripheral lives.
Who is online
Users browsing this forum: ChatGPT-User, PerplexityBot, Qwantbot, Semrush [Bot] and 11 guests
