Go to Post That's is why I raised this question, becuase I do not know all the facts (I doubt anyone does). - Ken Leung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-03-2011, 16:56
sdaustin sdaustin is offline
Registered User
FRC #3667 (The Mecanum Knights)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Port Huron, MI
Posts: 17
sdaustin is an unknown quantity at this point
FMS/cRIO comm issue

We have an issue with our cRIO – FMS is unable to establish communications with it under any circumstances. The cRIO works fine in all other configurations. With the help of FIRST and National Instruments people (details below), we believe that there is something about the way that the FMS communicates with the cRIO that is exposing a hardware defect that is not otherwise exposed.

Therefore, I need to get in touch with someone that understands the intricate details of the low-level implementation of FMS.


The Details
We had to forfeit our first five qualification matches (and put our alliance partners at a significant disadvantage) at the Kettering District competition because our cRIO would not work under the FMS - it could not connect to the FMS & vice versa. It worked fine hard-wired or via wireless using the onboard DLink AP. We checked everything that the Lead Robot Inspector (Mike Martus), the National Instruments rep onsite (Andrew Watchorn), and the FIRST Technical Advisor (I don’t have his name), could think of, but no luck. Their consensus opinion was that FMS was exposing a cRIO defect. We exchanged ours for a loaner cRIO and everything worked fine.

After the event, I opened a support case with National Instruments, and it got assigned to a support rep (Joe) who was himself a FIRST mentor for the past eight years. After several phone calls and running through every possible thing he could think of to reproduce the problem in our shop, we went to the Waterford district competition the next weekend, hoping that the problem was resolved. Luckily, we were able to get our robot on the field before the opening ceremony to test it. The exact same problem still occurred. We replace the cRIO with a loaner and the problem went away, again.

But we still didn’t have a reproducible failure scenario. In spite of this, NI authorized an RMA for us to send the unit in for repair. And now, of course, they are unable to reproduce the problem. Their diagnostics can’t find anything wrong with our cRIO and so they want to send it back unless I can give them some situation under which they can reproduce the problem.

Unfortunately, the only way to do so is on an actual field at a competition, which is not a viable option because we’ve already gone to both of our district competitions and are done for the season.

So I either need a way to run the FMS in our shop or to get in touch with someone that can give me more details of how it is implemented in the hopes that we can create a reproducible scenario.

Any suggestions?


Thanks,
Scott Austin
Coach, Team 3667, The PoHo RoBos
Reply With Quote
  #2   Spotlight this post!  
Unread 30-03-2011, 17:02
plnyyanks's Avatar
plnyyanks plnyyanks is offline
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,114
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: FMS/cRIO comm issue

What image is your cRIO running? Currently, only versions 28 and 29 are guaranteed to work with the FMS.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
Reply With Quote
  #3   Spotlight this post!  
Unread 30-03-2011, 17:36
jcbc's Avatar
jcbc jcbc is offline
Registered User
AKA: Julie
no team
 
Join Date: Aug 2010
Rookie Year: 2011
Location: PA
Posts: 53
jcbc is a jewel in the roughjcbc is a jewel in the roughjcbc is a jewel in the roughjcbc is a jewel in the rough
Re: FMS/cRIO comm issue

Did you try the procedure given in Team Update #17 for simulating the FMS? We haven't tried it yet, but we plan on trying it with our practice bot before going to our next regional.
Reply With Quote
  #4   Spotlight this post!  
Unread 30-03-2011, 17:52
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: FMS/cRIO comm issue

It is possible to get a semi-FMS running in your shop, although it is extremely different from what is used on the field this year. It's a stripped-down version of the 2009 FMS which as far as I can tell from FIRST's site is still compatible with the classmates. It can be found at the bottom of the page here

I'm obviously not an expert or anything on how the FMS works internally, but here's my impression of how the system works. When you connect your DS to the field, the FMS detects it and starts broadcasting commands, and the DS returns status data. This is the "FMS Connected" state shown on the main tab. Once the robot establishes a connection, it talks with the DS. As far as I know, there is no direct FMS-cRIO communication, other than the DS packets passing through the main FMS box on their way to the field router. No idea what happens internally there.

If you're able to reproduce the problem on FMS Light, I'd suggest getting in contact with FIRST HQ and talk with the writer of the FMS software. They'd have much better debugging experience.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #5   Spotlight this post!  
Unread 30-03-2011, 18:14
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: FMS/cRIO comm issue

I would assume with that many bright minds in one spot the obvious stuff (cRio Image version and such) is probably not the cause. I'd be curious about putting the malfunctioning cRio next to a working one, each on it's own wifi bridge, etc, with an FMS system and running a packet sniffer on each bridge. Run the same code, same everything, and see if any particular difference jumps out. Unfortunately this is probably isn't very feasible, but I'm at a loss as to what else could be done to clearly identify the difference.

Of course, my assumption could be wrong, and it could be something remarkably simple

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
Reply With Quote
  #6   Spotlight this post!  
Unread 30-03-2011, 18:49
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,685
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: FMS/cRIO comm issue

I'm kinda voting the packet sniffer method as well. As Radical Pi stated, the FMS never talks directly to the cRIO, only the DS. There's firewalling and etc. happening through all the field networking equipment, however. That seems like the only place likely to cause this problem. If Kettering and Waterford used the same field and networking hardware, that'd certainly be suspicious. There might be something on the network with a stray setting that targeted your particular cRIO. I know you can't test things anymore, but I'm curious of you did any/all of the following in all the testing:
Pinged the cRIO from the DS
Pinged the Bridge from the DS
Port scanned the cRIO from the DS
Monitored packets from the DS to the cRIO
Tried your cRIO with a different robot or team number
Tried your cRIO with a different Bridge

Basically, it seems likely to be a networking hardware issue somewhere, as opposed to something physically wrong with the cRIO. What would be extra interesting is if you could get your cRIO to the Michigan Championship, along with someone(s) clever enough to check the network traffic etc. Then there might be a chance of pinning the problem down for good and all.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #7   Spotlight this post!  
Unread 30-03-2011, 22:13
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: FMS/cRIO comm issue

Quote:
Originally Posted by Kevin Sevcik View Post
If Kettering and Waterford used the same field and networking hardware, that'd certainly be suspicious.
That's a good point. The listing of what fields are going where (sorry I don't have a link anymore) shows Kettering and Waterford both using the same field hardware. If you do make it to MSC, that would be a good chance to check if it's just one field as it's using the other Michigan field.
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
  #8   Spotlight this post!  
Unread 31-03-2011, 11:20
sdaustin sdaustin is offline
Registered User
FRC #3667 (The Mecanum Knights)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Port Huron, MI
Posts: 17
sdaustin is an unknown quantity at this point
Re: FMS/cRIO comm issue

Thanks for everyone's very quick and pertinent responses. To answer as many questions as possible:

- We were running cRIO image 28. The cRIO was imaged twice at Kettering; once by the Lead Robot Inspector and once by the NI rep. A match was attempted between each imaging.
- We tried different network cables from the DLink to the cRIO onboard. One was placed in different location from the original - it's unlikely that something else onboard was injecting noise into the cable.
- At Kettering, the FTA loaded the settings onto our DLink twice. We also tried two of their loaner DLinks which they had configured.
- We were running DS 2.27.11.00 on our Classmate. We also tried a loaner Classmate for one of our matches. It didn't help.
- We formatted the onboard cRIO flash "hard drive" and reinstalled image 28 between competitions. To my knowledge, image 29 was not yet available at that point.
- We had run the Team Update #17 procedure between competitions.

I too am thinking that a packet sniffer and side-by-side comparison under FMS is the next logical step. Unfortunately, the cRIO is in NI's hands for now, so that will have to wait.

We're done with competitions for this year. Now we're focused on things like giving demos of the robot to the Board of Education and middle schools, participating in the ACS Relay for Life, etc.
Reply With Quote
  #9   Spotlight this post!  
Unread 31-03-2011, 12:16
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: FMS/cRIO comm issue

Quote:
Originally Posted by sdaustin View Post

I too am thinking that a packet sniffer and side-by-side comparison under FMS is the next logical step. Unfortunately, the cRIO is in NI's hands for now, so that will have to wait.
NI will do this test, or a better one they most likely have available, this is their baby and they're going to be mighty unhappy it's throwing a temper tantrum.

Hopefully this was an isolated incident, though I'd be curious to know what the cause was for future reference.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
Reply With Quote
  #10   Spotlight this post!  
Unread 01-04-2011, 13:30
anyheck anyheck is offline
Registered User
FRC #2242 (Cougars)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New Orleans
Posts: 26
anyheck is on a distinguished road
Re: FMS/cRIO comm issue

MAC address filtering in the firewall on that field for some reason?

No idea why they would have that.

Just throwing it out, as it's directly tied to the hardware.
Reply With Quote
  #11   Spotlight this post!  
Unread 01-04-2011, 14:03
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,785
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: FMS/cRIO comm issue

sd,
I have to ask, was there a stable voltage display on the Classmate dashboard? Although NI should have seen something by now, I have two teams this year reports similar problems. One had a bad Crio pin in slot 1 and one had a bad solder job on the analog bumper on module 1. Do you remember the action of the RSL when on the field? Also, do you run an autonomous program and did it run that OK?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
Reply With Quote
  #12   Spotlight this post!  
Unread 01-04-2011, 14:44
sdaustin sdaustin is offline
Registered User
FRC #3667 (The Mecanum Knights)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Port Huron, MI
Posts: 17
sdaustin is an unknown quantity at this point
Re: FMS/cRIO comm issue

MAC filtering probably isn't the issue. I'm told the FMS does not send any traffic directly to the cRIO. It's all commands to the DS, which then in turn sends commands to the cRIO. We tried two different DLinks and a different DS.

I can't recall exactly what was displayed on the DS, other than that the uppermost indicator in the lower-left pane ("Comm", I believe) simply never turned green running under FMS. Without Comm, the robot battery voltage was probably not being displayed. The DS was usually on AC. When we swapped out the cRIO, we continued to use our existing modules and didn't change any of the wiring to/from them. Given that everything worked fine if the DS was hardwired directly to the cRIO or thru the DLink, or if we used a different cRIO, I think that rules out the battery and modules.

What's the RSL?

Autonomous wasn't an issue for the first five matches -we carried the robot off the field before they started. My recollection is that it was disabled for the first few matches w/ the new cRIO, then we enabled it. It was enabled for all of the Waterford competition and by about the 6th match our kids had it working very well, following the lines & hanging an ubertube. Woo Hoo!

This smells like an OSI Layer 1 or 2 network issue in the cRIO ethernet port to me.

Anyway, I have a high level of confidence that the NI application engineer working on this will get it resolved to our satisfaction soon. He has been truly awesome.
Reply With Quote
  #13   Spotlight this post!  
Unread 01-04-2011, 14:55
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: FMS/cRIO comm issue

Quote:
Originally Posted by sdaustin View Post
What's the RSL?
Robot Signal Light, it is the large orange Allen-Bradley light that is wired into the Digital Side Car that connects through slot 4.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #14   Spotlight this post!  
Unread 01-04-2011, 15:32
anyheck anyheck is offline
Registered User
FRC #2242 (Cougars)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New Orleans
Posts: 26
anyheck is on a distinguished road
Re: FMS/cRIO comm issue

Quote:
Originally Posted by sdaustin View Post
MAC filtering probably isn't the issue. I'm told the FMS does not send any traffic directly to the cRIO. It's all commands to the DS, which then in turn sends commands to the cRIO. We tried two different DLinks and a different DS.
I was suggesting that because no traffic would pass to the cRIO regardless of the source of the traffic, if this was set up in the router or firewall somewhere.
Reply With Quote
  #15   Spotlight this post!  
Unread 01-04-2011, 16:43
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,820
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: FMS/cRIO comm issue

If you think it was an issue with the cRIO Ethernet port, then what were the port lights displaying while the error occurred?

There is a fault that exhibits itself as solid red & amber lights on the cRIO port where it fails to communicate with anyone. It's apparently a lockout condition between the cRIO and the DLink, possibly related to the ARP. Everyone's on but nobody is talking.

Power cycling does nothing to help (it's actually counter-productive in this case), because the timing is such that the order the devices come up seems to cause the lockout.
I've seen it fixed by a simple disconnect/reconnect of the cRIO Ethernet cable followed by a minute of patience. Sometimes a reset of the cRIO alone will clear the condition, but only sometimes.

A sniffer would certainly help diagnose the issue.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 01-04-2011 at 20:32.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:56.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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