Go to Post In no way is my team a powerhouse but we're striving to compete among the top competitors and in my opinion that's a start. - rcmolloy [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-02-2011, 18:09
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Defective Black Jaguars?

While working on updating the firmware of the jaguars and setting ID's, we eventually discovered a very odd error. All the jags were successfully updated to version 92. We got a black jaguar last year, and in the summer, we got CAN working on it. This season, we have 2 KOP Black Jags and 2 other Black Jags, bought between the first one, and kickoff. All 4 of the newer ones cannot communicate with other Black jaguars (using serial bridge), and some of them (not sure) can't communicate with any other jaguars at all. the old one can communicate with all grey jaguars, but none of the new black jaguars. So after 2 ish hours, we swapped all the black jags on our robot with grey jags, except the old jag and it worked.
Is it the jaguars are bad, or can we only have 1 black jaguar on a network, or is there a special way to wire it. we know the cables and ends are good, simply changing the positions as show below enables it to work

all grey and first black can communicate
laptop>good black>grey>black>grey>black>black>grey>black>terminator

reversing laptop and terminator ends, only directly connected black can
terminator-good black-grey-black-grey-black-black-grey-black-laptop
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2011, 10:35
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: Defective Black Jaguars?

Make sure your cables are correct. Patchy connectivity throughout the bus is a symptom of cables that aren't crimped pin 1 -> pin 1, pin 2 -> pin 2, etc.

To find a bad cable, try connecting each Jaguar one at a time. Start with your first Black Jag as the serial-to-CAN bridge and one additional Jaguar (Black or Grey). Make sure they each have unique IDs (not the same ID for both of them). Test all your cables between these two Jags to eliminate the bad ones.

The BDC-COMM application will help in these tests, so that you don't have to run code on your robot. With each cable, test that you can control the second Jaguar (for example, change the voltage).

Now that you have checked all your cables, keep the two Jag setup, but now switch out the second Jag with another from your supply. Using BDC-COMM, make sure it is updated to version 92 firmware, and has a unique ID. In this manner, check all your Jaguars one at a time.

If you have even one set of duplicate IDs on the network, things stop working.

-David
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2011, 14:51
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Defective Black Jaguars?

We know it is not the cables, we were playing around with a bunch of them and they all work. It is also not the ID. connecting directly to any of the bad black jaguars works, its their communications in and out. signals pass through them when they are not the first on the bus.
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2011, 15:12
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: Defective Black Jaguars?

My procedure from before is to help guarantee that it isn't the cables or the ID. I know that on my teams robot, we can't guarantee that a cable is good until we've tested it them in an environment where it is the only variable. Same goes for the IDs.

As a mentor, I know for a fact that the state of cables and Jaguars one night might not be the same the next night because there are some pretty eager students out there. All it takes is a student to think they have a problem, and the best solution is to reset the Jaguars to factory defaults (ID 1).

Can you move the Jaguars to different places in the network, leaving the cables in the same place. For example, try different combinations like this:

[Jag A (black)][Cable 1][Jag B (grey)][Cable 2][Jag C (grey)][Cable 3][Jag D (black]...

[Jag A (black)][Cable 1][Jag C (grey)][Cable 2][Jag D (black)][Cable 3][Jag B (grey)]...

[Jag D (black)][Cable 1][Jag B (grey)][Cable 2][Jag A (black)][Cable 3][Jag B (grey)]...

Does the failure move with the Jaguar or does it stay at the same place in the network? If the failure moves, this could help eliminate the cabling.

-David
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2011, 20:27
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Defective Black Jaguars?

From the information you've provided, it sounds like the Jaguars in suspect work, but just don't support CAN.

Are ALL your black Jaguars like this?

Could you update their firmware again, and see if that changes anything?
__________________
-- Marshal Horn
Reply With Quote
  #6   Spotlight this post!  
Unread 16-02-2011, 11:41
IanG IanG is offline
Registered User
FRC #1535 (The Knights of Alloy)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2007
Location: Sault Ste. Marie, ON
Posts: 2
IanG is an unknown quantity at this point
Re: Defective Black Jaguars?

We had an issue like that on 2 different black jags. We just flashed the firmware again and they worked fine
Reply With Quote
  #7   Spotlight this post!  
Unread 20-08-2011, 17:56
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Defective Black Jaguars?

I know this is old, but I want to post my (odd) results.
When we re-flashed them, they worked fine, and I forgot about this for a while, until I flashed one again, and it did not work. After some testing I discovered this pattern:
Flash -> works
Re-Flash -> does not work
Re-Flash -> works
Re-Flash -> does not work
Re-Flash -> works
Re-Flash -> does not work
Re-Flash -> works
Re-Flash -> does not work
etc...
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #8   Spotlight this post!  
Unread 20-08-2011, 19:06
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Defective Black Jaguars?

It appears that re-flashing a working Jaguar will fail, causing that Jaguar to not work. Maybe something to do with the bootloader.
__________________
-- Marshal Horn
Reply With Quote
  #9   Spotlight this post!  
Unread 21-08-2011, 23:28
PAR_WIG1350's Avatar
PAR_WIG1350 PAR_WIG1350 is offline
Registered User
AKA: Alan Wells
FRC #1350 (Rambots)
Team Role: Alumni
 
Join Date: Dec 2009
Rookie Year: 2009
Location: Rhode Island
Posts: 1,188
PAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond reputePAR_WIG1350 has a reputation beyond repute
Re: Defective Black Jaguars?

If this pattern is the case for all jaguars, I would think that the manufacturer would want to know about this since it seems like a resolvable issue (even if the solution is just to release a notice to users about the existence of this phenomenon).
__________________
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 06:50.

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