Cant upload code, reimage, or do anything

Ive already posted a few times about this, ive already tried re imaging but im back tracking right now.

for context I haven’t been able to upload or push any code for the last 2 months, i am the only programmer and nobody else can or wants to help me. from what I’ve seen from trying to upload code and re image the gradle and the roboRIO have different “images” so im trying to reimage the roborio which it doesn’t want to do. I’ve tried all the solution its
shown other than try a different computer and safe mode (i haven’t tried safe mode because it doesn’t work, when I try to re image it in safe mode or upload anything it still doesn’t work error info is relatively the same)

Task :discoverroborio
Discovering Target roborio
admin @ roborio-2929-FRC.local: Failed resolution.
Reason: TimeoutException
Discovery timed out.
admin @ roborio-2929-FRC.lan: Failed resolution.
Reason: RuntimeException
Unknown Host
admin @ roborio-2929-FRC: Failed resolution.
Reason: RuntimeException
Unknown Host
admin @ roborio-2929-FRC.frc-field.local: Failed resolution.
Reason: RuntimeException
Unknown Host
admin @ 10.29.29.2: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: timeout: socket is not established
admin @ 172.22.11.2: Resolved but not connected.
Reason: RuntimeException
com.jcraft.jsch.JSchException: timeout: socket is not established
1 other action(s) not started.
Run with --info for more details

Task :discoverroborio FAILED
Missing Target!
=============================================
Are you connected to the robot, and is it on?
=============================================
GradleRIO detected this build failed due to not being able to find “roborio”!
Scroll up in this error log for more information.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:discoverroborio’.

A failure occurred while executing edu.wpi.first.deployutils.deploy.target.discovery.TargetDiscoveryWorker
Target roborio could not be found at any location! See above for more details.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 6s
4 actionable tasks: 2 executed, 2 up-to-date

this is the error info same for USB and Ethernet

C:\Users\JagBots3>
C:\Users\JagBots3>ping roboRIO-2929-FRC.local
Ping request could not find host roboRIO-2929-FRC.local. Please check the name and try again.

C:\Users\JagBots3>ping roboRIO-2929-FRC.local
Ping request could not find host roboRIO-2929-FRC.local. Please check the name and try again.

C:\Users\JagBots3>ping roboRIO-2929-FRC.local

Pinging roboRIO-2929-FRC.local [fe80::280:2fff:fe17:d180%13] with 32 bytes of data: the ping end up working after a couple of tries
Reply from fe80::280:2fff:fe17:d180%13: time<1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms

Ping statistics for fe80::280:2fff:fe17:d180%13:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\JagBots3>ping roboRIO-2929-FRC.local

Pinging roboRIO-2929-FRC.local [fe80::280:2fff:fe17:d180%13] with 32 bytes of data:
Reply from fe80::280:2fff:fe17:d180%13: time=1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms
Reply from fe80::280:2fff:fe17:d180%13: time<1ms

Ping statistics for fe80::280:2fff:fe17:d180%13:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms

:\Users\JagBots3>arp =a

C:\Users\JagBots3>arp -a

Interface: 169.254.83.46 — 0xd
Internet Address Physical Address Type
169.254.255.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
224.0.0.251 01-00-5e-00-00-fb static
224.0.0.252 01-00-5e-00-00-fc static
239.255.255.250 01-00-5e-7f-ff-fa static

C:\Users\JagBots3>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-9V1R4HU
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : psd.local

Ethernet adapter Ethernet:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection I218-LM
Physical Address. . . . . . . . . : 48-0F-CF-26-5A-44
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 9:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : CC-3D-82-9A-B0-65
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 10:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter 2
Physical Address. . . . . . . . . : CE-3D-82-9A-B0-64
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : psd.local
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-N 7260
Physical Address. . . . . . . . . : CC-3D-82-9A-B0-64
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c3c7:1670:cdfd:7c1c%15(Preferred)
IPv4 Address. . . . . . . . . . . : 10.52.112.18(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Lease Obtained. . . . . . . . . . : Tuesday, November 28, 2023 5:17:33 PM
Lease Expires . . . . . . . . . . : Wednesday, December 6, 2023 5:47:13 PM
Default Gateway . . . . . . . . . : 10.52.112.1
DHCP Server . . . . . . . . . . . : 10.72.34.113
DHCPv6 IAID . . . . . . . . . . . : 432815490
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-C1-E5-40-48-0F-CF-26-5A-44
DNS Servers . . . . . . . . . . . : 50.18.216.174
50.18.216.175
NetBIOS over Tcpip. . . . . . . . : Enabled

C:\Users\JagBots3>ipconif /all
‘ipconif’ is not recognized as an internal or external command,
operable program or batch file.

C:\Users\JagBots3>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-9V1R4HU
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Local Area Connection* 9:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : CC-3D-82-9A-B0-65
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

Wireless LAN adapter Local Area Connection* 10:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter 2
Physical Address. . . . . . . . . : CE-3D-82-9A-B0-64
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection I218-LM
Physical Address. . . . . . . . . : 48-0F-CF-26-5A-44
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::2eca:e311:919a:bd8e%10(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.1.51(Preferred)
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 172494799
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-21-C1-E5-40-48-0F-CF-26-5A-44
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Wi-Fi:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : psd.local
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-N 7260
Physical Address. . . . . . . . . : CC-3D-82-9A-B0-64
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes

C:\Users\JagBots3>

basically everything in cmd

image.png

the driver station

Screenshot 2023-11-28 170325.png

the image tool error

I have to upload it in chunks or else I get a 403 error, This is a bunch of info I could get from the laptop that seemed important from my hours of google searching, I have a ton of other pictures that may or may not relate so if those are needed just say. " upload the other pictures" or something.

Im tired, frustrated, and feel like crying. I don’t know if I’m stupid or unlucky but I really just want to program this robot. please help

I’ve followed the procedures, there is no VPN, I’ve tried every USB whether or not they were even supposed to work, I’ve tried ethernet, taking down the firewall, running the re-imaging tool as administrator, etc etc

Im redownloading the new 2023 VS code and tools, I have the downloaded already but I’m doing it again anyway just to be sure.

the laptop I’m working on was given to me and everything is out of order in the files and a complete mess and I can barely find anything.

if you need a picture of the robot I can upload that when I go in later today

I don’t have much helpful advice for your Rio configuration, but I’m sure others will be along to help you out shortly. A couple photos of your Rio and radio (showing the network cabling) might help people diagnose your setup.

I did want to jump in and say you shouldn’t feel bad about having trouble getting this to work. Technology is complicated and ornery, and it’s really amazing when it ever works at all. Never think less of yourself when it doesn’t work. Your persistence will pay off.

5 Likes

thanks

It’s now hard for me to follow the threads (and the answer might be in them since they cover a lot of territory). A summary would help me. What I think is happening is you cannot image your roboRIO (original version).

Trying any connection other than the PC’s USB port to the USB B port on the roboRIO is futile and causes too much “noise” in your communications. I presume you are following these instructions Imaging your roboRIO 1 — FIRST Robotics Competition documentation . Posting screen shots of where your process follows those instructions and where your process differs from the expected, desired as shown in those instructions could help.

I infer from your posts that you cannot download a robot project (Java, C++, Python from VSCode). That doesn’t seem useful to try if you can’t get the roboRIO image right, first.

Another suggestion is take the roboRIO to another team for help.

If you have another roboRIO, then see if you can image that one. If you can successfully image a roboRIO and the same process doesn’t work on the failing roboRIO then maybe the roboRIO is broken.

3 Likes

Just to be sure: your roboRIO does not have an SD card slot near the Ethernet and USB ports, right?

1 Like

Excellent verification of OP’s statement that it’s not a 2. One of my favorite adages “Believe everything someone tells you. Don’t believe anything someone tells you.”

2 Likes



Some photos of the robot if that helps

If this RIO has never been imaged, you will not be able to deploy code to it, so your first priority should be getting the imaging tool to succeed. Have you connected the RIO to a laptop using the USB-B port (square port next to the power input), and attempted to locate it using the Rescan button on the roboRIO Imaging Tool? Also, what version of the FRC Game Tools do you have installed? A screenshot of your roboRIO Imaging Tool window would be helpful. If you have not already, try installing the latest version of the FRC Game Tools on a different computer and using that to image your RIO.

(side note: your roboRIO is not connected via Ethernet to your radio; is this intentional? to be able to deploy code over a Wi-Fi connection, you will need them to be connected)

2 Likes

Based on the image in your first post:

I think this is referring to a problem with your computer’s network settings. Can you open a command prompt, run the ipconfig command, and share the output?