Go to Post You can't learn anything without breaking some stuff. - DonRotolo [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 11-03-2012, 21:49
MPlant MPlant is offline
Registered User
FRC #0008
 
Join Date: Feb 2010
Location: Palo Alto High School Robotics
Posts: 13
MPlant is an unknown quantity at this point
Angry Problem with Black Jaguars, unable to update, stopped blinking

So I've been running into some pretty devastating errors that I desperately need to fix and so far have had absolutely no success in doing so.

We've been using the black jaguars and the 2CAN, however, for some weird reason, the jags had been of a bad firmware. So we attempted to update them through the 2CAN web interface. EVERY SINGLE TIME WE'VE TRIED THIS, THE JAGUAR HAS STOPPED BLINKING AND BEEN UNABLE TO CONNECT. We've tried recovering them through BDC-COMM, and it gives us the "unable to connect to bootloader error."

We've tried everything at this point and thus have become incredibly desperate; I've gotten to the point where I'm considering ordering a set of new jags overnight. Does anyone have any solution to this problem? Any help greatly appreciate!
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2012, 00:10
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Problem with Black Jaguars, unable to update, stopped blinking

There is a known bug in the 2CAN firmware, which is supposedly fixed somewhere (I can't find the right one myself, maybe someone else can point us to it). When you recover the Jaguar using BDC-Comm, plug your serial cable into the left CAN port, and your resistor on the right. Make sure you do it one at a time - multiple Jaguars on the network stuck in the bootloader mode will give you that message. I happened to brick 2 of them myself trying to update through the 2CAN, and this worked immediately for me. If it still doesn't connect, make sure the serial cable and resistor are in place, and power cycle the Jaguar. It should connect, and you should be able to recover with the 101 firmware binary.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #3   Spotlight this post!  
Unread 12-03-2012, 02:56
MPlant MPlant is offline
Registered User
FRC #0008
 
Join Date: Feb 2010
Location: Palo Alto High School Robotics
Posts: 13
MPlant is an unknown quantity at this point
Re: Problem with Black Jaguars, unable to update, stopped blinking

Ah, thank you very much sir. I will try your suggestion and update this reply with the results sometime tomorrow.
Reply With Quote
  #4   Spotlight this post!  
Unread 12-03-2012, 10:06
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: Problem with Black Jaguars, unable to update, stopped blinking

Ok,

There was a bug in the 2CAN Jaguar firmware update utility that caused the firmware attempt to fail on the first attempt. This bug has been fixed in the latest 2CAN firmware found here http://www.crosstheroadelectronics.c...2_24_FIRST.zip. However this is not the only thing going on here. When the Jaguar firmware upload attempt fails the recommended procedure is to power cycle the Jaguar just in case the Can controller is in the Bus off state. While this fixes the bus off state it causes the Jaguars CAN bitrate to change to 500 Kbps. This is why neither the 2CAN or BDC comm is able to update firmware over CAN. There are two ways you can remedy this;

1. Use BDC comm over serial to update the firmware.
2. Change the 2CAN's bit rate to 500 Kbs under the 'CAN configuration' tab in the web dash.

If using Method 2, make sure you change the bitrate back to 1Mbps after you have successfully updated the Jag firmware. You can also verify that the bitrate has changed at the bottom of the 'Main' tab of the web dash as well by verifying that the 'CAN Bus Status' is showing no Error counts after setting the 2CAN bitrate to 500.
__________________
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
  #5   Spotlight this post!  
Unread 12-03-2012, 21:42
MPlant MPlant is offline
Registered User
FRC #0008
 
Join Date: Feb 2010
Location: Palo Alto High School Robotics
Posts: 13
MPlant is an unknown quantity at this point
Re: Problem with Black Jaguars, unable to update, stopped blinking

Alright, I have tried both suggestions to no avail. I'm starting to suspect that there is a problem with either serial cable or some configuration or something, as BDC-COMM does not even detect the jag that is not broken (it connects, but doesn't change the jag's light color to green on reassignment). Maybe it's the fact that we're trying to fix the jags while they're plugged into the power distro? I don't know why that would make a difference but I've stopped thinking rationally long ago. In any case I'm really starting to think that the jags are beyond hope as they aren't able to reset.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-03-2012, 21:52
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Problem with Black Jaguars, unable to update, stopped blinking

Make sure you are using a 6-wire cable for this, as it needs this to communicate serially (normally, we make them 4-wire, as that's all that is needed by CAN). Also, make sure you plug them into the left port on it, as that is the only one with a serial connection on it (6 pins in the connector, the right one only has 4 pins)
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #7   Spotlight this post!  
Unread 12-03-2012, 22:33
MPlant MPlant is offline
Registered User
FRC #0008
 
Join Date: Feb 2010
Location: Palo Alto High School Robotics
Posts: 13
MPlant is an unknown quantity at this point
Re: Problem with Black Jaguars, unable to update, stopped blinking

We are doing all of these things according to our wiring guy, and yet there is no connection. It's bizarre
Reply With Quote
  #8   Spotlight this post!  
Unread 12-03-2012, 22:43
MPlant MPlant is offline
Registered User
FRC #0008
 
Join Date: Feb 2010
Location: Palo Alto High School Robotics
Posts: 13
MPlant is an unknown quantity at this point
Re: Problem with Black Jaguars, unable to update, stopped blinking

What version of BDC-COMM are you guys using? perhaps there is an error in compatibility.
Reply With Quote
  #9   Spotlight this post!  
Unread 12-03-2012, 22:49
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: Problem with Black Jaguars, unable to update, stopped blinking

We are using BDC-COMM-99, the one that came with LabVIEW this year. The only other thing I could suggest is to see if there are more than one COM ports on the computer, and try disconnecting and re-connecting to the Jaguar from the menu.

Other than that, I would check the wiring of your serial to CAN adaptor..

If none of those are it, I am honestly out of suggestions
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #10   Spotlight this post!  
Unread 14-03-2012, 11:17
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Problem with Black Jaguars, unable to update, stopped blinking

Try using BDC-COMM-101, the newest version. Also, try using BDC-COMM to talk to another Jag that is known to be working. This should sort out whether you've got a bad cable or not.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
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 03:38.

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