Go to Post If you don't like contact, your robot is not built well enough. - sanddrag [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 19-02-2010, 14:38
PranavSathy PranavSathy is offline
Team Captain
AKA: Pranav Sathyanarayanan
FRC #0263 (Sachem Aftershock)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Holbrook, New York
Posts: 27
PranavSathy is an unknown quantity at this point
Exclamation CAN Jaguar Malfunction

We wired all of our Jaguars and assigned them specific IDs, but the crio seems to be messing up the jaguar system. When we hook up the jaguars directly to the serial cable connected to the computer, they work fine, their firmware versions are correct, and we can control them with speed mode great (The encoders are working good).
This is our setup:
ID TYPE
1 Black
2 Gray
3 Gray
4 Gray
5 Gray
6 Gray
7 Gray
All firmwares are at 87
Each are hooked up to the next id with the terminator connected to 7.
After the crio boots it reports that the firmware is 0 for all of them. Disconnecting the serial cable from the crio and hooking it up to the computer we see that the id's of the greys change (We did not turn the jaguars off, all pid values are still changed).
So ID 1 is at v87, 2 is 258, 3 is 259, and so on, up to 263. Is this normal?
The jaguars with the different firmwares don't respond to the rpm controller in the bc comm program.
Any help would be great
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 22:56
Spacetech's Avatar
Spacetech Spacetech is offline
Lead Programmer
FRC #0263 (Sachem Aftershock)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New York
Posts: 4
Spacetech is an unknown quantity at this point
Re: CAN Jaguar Malfunction

We tried many configurations with no avial. Even with the CAN default code and just the black Jaguar it failed. The cRio keeps reading the firmware as 0 and messing with the gray Jaguars firmwear versions. Usually its a number increasing from 258. Through a direct serial connection they cannot be controlled at all, until you reflash the firmware. Everything is up to date and we at a complete loss. One interesting firmware version that the software found is attached below.
Attached Thumbnails
Click image for larger version

Name:	firmware.JPG
Views:	29
Size:	40.0 KB
ID:	8723  
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 21:31
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: CAN Jaguar Malfunction

Update the jags to 89, and download the latest release of the CANJaguar libraries (they updated recently). Try contacting Luminary Micro/TI if the problem keeps up
__________________

"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
  #4   Spotlight this post!  
Unread 21-02-2010, 11:44
Spacetech's Avatar
Spacetech Spacetech is offline
Lead Programmer
FRC #0263 (Sachem Aftershock)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: New York
Posts: 4
Spacetech is an unknown quantity at this point
Re: CAN Jaguar Malfunction

I updated the jaguars to 89 and the svn to the most recent revision to no avail.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2010, 18:32
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: CAN Jaguar Malfunction

Try shifting the jag IDs up by one. ID 1 is factory default and not recommended to be used in the actual system. The cRIO might have trouble with an ID 1 jag
__________________

"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
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
Jaguar malfunction Paul West FRC Control System 0 01-02-2010 23:20
CAN Jaguar Synchronous Updates?? Bryscus Programming 3 30-01-2010 16:13
Getting started with CAN/Jaguar CVassos Programming 1 27-01-2010 23:43
CAN bus Jaguar intermittent errors bear1511 Programming 1 27-01-2010 22:49
Black Jaguar RS232->CAN - anyone? oddjob C/C++ 12 22-01-2010 16:25


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

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