Go to Post Nats allows an exchange of a vast multitude of ideas from everywhere. Not only in robot design, but accents, tool storage, pit design, team spirt, clothing, many things. - Wetzel [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
  #31   Spotlight this post!  
Unread 01-13-2012, 08:04 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by kccowan View Post
Mike and Joe,

I think one of you has a problem.
Not quite sure what you mean here. Joe and I do not write the TI firmware we are only trying to help support it.


Quote:
Originally Posted by kccowan View Post
We tested the V93 firmware just prior to RiverRage and ran into a problem of not being able to flash the new firmware. I had the same issues with the V100 firmware. *None* of my Jags could be flashed. The 2CAN reported a timeout error for each.
What is the color of the 2CAN led with only one Jag on the BUS? Do you have the latest 2CAN plugin installed (v66) and what version of 2CAN firmware are you running? If you have the latest firmware and plugin a red LED will indicate poor CAN connectivity. If you have a good CAN connection to ANY jag on the BUS you will get a green LED so until you are able to successfully flash one of the JAG's with the latest firmware do not add any more to the BUS. If the firmware flash update fails on the first attempt using the 2CAN try a couple more times there is a small bug in the latest version of the 2CAN firmware (2.18) that occasionally fails to flash the firmware on the first attempt. This is being fixed for the next release and only affects flashing the jags and has nothing to do with CAN performance.

Quote:
Originally Posted by kccowan View Post
We tried having a CAN bus with just 1 gray/tan Jag. Tried switching terminator resistors. None of that helped.
You may already be aware of this but make sure you are using the correct version of firmware. The gray Jag has different firmware than the Black. The Black JAG firmware has the word Black in it.

Quote:
Originally Posted by kccowan View Post
Any suggestions on what to try next? Would using the BDC-COMM app over a USB to serial connection help? Might we need an upgrade to the 2CAN firmware?
It should not matter which method you use to update the JAG firmware. Your problem could very easily be your CAN cables or termination resistors. The fact that you were sucessful at loading version 92 tells me that the problem is intermitant, this points to cabling/termination or you are trying the wrong version 100 firmware.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #32   Spotlight this post!  
Unread 01-13-2012, 06:00 PM
kccowan kccowan is offline
Registered User
AKA: Ken Cowan
FRC #1073
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Hollis, NH
Posts: 17
kccowan is an unknown quantity at this point
Re: BlackJaguar-99.bin issues

We're using the set of plugins that came in FRC_2012_V43.zip on the old 8-slot cRIO. During boot the 2CAN plugin says it is SVN rev 72.

From the 2CAN firmware utility, it says the 2CAN firmware is 2.5. The bootloader version is 1.1. Man rev (not sure what that is) says 1.3 and Man Date 12/12/2009.

Am I running the right stuff? These numbers don't seem to match.

Right now, our bot is back to working with the V92 Jaguar firmware, and the 2CAN light is green. At some point, I saw the 2CAN light be red (flashing, if memory serves). We're going to try again tomorrow to upgrade to V100.

Do you recommend that we disconnect the bus so that only 1 Jag is on the bus at a time when we flash?

KC
Software mentor, team 1073
Reply With Quote
  #33   Spotlight this post!  
Unread 01-13-2012, 06:59 PM
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,888
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Latest Jag firmware is 101. (posted in a different thread) Try that. TI recommend only one Jag connected when flashing firmware. Except when flashing a gray jag & using the RS232 convertor on the black jag. Since you are using 2can that would not apply.
Reply With Quote
  #34   Spotlight this post!  
Unread 01-13-2012, 07:53 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by kccowan View Post
From the 2CAN firmware utility, it says the 2CAN firmware is 2.5. The bootloader version is 1.1. Man rev (not sure what that is) says 1.3 and Man Date 12/12/2009.
Firmware version 2.18 is the latest for FRC but 2.5 should work fine.

Quote:
Originally Posted by kccowan View Post
Am I running the right stuff?
Yes.

Quote:
Originally Posted by kccowan View Post
At some point, I saw the 2CAN light be red (flashing, if memory serves).
A red LED means you do not have CAN connectivity, bad cabling, bad termination resistor. If the 2CAN LED is intermittent between green and red then you have an intermittent can connectivity issue, you may confirm this in the web dash by viewing the CAN tx/rx error counter. If the error counter is incrementing you have a CAN connectivity problem.


Quote:
Originally Posted by kccowan View Post
Do you recommend that we disconnect the bus so that only 1 Jag is on the bus at a time when we flash?
I have never had a problem updating JAG firmware with multiple JAG's on the BUS as long as they each have a unique ID, however when you are trying to troubleshoot, it is always a good idea to make the problem as simple as possible.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #35   Spotlight this post!  
Unread 01-13-2012, 11:18 PM
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,094
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Team 857 is having a very similar issue. Our grey jags had v92, and we tried today to update to v101. Attempting to flash resulted in timeout errors, and after a few attempts, the light on the jags turned off. We have not yet tried the new black jags.

I tried flashing v92 back on, but the same timeouts occurred. We did then update the 2CAN from v2.1 to v2.18. Still no success. The CAN always flashed green after booting.
Reply With Quote
  #36   Spotlight this post!  
Unread 01-13-2012, 11:42 PM
kccowan kccowan is offline
Registered User
AKA: Ken Cowan
FRC #1073
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Hollis, NH
Posts: 17
kccowan is an unknown quantity at this point
Re: BlackJaguar-99.bin issues

We were able to go back to V92 easily. I'm not sure if it helps, but we power cycled frequently during the whole process.

KC
Reply With Quote
  #37   Spotlight this post!  
Unread 01-14-2012, 09:47 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by Christopher149 View Post
Team 857 is having a very similar issue. Our grey jags had v92, and we tried today to update to v101. Attempting to flash resulted in timeout errors, and after a few attempts, the light on the jags turned off. We have not yet tried the new black jags.

I tried flashing v92 back on, but the same timeouts occurred. We did then update the 2CAN from v2.1 to v2.18. Still no success. The CAN always flashed green after booting.
How many Jags are on the BUS when attempting to flash?
What is the TX/RX error count in the 2CAN web dash and is it incrementing?
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #38   Spotlight this post!  
Unread 01-20-2012, 04:16 PM
mbram mbram is offline
Registered User
FRC #3502
 
Join Date: Jan 2011
Location: Florida
Posts: 11
mbram is an unknown quantity at this point
Re: BlackJaguar-99.bin issues

Is there a limit to the number of jaguars allowed?
I've looked through the manual several times, just cant find it. Even a page number where i could look it up at?
Reply With Quote
  #39   Spotlight this post!  
Unread 01-20-2012, 04:32 PM
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by mbram View Post
Is there a limit to the number of jaguars allowed?
I've looked through the manual several times, just cant find it. Even a page number where i could look it up at?
There isn't a limit, but the Jags all have to have unique device numbers. Having fewer devices simplifies things if you are having problems. When I update (on a known working setup) I have 12 or 13 Jags on the bus.

-Joe
Reply With Quote
  #40   Spotlight this post!  
Unread 01-20-2012, 05:53 PM
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by mbram View Post
Is there a limit to the number of jaguars allowed?
I've looked through the manual several times, just cant find it. Even a page number where i could look it up at?
There's a cable length limitation which I believe is 20' for the CAN bus. You should also have a terminator at the last Jag. You can have about 62 Jags since the IDs for the Jags are 5-bit (64 values) and you shouldn't label any of them 0 or 1.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #41   Spotlight this post!  
Unread 01-21-2012, 10:19 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by Bryscus View Post
There's a cable length limitation which I believe is 20' for the CAN bus.
This is not the case. See the below post.

http://www.chiefdelphi.com/forums/sh...2&postcount=20
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #42   Spotlight this post!  
Unread 01-21-2012, 09:49 PM
Bryscus's Avatar
Bryscus Bryscus is offline
EE, CpE
AKA: Bryce B.
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 1999
Location: Jupiter, FL
Posts: 173
Bryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud ofBryscus has much to be proud of
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by Mike Copioli View Post
This is not the case. See the below post.

http://www.chiefdelphi.com/forums/sh...2&postcount=20
Just quoting specs.

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #43   Spotlight this post!  
Unread 01-22-2012, 03:00 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: BlackJaguar-99.bin issues

Quote:
Originally Posted by Bryscus View Post
Just quoting specs.

- Bryce
Correct. This spec is what CAN controllers and PHY's are design to.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
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 08:49 PM.

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