Go to Post So now that the Championship is over, how long 'till next kick off? ;) :p - Michelle Celio [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
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 16-02-2010, 21:31
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Jaguar Reset to Address 1

Programming language is java; using the serial bus to connect to the black jag; six motor controllers installed with ids 10, 11, 12, 13, 14, 15. Robot is driving fine. Put robot back on the cart, and attached camera wiring. Robot would not run anything. Exception thrown from Jaguar init function when constructing the CANJaguar class. Disconnected serial bus from cRIO and attached to pc. Ran the comm application. Now had ids 1, 10, 11, 13, 14. Turns out that two jaguars had "forgotten" their id and reverted to 1. First jag to be initialized was 11, but init of 11 would throw the exception. My best guess is some sort of "static discharge" event, although I cannot say for sure that one occured. Any other ideas?? I would hate for this to happen in the middle of a match.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2010, 11:35
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Jaguar Reset to Address 1

Quote:
Originally Posted by charrisTTI View Post
Programming language is java; using the serial bus to connect to the black jag; six motor controllers installed with ids 10, 11, 12, 13, 14, 15. Robot is driving fine. Put robot back on the cart, and attached camera wiring. Robot would not run anything. Exception thrown from Jaguar init function when constructing the CANJaguar class. Disconnected serial bus from cRIO and attached to pc. Ran the comm application. Now had ids 1, 10, 11, 13, 14. Turns out that two jaguars had "forgotten" their id and reverted to 1. First jag to be initialized was 11, but init of 11 would throw the exception. My best guess is some sort of "static discharge" event, although I cannot say for sure that one occured. Any other ideas?? I would hate for this to happen in the middle of a match.
We had exactly the same thing occur last night. One of the grey Jags reset to ID 1 during a battery change. I'm also assuming a surge or static event, but it's concerning.
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2010, 11:37
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: Jaguar Reset to Address 1

Yes, both of the ones which reset on us were the old style.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2010, 12:41
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: Jaguar Reset to Address 1

Same thing happened here. Was doing a test drive, noticed one side of the bot was slower than the other and one of the jags was blinking yellow. I have absolutely no idea what caused the reset. I originally thought I had just missed that jag in the original setup of the bus, but now that other people had this problem I think it wasn't just me.

btw when you setup the jag that reset did you daisy-chain to that one from the black jag? I remember the one that reset was the only one we didn't have a cable long enough to reach from the black jag, so I had another grey one on the bus.
__________________

"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 17-02-2010, 13:08
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Jaguar Reset to Address 1

Quote:
Originally Posted by Radical Pi View Post
Same thing happened here. Was doing a test drive, noticed one side of the bot was slower than the other and one of the jags was blinking yellow. I have absolutely no idea what caused the reset. I originally thought I had just missed that jag in the original setup of the bus, but now that other people had this problem I think it wasn't just me.

btw when you setup the jag that reset did you daisy-chain to that one from the black jag? I remember the one that reset was the only one we didn't have a cable long enough to reach from the black jag, so I had another grey one on the bus.
As long as only one Jag reset to 1, then daisy chaining works. We had it happen twice yesterday, once earlier in the day when the students were working with the robot (I was a little sceptical of the report at first) and also later in the evening when I saw it with my own eyes.
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2010, 15:22
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: Jaguar Reset to Address 1

Out of curiosity, what are the IDs of the Jags that reset? Our's was 6.
__________________

"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
  #7   Spotlight this post!  
Unread 17-02-2010, 16:05
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Jaguar Reset to Address 1

Quote:
Originally Posted by Radical Pi View Post
Out of curiosity, what are the IDs of the Jags that reset? Our's was 6.
IIRC it was 10 or 11.
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2010, 17:44
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Jaguar Reset to Address 1

For those of you who are having this problem. Are you able to recreate it reliably?

Does it happen during a specific window of time during robot operation?

Just to be clear, has ID resetting only been seen on Gray Jags?

If you are able to recreate the problem reliably, what do the Jaguar LEDs do before, throughout, and after the event that causes the ID to reset?

I am trying to figure out if this could possibly be a software problem. For example, could the CRIO be sending out a rogue Assign ID command?

Your help is greatly appreciated!

-David
Reply With Quote
  #9   Spotlight this post!  
Unread 17-02-2010, 19:21
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: Jaguar Reset to Address 1

As I remember, I had set the IDs and tested the system, and then the electronics board was mounted on the bot. There was never any power to the system until we powered on to download new code and test the bot. When the robot was used for the first time, the jag had been reset.

In terms of the LED, the only thing I noticed was a blinking yellow
__________________

"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
  #10   Spotlight this post!  
Unread 18-02-2010, 02:37
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Jaguar Reset to Address 1

Quote:
Originally Posted by dyanoshak View Post
For those of you who are having this problem. Are you able to recreate it reliably?

Does it happen during a specific window of time during robot operation?

Just to be clear, has ID resetting only been seen on Gray Jags?

If you are able to recreate the problem reliably, what do the Jaguar LEDs do before, throughout, and after the event that causes the ID to reset?

I am trying to figure out if this could possibly be a software problem. For example, could the CRIO be sending out a rogue Assign ID command?

Your help is greatly appreciated!

-David

On my little test board, i have 5 black jaguars and 2 gray jaguars.
Bl-Bl-Bl-G-Bl-G
2 3 4 5 6 7

I have been able to reproduce this twice.
The first time, the power to the bus was off for about 6 hours. The Gray jag with ID 7 reset itself to 1.

The second time, the power was off for slightly more then a day.
This time, both gray jags set themselves to ID 1 leading to an interesting time trying to re-assign IDs.

Upon power up, the jags just blink yellow happily, no weird blinks.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!

Last edited by biojae : 18-02-2010 at 02:39. Reason: Brown change to gray, they look Brown!
Reply With Quote
  #11   Spotlight this post!  
Unread 19-02-2010, 01:00
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 90
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: Jaguar Reset to Address 1

We had two Jaguars reset this evening. We attributed it to anamolies related to the recent updates where everything had to be updated including the cRio. This meant that the serial jaguar driver was removed. We've restored everything now.

Both the Jaguars that reset were gray. We only have one black.

We will certainly be keeping an eye on this problem. I have high hopes for CAN but the problems we are seeing are a bit disconcerting.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
  #12   Spotlight this post!  
Unread 19-02-2010, 13:27
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Jaguar Reset to Address 1

Hi all,

We just uploaded new Jaguar firmware (89) that should address this problem.

Please check this thread out:

http://www.chiefdelphi.com/forums/sh...d.php?p=923925

-David
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Black Jaguar Not Taking New Address duane CAN 1 06-02-2010 19:55
Camera won't initialize when reset from RC - reset from OI and Power-up works, krunal Programming 7 15-01-2007 00:13
Address archiver 2000 0 23-06-2002 23:22
Address archiver 2000 0 23-06-2002 23:22
Address archiver 2000 2 23-06-2002 23:22


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

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