How can i disable hard factory reset?
-
This post is deleted! -
Which function do you want to disable?
There are a few things you can do if you get stuck (in 'ascending' order):
interrupt running process ctrl + c
soft reset: sys.exit() or ctrl + d
hard reset: button or machine.reset()
reformat /flash: os.mkfs('/flash')
reflash firmware: firmware update utility -
@RobTuDelft all of those all functions who are programmed in factory
-
@lawrence
If you do not need such function do not use it.
Will be good if you show us some case scenario you try to avoid. -
I also don't fully understand the purpose.
Do you want to override builtin functions?
-
@livius My case is: You programmed and your device is working. For example your integration is to locate the containers on a ship. Someone how wants to steal your container and remove all wires and reset te device with 28 en 3v3. So it is an extra security option to secure your device it execute your the code.
-
@RobTuDelft yes or an option is to disable the acces to the inbuilt functions.
-
@lawrence
If someone has access to pin 28 + 3v3 volts can't they can just break the board with a hammer or even drill through the ESP32 and achieve the same result - stop it working?Maybe I'm missing something.
-
@jmarcelino
exactly if someone have acces to device it can break it in really simpler manner than do some supported by some device reset features ;-)@lawrence
Think about as @jmarcelino show sample, hammer, drill
i can add more e.g.: water, remove power source, electric shock, put into metal case...
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