Every time I build and upload a program with pros, the program ends up “not” uploading. The upload goes through, but none of the changes that I make go through. It also returns this error, even though no VEX-related application (VCS, VEXcode, etc) are open. serial.serialutil.SerialException: could not open port 'COM6' : PermissionError(13, 'Access is Denied.', None, 5)
When it finishes uploading, the program runs the first version of the program. Any subsequent changes don’t go through.
Also, when I try the wireless uploading, it doesn’t detect the V5 port.
The port is most likely already being used by another process… Are you sure (VCS, VEXcode, etc) aren’t running in the background or something? You could try uninstalling (VCS, VEXcode, etc); also maybe try reinstalling pros drivers?
OK, so I tried uninstalling and reinstalling pros, and the problem is still happening. I don’t get the COM6 error anymore, but it’s still not uploading any changes I make from the default code when you make a new project. Anyone else have other suggestions?
EDIT: I’ve also tried clean building, deleting all programs and then re-uploading. It still doesn’t work.
What happens if you try to connect to the Brain with another application, like PuTTY? Does it connect successfully or error out?
If the answer is unclear, try uploading code from another computer that will repeatedly print something to the serial terminal. Then, see if PuTTY will read those messages.
The error clearly concerns communicating with the V5 Brain to upload code. Whether there is a compiler error or not is irrelevant (though PROS would not get to the upload stage to generate the serial port error if there was a compiling error).
In my experience this is not true. I usually run prosv5 mu, and there have been many times where compilation has failed but the binary from the previous build was still uploaded.