Go to Post The real key to drive team coaching is to tie your jacket around your waist. Got a couple championship rings that way. - TravusCubington [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, 13:22
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Exclamation New Jaguar Firmware: Version 89

Hi all,

There are new versions of Jaguar firmware, Black Jaguar firmware, and BDC-COMM on www.luminarymicro.com/jaguar.

The new files are:

Jaguar-89.bin
BlackJaguar-89.bin
bdc-comm-89.exe

Version 89 fixes a bug we found with the (Gray) Jaguar.

On extremely rare occasions the Jaguar ID would reset back to 1 on power up.

When powering up, the Jaguar reads the state of the user button. If pressed the Jaguar blinks red/green for 5 seconds and resets to factory defaults (ID = 1).

In the original firmware, the digital input is enabled, configured, and sampled back-to-back. The time it takes for the internal pull-up to bring the input line high (not pressed) can sometimes take longer than the enable-config-sample time, resulting in a false "pressed" reading and a reset ID. We added a delay that will ensure the user switch input is stable before sampling. We have only seen this problem in 3 or 4 Jaguars. For the majority of Jaguars, this rise time is fast enough. Slight variations in the electrical conditions of your system can change this time, and in the extreme case, cause an ID reset.

You will not notice the delay on start-up, it is on the order of a hundred microseconds.

Last edited by dyanoshak : 19-02-2010 at 17:25.
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 13:33
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: New Jaguar Firmware: Version 89

Thanks David.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 00:20
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 87
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: New Jaguar Firmware: Version 89

Nice, loaded it on all of our jaguars. While updating them, 2 of them bricked. They were not even in bootloader because isolating them on the bus,and then pushing out firmware would not recover them. We did recover them through the JTAG port by placing the bootloader on them, and then pushing out firmware. We are using the 2CAN, not a black jaguar to connect the cRio to the CAN.

Next time one bricks I'm going to do an entire memory dump on the jaguar.
__________________
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2005 - 2008 Team 41 Programmer
2008 NYC Regional Winner
Reply With Quote
  #4   Spotlight this post!  
Unread 22-02-2010, 20:24
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: New Jaguar Firmware: Version 89

We successfully updated 1 black jag and 5 brown jags to 89. Robot was driven for about 1 hour. Power was cycled and then one brown would not run. No flashing light. Bad jag was isolated with one black jag. Only the black jag id shows in bdc. Using command line version update command does not work, boot command does not work. I do not have JTAG programmer.

Is there any other way to recover? We are planning on changing back to PWM cables. How can we be sure that they will not die when used in PWM mode?
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #5   Spotlight this post!  
Unread 22-02-2010, 20:51
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: New Jaguar Firmware: Version 89

When you update Jaguar Firmware, it is highly recommended to update them one at a time, alone on the bus (or the second in the chain if using a Black Jag as a bridge).

I did an experiment on my team's robot, and the last Jaguar on the bus errored out during a firmware update. It was recoverable when I removed the Jag from the robot and updated the firmware (using the recover feature in BDC-COMM) close to my computer.

-David
Reply With Quote
  #6   Spotlight this post!  
Unread 22-02-2010, 23:13
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: New Jaguar Firmware: Version 89

Can the firmware update process leave the jag in a "ready to die" state? After updating the firmware on each of the devices, I used bdc to confirm that the version and type of software was correct for each module. The robot then had new code loaded and was driven for 30 minutes to 45 minutes. After turning the robot off and then on again the Jaguar at the end of the chain (with terminating resistor installed) failed to start. Was it already gone, just waiting for a power cycle to reveal the problem, or does something get sent on the bus which causes a problem, or is it a power on glitch. If I use these same jaguars (ver 89) in PWM mode, could a power cycle cause them to go bad. Should we switch back to Victors? The robot goes in the crate tomorrow.

What is the difference between recover, update from the command line, and boot from the command line? Can I recover a brown jag connected to a black jag?
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #7   Spotlight this post!  
Unread 22-02-2010, 23:21
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: New Jaguar Firmware: Version 89

Quote:
Originally Posted by charrisTTI View Post
Can the firmware update process leave the jag in a "ready to die" state? After updating the firmware on each of the devices, I used bdc to confirm that the version and type of software was correct for each module. The robot then had new code loaded and was driven for 30 minutes to 45 minutes. After turning the robot off and then on again the Jaguar at the end of the chain (with terminating resistor installed) failed to start. Was it already gone, just waiting for a power cycle to reveal the problem, or does something get sent on the bus which causes a problem, or is it a power on glitch. If I use these same jaguars (ver 89) in PWM mode, could a power cycle cause them to go bad. Should we switch back to Victors? The robot goes in the crate tomorrow.

What is the difference between recover, update from the command line, and boot from the command line? Can I recover a brown jag connected to a black jag?
What do you mean by "failed to start." Does it blink at all or is the LED dark? Was this last Jaguar gray or black?

Recover pushes out firmware to any Jaguar on the bus that is stuck in the boot loader. That is why it is important to only use recover with one "bricked" jag at a time. Update sends out an update to a specific Jaguar based on its ID. It is not recommended to update firmware on a large CAN network on the robot. You should connect to each Black Jaguar individually, or a Gray Jag through one Black Jag.

You can recover a Gray Jag connected to a Black Jag.

-David

Last edited by dyanoshak : 22-02-2010 at 23:24.
Reply With Quote
  #8   Spotlight this post!  
Unread 23-02-2010, 06:46
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: New Jaguar Firmware: Version 89

Led was dark. Last jag is a gray jag.

Here is layout
Id 10 - black
Id 11 - 15 gray

They are connected physically in numerical order. So 15 is the one on which the led is now off.
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #9   Spotlight this post!  
Unread 23-02-2010, 10:39
charrisTTI charrisTTI is offline
Ramblin' Wreck
AKA: Charles Harris
FRC #0623
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Vienna, VA
Posts: 106
charrisTTI has a spectacular aura aboutcharrisTTI has a spectacular aura about
Send a message via AIM to charrisTTI
Re: New Jaguar Firmware: Version 89

Recovery efforts for today, using PC and BDC:
Powered black jag and confirmed id=10 and properly functioning
Connected bad gray jag - no light at all
attempted recovery twice - both attempts failed
removed power from gray jag
held down reset switch
applied power to gray jag
continued to hold switch for 5 secs and released
remove power from gray jag
applied power to gray jag
led now flashing
check Ids using bdc - now have id 10 & 15 (15 was the id device had before going south)

reupdated the firmware again

working again

any thoughts about what is going on?
__________________
FRC 623 2003,2004,2005,2006,2007,2008, 2009, 2010, 2011
FRC 1900 2007
FVC 60 and 193 2006
FVC 3271 2007
FTC 226 and 369 2008, 2009, 2010, 2011
FTC 3806 2010
Reply With Quote
  #10   Spotlight this post!  
Unread 23-02-2010, 13:18
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: New Jaguar Firmware: Version 89

Quote:
Originally Posted by charrisTTI View Post
...module. The robot then had new code loaded and was driven for 30 minutes to 45 minutes...
Wait...

You can drive your robot on a single battery for 45 minutes?! Do explain that one!

- Bryce
__________________
The opulence of the front office decor varies inversely with the fundamental solvency of the firm.
Reply With Quote
  #11   Spotlight this post!  
Unread 24-02-2010, 10:10
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 189
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: New Jaguar Firmware: Version 89

I don't have many ideas yet.

I recommend not trying to update or recover on the robot. Remove the Jaguars and update them as the only one in the chain or the second of two in the chain (the case where you use a working Black Jag as a bridge).

You said everything seems to be working now; you you have an issue with that specific Jaguar again, don't hesitate to go through the RMA process on www.luminarymicro.com/jaguar.

Some troubleshooting tips:

If many Jaguars are exhibiting the problem in many locations on the bus; double check that you're updating things correctly and your code written correctly. Check your cabling and check for metal shavings that may have worked their way into the modules (don't back out the screws on Gray Jags!).

If (many) Jaguars act weird only in a specific location on the bus; double check the cabling and make sure that that specific Jag is being coded correctly. Also check for metal shavings!

If only one Jaguar has acted weird; double check all of the above but if ALL else fails, consider filling out an RMA request. You'll answer questions, and work with our support team to determine if we can replace your unit.

I hope ship day went well, good luck at your regional!

-David
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
Bricked black Jaguar after bad firmware update FRC4ME CAN 13 19-02-2010 16:52
Black Jaguar Not Taking New Address duane CAN 1 06-02-2010 19:55
New version of FIRSTclipse: 0.0.3 Astronouth7303 Programming 8 18-02-2007 21:06
New version of WPILib BradAMiller Programming 26 27-01-2007 15:49
Does the new IFI Loader work with the old Firmware? gnormhurst Programming 2 17-01-2005 20:11


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

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