How can i disable hard factory reset?
-
This post is deleted!
-
@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...
-
@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.
-
@RobTuDelft yes or an option is to disable the acces to the inbuilt 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.
-
I also don't fully understand the purpose.
Do you want to override builtin functions?
-
@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.
-
@RobTuDelft all of those all functions who are programmed in factory
-
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