When trying to update the controller, etc. we plug the USB in and get an error issue almost immediately. Sometimes, it will look like it is about to go through, but then the error message appears. We have changed cables. We have restarted chrome books. We have multiple robots on multiple chrome books failing simultaneously. Any advice would be much appreciated.
Is this for IQ generation 1 or generation 2 (color screen) ?
Are you trying to do a firmware update on the controller ?
Using VEXcode ?
or are you trying to send a program through the controller to the IQ brain ?
If you are using VEXcode,
After a failed attempt, perhaps use the feedback button in VEXcode so tech support can see the logs and determine what may be happening, perhaps reference this topic in the feedback comments.
I know that VexOS as a utility is slowly going to go on its way out, since Gen 2 updates through VexCode (I think? Right?) Still, it would be really nice if VexCode detected VexOS utility being open, and popped up a warning/prompt message that gets people to close VexCode to do an update through VexOS (or update VexOS to do the warning, either way).
Soooooo many Facebook group posts through the season where this was the case, and it’s a fairly straightforward fix (just like a startup splash screen on V5 and IQ VexCode to know that it’s booting, instead of guessing for a full minute…).
If we could, we would.
edit: I should add, when we looked at this before, the issue was treated as a generic problem, that is, how can we detect any other application that was using the serial ports we wanted to use, it was trying to detect more than just the VEXos utility for IQ. Perhaps there is a more straightforward way to detect just that single application is running.
and this is more of an OS thing, when I launch VEXcode on my Mac, it’s up in perhaps 5 seconds. Under windows, the launch process has to extract all the code from an archive file, if windows has anti-virus software running it will scan all of the files that get created, we have no control of this process, our code is not even running until all that has happened.
Not even looking for a process by name? Guess it depends on what sort of OS availability there is for that, or what the FOSS policy to add a package that could do it is (and all the joyous international implications y’all have to consider in those packages).
Re:VexCode startup, maybe for Windows, a small launcher app that is what runs when you start the program, then it kicks off the archive unpacking and the rest of the process? I’m sure adding an OS-specific wrinkle is not to be taken lightly, depending on how portable you’ve made that code.
The chrome frameworks that VEXcode uses just didn’t have the capability to detect an already opened serial port, so not much we could do. Now things are migrating to web based access (webSerial) as chrome apps are depreciated on chromebook (as well as the chrome APIs) so it’s not getting any easier.
VEXos utility for IQ generation 1 does not need using that much anymore, not sure when/if there will ever be another firmware update for IQ generation 1, but they typically happen only once or twice a year at most.