Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   roboRIO no COMM (http://www.chiefdelphi.com/forums/showthread.php?t=133607)

michaelwm 28-01-2015 11:15

roboRIO no COMM
 
After just some normal programming on our main roboRIO, it can no longer connect to any PC. The thing works fine, we're reading voltages from our DIO and PWM ports, but no matter what connection method we use, the roboRIO's COMM light doesn't turn on, including:
  • USB B
  • Ethernet
  • Router

We have tried isolating just the roboRIO, a PDP, and a battery, but still, it cannot find anything.

What can we do?

Mark McLeod 28-01-2015 11:17

Re: roboRIO no COMM
 
Is your Driver Station app running and connected?
Is your team # set in the App?

michaelwm 28-01-2015 11:24

Re: roboRIO no COMM
 
Quote:

Originally Posted by Mark McLeod (Post 1435159)
Is your Driver Station app running and connected?
Is your team # set in the App?

Yes, when the roboRIO was working, we set up our team number. My driver station is also running.

The error is that the roboRIO's COMM light won't turn on, whether we connect with USB B, Ethernet, or Router. We have no way to connect to the roboRIO.

notmattlythgoe 28-01-2015 11:29

Re: roboRIO no COMM
 
Quote:

Originally Posted by michaelwm (Post 1435162)
Yes, when the roboRIO was working, we set up our team number. My driver station is also running.

The error is that the roboRIO's COMM light won't turn on, whether we connect with USB B, Ethernet, or Router. We have no way to connect to the roboRIO.

I'm assuming you are referring to the actual physical light on the roboRIO itself.

michaelwm 28-01-2015 11:31

Re: roboRIO no COMM
 
Quote:

Originally Posted by notmattlythgoe (Post 1435165)
I'm assuming you are referring to the actual physical light on the roboRIO itself.

Yes. We have no way of communicating with the roboRIO through any connection, and therefore the physical COMM light won't turn on.

Mark McLeod 28-01-2015 11:36

Re: roboRIO no COMM
 
The roboRIO Comm light only indicates that the roboRIO is or isn't talking to the Driver Station app.
So if it is off, then the Driver Station isn't communicating with the roboRIO.

Quote:

Originally Posted by http://wpilib.screenstepslive.com/s/4485/m/24166/l/144972-status-light-quick-reference
Comm
  • Off - No Communication
  • Red Solid - Communication with DS, but no user code
  • Red Blinking - E-stop
  • Green Solid - Good communication with DS

If your Driver Station is operating normally, then your Java code running on the roboRIO may have failed.
You might try downloading an unadulterated default program.

notmattlythgoe 28-01-2015 11:36

Re: roboRIO no COMM
 
Have you tried accessing the roboRIO through the webapp?

michaelwm 28-01-2015 11:41

Re: roboRIO no COMM
 
Quote:

Originally Posted by notmattlythgoe (Post 1435170)
Have you tried accessing the roboRIO through the webapp?

Yes, ofcourse, but like I said, we simply are not connected to the roboRIO, no matter what method we use. Driver Station has no connection, the imaging tool has no connection, the IP of the roboRIO shows up dead, nothing can connect.

Mark McLeod 28-01-2015 11:56

Re: roboRIO no COMM
 
When your DLink is connected vis Ethernet to the roboRIO, are the green and yellow status lights on the roboRIO Ethernet port lit up?
That would indicate network traffic.

On your PC connected via USB cable to the roboRIO, can you ping the address 172.22.11.2 ?

On the Driver Station Diagnostics tab are any of the ping lights green?

michaelwm 28-01-2015 11:59

Re: roboRIO no COMM
 
Quote:

Originally Posted by Mark McLeod (Post 1435178)
When your DLink is connected vis Ethernet to the roboRIO, are the green and yellow status lights on the roboRIO Ethernet port lit up?
That would indicate network traffic.

On your PC connected via USB cable to the roboRIO, can you ping the address 172.22.11.2 ?

On the Driver Station Diagnostics tab are any of the ping lights green?

Yes, when using ethernet, the lights on the ethernet port are both lit up.

There is 100% loss on the ping.

The driver station has no connection to the roboRIO.

notmattlythgoe 28-01-2015 12:03

Re: roboRIO no COMM
 
I know you were asking about modifications of the rio in this thread. Did you end up doing anything?

Mark McLeod 28-01-2015 12:09

Re: roboRIO no COMM
 
Then it sounds like the roboRIO is operating and communicating with the DLink. So it might be an incompatibility between the roboRIO and PC IP addresses.

So among things that could be wrong:
  • Ethernet: The DLink isn't serving DHCP addresses, and/or the roboRIO/PC have incompatible IP addresses/netmasks. You can check this on the PC using ipconfig or checking what the PC network adaptor's assigned IP address is.
  • USB: the PC may not have the USB network running, i.e., FRC Update package not installed, crashed, etc.
  • Both: the PC mDNS resolver may have crashed. Rebooting usually solves that, but you can check in the Task Manager to see if the service is running.
Since apparently you say that the Driver Station Diagnostic ping's aren't seeing the DLink, then the problem is between the PC and the DLink.
Most likely the PC has issues, since it should see something.

michaelwm 28-01-2015 12:10

Re: roboRIO no COMM
 
Quote:

Originally Posted by notmattlythgoe (Post 1435185)
I know you were asking about modifications of the rio in this thread. Did you end up doing anything?

No, that's something for when our extra roboRIO comes in.

michaelwm 28-01-2015 13:39

Re: roboRIO no COMM
 
Ok, I got ethernet connection working after some tinkering, however, USB B no longer works. I checked device manager, and the National Instrument USBLAN driver is gone. What's the easiest way to reinstall the USBLAN driver?

Mark McLeod 28-01-2015 14:25

Re: roboRIO no COMM
 
Probably uninstall if it's still listed among the PC programs, then rerun the FRC Update package.


All times are GMT -5. The time now is 07:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi