Issue running script

Very recently received an OpenMV M7 camera and was playing around with it. I had loaded the line detection example when the image began to look corrupted, I tried reloading after that, nothing. Closed out the program and reconnected the camera, connected immediately, but when the play button was clicked to load the script, nothing would happen and the connection would timeout after a minute or so. At this point I cannot load any new script onto the camera, but if I close out the program and re-plug the usb cable, I can connect immediately. Is my camera busted somehow or is there a software/firmware fix for this?

The IDE recognized that something was up with the camera and I was able to re upload the firmware, camera works fine now. Not sure what happened.