Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   BlackJaguar-99.bin issues (http://www.chiefdelphi.com/forums/showthread.php?t=99443)

Mike Copioli 13-01-2012 08:04

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by kccowan (Post 1104086)
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 (Post 1104086)
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 (Post 1104086)
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 (Post 1104086)
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.

kccowan 13-01-2012 18:00

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

FrankJ 13-01-2012 18:59

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.

Mike Copioli 13-01-2012 19:53

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by kccowan (Post 1104727)
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 (Post 1104727)
Am I running the right stuff?

Yes.

Quote:

Originally Posted by kccowan (Post 1104727)
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 (Post 1104727)
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.

Christopher149 13-01-2012 23:18

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.

kccowan 13-01-2012 23:42

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

Mike Copioli 14-01-2012 09:47

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by Christopher149 (Post 1104989)
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?

mbram 20-01-2012 16:16

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?

jhersh 20-01-2012 16:32

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by mbram (Post 1109868)
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

Bryscus 20-01-2012 17:53

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by mbram (Post 1109868)
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

Mike Copioli 21-01-2012 10:19

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by Bryscus (Post 1109950)
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

Bryscus 21-01-2012 21:49

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by Mike Copioli (Post 1110395)
This is not the case. See the below post.

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

Just quoting specs.

- Bryce

Mike Copioli 22-01-2012 15:00

Re: BlackJaguar-99.bin issues
 
Quote:

Originally Posted by Bryscus (Post 1110874)
Just quoting specs.

- Bryce

Correct. This spec is what CAN controllers and PHY's are design to.


All times are GMT -5. The time now is 03:52.

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