Go to Post I like this thread because it means I don't have to leave my house to find something to complain about! - PayneTrain [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: 7 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 25-01-2010, 20:55
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Position Control using potentiometer?

Quote:
Originally Posted by dyanoshak View Post
With regards to you position control problem, first try and download the latest version of BDC-COMM and the Jaguar firmware from http://www.luminarymicro.com/jaguar. The most recent version is 87.
It seems that the V87 update has bricked one of our jaguars, is there any info on how to upload a previous firmware, or a reset to factory software?

The jaguar does not blink any lights, and does not respond to either PWM, or CAN enumerate.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2010, 21:42
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: Position Control using potentiometer?

Quote:
Originally Posted by biojae View Post
It seems that the V87 update has bricked one of our jaguars, is there any info on how to upload a previous firmware, or a reset to factory software?

The jaguar does not blink any lights, and does not respond to either PWM, or CAN enumerate.
This can happen if you loaded (Gray) Jaguar code on a Black Jaguar and vice versa.

Firmware for Black Jaguar is "BlackJaguar-87.bin" and the firmware for (Gray) Jaguar is "Jaguar-87.bin".

There is a way to recover by using BDC-COMM in the command line.

Open up a command line terminal and navigate to the folder where you have bdc-comm.exe. To make it easy you can put it in your 'c' drive. I also recommend putting the firmware files in the same folder as bdc-comm.exe so that you do not have to type in a file path.

In the command line run the following:

1)
C:>bdc-comm.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 BlackJaguar-87.bin

- if the firmware is in the same folder as bdc-comm.exe, this will work. Be sure to change the file name for Gray Jaguar firmware.

The update should happen, showing progress as a percentage. Hopefully if everything went OK your Jaguar should be blinking again.


-David
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2010, 22:12
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Position Control using potentiometer?

Quote:
Originally Posted by dyanoshak View Post
This can happen if you loaded (Gray) Jaguar code on a Black Jaguar and vice versa.

Firmware for Black Jaguar is "BlackJaguar-87.bin" and the firmware for (Gray) Jaguar is "Jaguar-87.bin".

There is a way to recover by using BDC-COMM in the command line.

Open up a command line terminal and navigate to the folder where you have bdc-comm.exe. To make it easy you can put it in your 'c' drive. I also recommend putting the firmware files in the same folder as bdc-comm.exe so that you do not have to type in a file path.

In the command line run the following:

1)
C:>bdc-comm.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 BlackJaguar-87.bin

- if the firmware is in the same folder as bdc-comm.exe, this will work. Be sure to change the file name for Gray Jaguar firmware.

The update should happen, showing progress as a percentage. Hopefully if everything went OK your Jaguar should be blinking again.


-David
The files seem to be miss named, the BlackJaguar-87.bin file worked on a grey Jaguar, but the Jaguar-87.bin file caused it to crash.
Thank you for the help, I will try the position control again tomorrow.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2010, 22:54
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: Position Control using potentiometer?

Quote:
Originally Posted by biojae View Post
The files seem to be miss named, the BlackJaguar-87.bin file worked on a grey Jaguar, but the Jaguar-87.bin file caused it to crash.
Thank you for the help, I will try the position control again tomorrow.
Doh! I'll let you know when this is fixed!
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2010, 10:53
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: Position Control using potentiometer?

The files are correct now:

BlackJaguar-87.bin -> Black Jaguar MDL-BDC24 firmware
Jaguar-87.bin -> (Gray) Jaguar MDL_BDC firmware
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
Using the cRIO to control custom lights hal_2498 FRC Control System 14 10-04-2009 07:55
Using a pot to control speed SL8 NI LabVIEW 13 18-02-2009 17:02
Potentiometer arm control Hazmatt Programming 15 01-04-2008 21:27
Using a computer to control the pic mikesown Programming 6 13-09-2005 19:13
Using a switch to control a PWM Max Lobovsky Programming 11 25-02-2004 17:20


All times are GMT -5. The time now is 23:53.

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