Hello,
I would like to ask if there is any mechanism that could cause the internal files on OpenMV to be automatically erased.
Environment:
-
Devices: OpenMV Cam H7 Plus (4.5.8 firmware), OpenMV Cam H7 R2(4.7.0 firmware)
-
IDE: OpenMV IDE 4.7.0
Issue description:
While I was in the middle of development, I connected the OpenMV to my computer and opened main.py. To my surprise, its contents had been replaced with the default startup code:
# main.py -- put your code here!
import pyb, time
led = pyb.LED(3)
usb = pyb.USB_VCP()
while(usb.isconnected()==False):
led.on()
time.sleep_ms(150)
led.off()
time.sleep_ms(100)
led.on()
time.sleep_ms(150)
led.off()
time.sleep_ms(600)
This happened once on my H7 Plus and once on my H7 R2. In both cases, all my previous files were gone as if the device had been reset.
I also encountered some anomalies, but I am not sure if they are related. For example, when main.py grew too large (43KB), I received this error:
Unable to write file E:\main.py.autosave: Not enough disk space
Question:
Could this error or other conditions cause OpenMV to erase or overwrite its internal files automatically?
Thanks in advance.