Hi, I have been trying to figure this out for over a week, I have
- Read every related forum post and all the relevant PROS documentation
- Reinstated pros multiple times (The VS Code extension in the downloadable one)
- Made sure all the firmware and software were updated on the brain and controller
- Did multiple clean installations of VS Code and its extensions
- Factory reset the brain and controller
- Added PROS to path
- And much more
I still can’t seem to fix it, so I am making my first post to the forums as a last-ditch plea for help.
Here is the PowerShell output with an explanation below.
C:\Users\****\OneDrive\Documents\GitHub\Robotics-team-coding-repo\Pros\test-3> prosv5 upload
Transferring V5 to download channel
Uploading program "test-3" (test-3) to V5 slot 1 on COM21 (compressed)
Compressing library [####################################] 100%
V5 has been transferred back to pit channel
ERROR - pros.cli.upload:upload - Device NACK'd with reason: Program file error
TX:C9 36 B8 47 56 19 1A 18 00 31 57 32 4E 6D 5A 58 63 66 30 78 4B 37 36 63 59 59 36 33 33 53 77 00 00 95 B7 RX:AA 55 56 05 19 D3 FF E2 50
File "D:\a\1\s\pros\serial\devices\vex\v5_device.py", line 949, in _rx_ext_packet
pros.serial.devices.vex.comm_error.VEXCommError: Device NACK'd with reason: Program file error
TX:C9 36 B8 47 56 19 1A 18 00 31 57 32 4E 6D 5A 58 63 66 30 78 4B 37 36 63 59 59 36 33 33 53 77 00 00 95 B7 RX:AA 55 56 05 19 D3 FF E2 50
We detected something went wrong! Do you want to send a report? [y/N]: y
Sending bug report.
Want to get updates? Visit https://pros.cs.purdue.edu/report.html?event=7fa56e50b0dd4d728a663fc56afdb6e0
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
So originally I was getting the error above whenever I tried to upload my PROS project. So I followed the directions in this post Pros 3.4.0 - #9 by Floppy108F and then factory reset and wiped all the programs from the brain and got this new error that I am stuck on.
C:\Users\****\OneDrive\Documents\GitHub\Robotics-team-coding-repo\Pros\test-3> prosv5 mu
make: Nothing to be done for 'quick'.
ERROR - pros.cli.upload:upload - Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
File "D:\a\1\s\pros\serial\devices\vex\vex_device.py", line 115, in _txrx_packet
File "D:\a\1\s\pros\serial\devices\vex\vex_device.py", line 75, in _rx_packet
OSError: Couldn't find the response header in the device response after 0.1 s. Got but was expecting aa55
We detected something went wrong! Do you want to send a report? [y/N]: y
Sending bug report.
Want to get updates? Visit https://pros.cs.purdue.edu/report.html?event=1f5a2d670d864e059dc955691c467977
Sentry is attempting to send 2 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
If anyone could respond to a possible solution I would be incredibly grateful, thanks.
-Targed