Go to Post I wasn't pouting; just cowering in fear because I actually thought you were mad at me... I didn't want a clipboard to the head like Billfred here. - Jon K. [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 14-01-2015, 19:02
Joe Wilson Joe Wilson is offline
Mentor & FRC West Board Member
FRC #4627 (Manning Robotics)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Calgary, Alberta
Posts: 18
Joe Wilson is an unknown quantity at this point
CAN Jaguar Firmware Update Problems

Is anyone else having trouble using BDC-COMM to update the firmware of black jaguars?

Initial connection is fine, and we are able to assign a CAN id without problem, but when we go to update the firmware, it gets about 10% done and freezes, the jaguar light goes off and stays off.

We hunted around and found this solution:
1)
C:>bdc-comm-107.exe -c N

- replace the 'N' with the COM port number you are using

2)
# id X

- replace 'X' with the ID you had previously set for that Jaguar (factory default is 1)

3)
# update black-jag-v109.bin

which worked for one of the jaguars. So we repeated the process again in the bdc-comm gui on another jag, assigned id with no problems, tried to update the firmware. It froze again, so we tried the command line approach as above, only this time, the command-line version also froze during firmware update.

Any ideas? Is it possible to configure and update the jags through the roborio's browser-based configuration tool?

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 14-01-2015, 22:03
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by Joe Wilson View Post
Is it possible to configure and update the jags through the roborio's browser-based configuration tool?
Yes. It's as simple as opening the webdash, finding your Jaguar, and clicking the update firmware button. I'm not sure if the v109 update was tested over BDC Comm during beta. I know we didn't.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-01-2015, 13:36
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: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by Jefferson View Post
Yes. It's as simple as opening the webdash, finding your Jaguar, and clicking the update firmware button. I'm not sure if the v109 update was tested over BDC Comm during beta. I know we didn't.
The Jaguars only support changing IDs on the roboRIO web page. Firmware must be updated using BDC-COMM.

The CTRE devices only use the web interface.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-01-2015, 13:40
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: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by Joe Wilson View Post
So we repeated the process again in the bdc-comm gui on another jag, assigned id with no problems, tried to update the firmware. It froze again, so we tried the command line approach as above, only this time, the command-line version also froze during firmware update.
The command-line version and the GUI version share an implementation in the background, so I would not expect the behavior to differ based on which you choose. I haven't seen it hang like that when programming a single Jag on an isolated connection or when updating a Grey Jag while using a Black Jag (with a different ID) as a bridge. My only recommendation short of making sure your connections are as I described would be to try again. It worked for you once. Perhaps whatever is causing you trouble will be intermittent enough for you to complete updating all your devices.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-01-2015, 14:38
Joe Wilson Joe Wilson is offline
Mentor & FRC West Board Member
FRC #4627 (Manning Robotics)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Calgary, Alberta
Posts: 18
Joe Wilson is an unknown quantity at this point
Re: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by jhersh View Post
The command-line version and the GUI version share an implementation in the background, so I would not expect the behavior to differ based on which you choose.
We have to resort to the command line version once the jag light starts refusing to turn on. The GUI version assumes there is no jag connected and won't let you update, whereas the command-line version lets you force it to try to update, which worked for the first one.

Hopefully we can recreate the first result, though the last time, when it froze in the command-line version, it locked up the cmd window and wouldn't respond to ctrl-c, killall, or taskmanager force quits.

Fingers crossed I guess.

Quote:
Yes. It's as simple as opening the webdash, finding your Jaguar, and clicking the update firmware button. I'm not sure if the v109 update was tested over BDC Comm during beta. I know we didn't.
By the sounds of this, Jefferson was successful in updating the firmware using webdash, though jhersh doesn't think this is possible?
Reply With Quote
  #6   Spotlight this post!  
Unread 15-01-2015, 14:44
Jefferson Jefferson is offline
Registered User
AKA: Jeff Clements
FRC #0016 (Bomb Squad)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Mountain Home, AR
Posts: 257
Jefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant futureJefferson has a brilliant future
Re: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by Joe Wilson View Post
By the sounds of this, Jefferson was successful in updating the firmware using webdash, though jhersh doesn't think this is possible?
Joe would know better. I checked the webdash last night and the update firmware button is not on there. JDN must have updated the Jaguar firmware during beta. I remembered updating firmware in the webdash, but that must have been the CTRE devices.

Sorry for the confusion, and thanks for the correction Joe.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-01-2015, 15:02
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: CAN Jaguar Firmware Update Problems

Quote:
Originally Posted by Joe Wilson View Post
We have to resort to the command line version once the jag light starts refusing to turn on. The GUI version assumes there is no jag connected and won't let you update, whereas the command-line version lets you force it to try to update, which worked for the first one.
This is because the Jaguar has gone into recovery mode. When there is no light on the Jaguar anymore, yet it is being powered, select (IIRC) Recover Firmware instead of Update Firmware. It should still be under the File menu. Make sure it is the only Jaguar connected when using this method, and it should recover itself.
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #8   Spotlight this post!  
Unread 15-01-2015, 15:28
Joe Wilson Joe Wilson is offline
Mentor & FRC West Board Member
FRC #4627 (Manning Robotics)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Calgary, Alberta
Posts: 18
Joe Wilson is an unknown quantity at this point
Re: CAN Jaguar Firmware Update Problems

Ok excellent, we will try tonight after verifying there are no problems with our cables or the contacts on the jags.

Does this Recover Firmware flash the new firmware to it as well, or will we have to retry Update Firmware after they are recovered?

Thanks for the help!
Reply With Quote
  #9   Spotlight this post!  
Unread 15-01-2015, 15:34
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: CAN Jaguar Firmware Update Problems

It will load the firmware as normal, (hopefully) making it usable again. Are you using a USB to serial adapter? (If you have access to one) try using a computer with a native serial port on it. I have heard reports of some adapters working fine for everything but the update process. (For reference, I have been using a Keyspan USA-19HS for years without problems.)
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #10   Spotlight this post!  
Unread 15-01-2015, 15:43
Joe Wilson Joe Wilson is offline
Mentor & FRC West Board Member
FRC #4627 (Manning Robotics)
Team Role: Mentor
 
Join Date: Dec 2014
Rookie Year: 2014
Location: Calgary, Alberta
Posts: 18
Joe Wilson is an unknown quantity at this point
Re: CAN Jaguar Firmware Update Problems

We are using a USB-serial adapter. If the problems persist we'll give it a go on one of the school's desktops with native serial. Thanks for the tip.
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 02:42.

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