Suddenly, I can't 'save to jevois' in the code tab of inventor. Version 0.5.0. It was working....
I can 'load from jevois' OK, but when I hit the 'save to jevois' button after editing, I get the usual prompt, but then a popup with an error: "ERR: Could not write file /jevois/modules/..." and I see in the Inventor console window that I am getting a whole lot of 'unsupported command errors' from what looks like the code that I was trying to save. It's as if the code is being sent over the tty that was expecting commands. The only thing I can think that I might have done to contribute to this problem was send some binary to the console at one point.
I have taken that binary-sending code out (on the jevois as well by editing the file directly on the exported sd card) stopped and restarted Inventor and power-cycled the jevois camera a few times, switched to other vision modules etc and the problem persists. The code itself runs OK on the jevois and I can get the code back by doing 'load from jevois' OK, just can't save it back anymore.
Here's the first few errors from the Inventor console showing the USB log that makes me think the code is being sent to the wrong comms. The first line is probably where it all starts to go wrong and the rest is the first few lines of my code that I was trying to 'send to jevois'. It keeps this up for the entire file.
ERR Unsupported command [JEVOIS_FILEPUT 29288]
ERR Unsupported command [import libjevois as jevois]
ERR Unsupported command [import cv2]
ERR Unsupported command [import numpy as np]
ERR Unsupported command [import math]
ERR Unsupported command [import sys]
ERR Unsupported command [import struct]