from esp import *
def test(st, end):
for i in range(st, end, 4096):
try:
flash_erase(i)
print('working for ' + str(i))
except:
print('not working for ' + str(i))
test(0, 0x400000)
I can see that only a small amount of sectors ( < 5 ) can be erased from the whole flash memory.
I'm new to micropython-esp32, is this an intended flash protection? If so, is there a straightforward way to disable it?
Thank you.
Using the following code:
I can see that only a small amount of sectors ( < 5 ) can be erased from the whole flash memory. I'm new to micropython-esp32, is this an intended flash protection? If so, is there a straightforward way to disable it? Thank you.