Script is deleted after turning on and off the power supply

Discussion related to "under the hood" OpenMV topics.
Justas
Posts: 1
Joined: Wed Feb 19, 2020 12:57 am

Script is deleted after turning on and off the power supply

Postby Justas » Wed Feb 19, 2020 1:11 am

I am using OpenMV H7 camera. When I save the script by "save open script to openmv cam", turn off the power then turn it back on, the code inside deletes itself. Is this a faulty camera or is this fixable?
User avatar
kwagyeman
Posts: 4271
Joined: Sun May 24, 2015 2:10 pm

Re: Script is deleted after turning on and off the power supply

Postby kwagyeman » Wed Feb 19, 2020 2:13 am

Hi, can you eject the OpenMV Cam disk after running that command before powering the system off? The write most likely did not happen to the camera disk. (The internal uPY drive is FAT12 which causes OS drivers to treat it not like a standard USB key and do writes immediately).
Nyamekye,

Return to “Technical Discussion”

Who is online

Users browsing this forum: No registered users and 29 guests