Go to Post Students and engineers should work side by side, actually inspiring each other. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2016, 11:11
Beaker's Avatar
Beaker Beaker is offline
624 Programming Alum
AKA: Justin K.
no team (No Team)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 61
Beaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to behold
Talon SRX Firmware 2.0 Problem Encountered

Yesterday when we were testing some motors on our offseason testbed, we decided that we wanted to update our Talon SRX motor controllers from v1.4 to v2.0. The update went fine, we connected to the roboRIO web interface and loaded the firmware located in C:\Users\Public\Public Documents\.

However, after we tried driving the bot, the drivetrain would either stay stationary, or only one side would move (it was not always the same side). At first we chalked this up to a programming error, but after disabling all the code that was not pertinent to the drivetrain, the behavior continued. I reverted to last night's code and even our Feed Forward Code that we developed in the offseason, both of which worked wonderfully the day prior, but to the same effect. Of course, we restarted all the things (LabVIEW, Computer, Robot), but that did not work either.

Only after reverting to v1.4, were we able to get the desired behavior from the testbed.

Is there something wrong with the way we updated the firmware, or is there a known issue with v2.0 that we missed?
__________________
Team 624 (Student) 2013-2016
BBQ FIRST Creator
  #2   Spotlight this post!  
Unread 24-01-2016, 11:37
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX Firmware 2.0 Problem Encountered

There are no known limitations upgrading from 1.4 to 2.0. You should probably send your code and explanation of your setup to support@crosstheroadelectronics.com
  #3   Spotlight this post!  
Unread 24-01-2016, 13:43
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 167
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Talon SRX Firmware 2.0 Problem Encountered

Are you using CAN or PWM to drive the Talons? If you use CAN you may need to re-address them. Check the GUI on the RoboRio for proper device IDs. We've not upgraded ours yet but I know sometimes a f/w upgrade can wipe out configuration data.
  #4   Spotlight this post!  
Unread 24-01-2016, 13:50
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX Firmware 2.0 Problem Encountered

A firmware update should not cause any settings to reset. See section 16.20 in the Talon SRX software reference manual.
  #5   Spotlight this post!  
Unread 24-01-2016, 16:04
Beaker's Avatar
Beaker Beaker is offline
624 Programming Alum
AKA: Justin K.
no team (No Team)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 61
Beaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to behold
Re: Talon SRX Firmware 2.0 Problem Encountered

Quote:
Originally Posted by pribusin View Post
Are you using CAN or PWM to drive the Talons? If you use CAN you may need to re-address them. Check the GUI on the RoboRio for proper device IDs. We've not upgraded ours yet but I know sometimes a f/w upgrade can wipe out configuration data.
We are using CAN, but the Device IDs stayed the same. It was interesting, because there were no CAN errors when diagnosing the issue.

Quote:
Originally Posted by ozrien View Post
A firmware update should not cause any settings to reset. See section 16.20 in the Talon SRX software reference manual.
It didn't seem like the settings reset, everything stayed the same except for the firmware version.
__________________
Team 624 (Student) 2013-2016
BBQ FIRST Creator
  #6   Spotlight this post!  
Unread 24-01-2016, 16:26
system201 system201 is offline
Registered User
AKA: Andy Fondaw
FRC #0201 (FEDS)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Rochester
Posts: 6
system201 can only hope to improve
Re: Talon SRX Firmware 2.0 Problem Encountered

Our Team Updated And Everything Went Nicely...

We Found Our Image Here

http://www.ctr-electronics.com/talon...ical_resources
  #7   Spotlight this post!  
Unread 24-01-2016, 17:01
sraque's Avatar
sraque sraque is offline
Registered User
AKA: Steve Raque
FRC #2614 (MARS)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2009
Location: Morgantown, WV
Posts: 79
sraque is on a distinguished road
Re: Talon SRX Firmware 2.0 Problem Encountered

Are you using the standard Talon VI's or your custom ones? I know you had a folder of your own custom VI's in the code release.
  #8   Spotlight this post!  
Unread 24-01-2016, 23:01
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Talon SRX Firmware 2.0 Problem Encountered

Hey All,
Bringing this thread to a close: root-cause is the LabVIEW team project had forked implementations of some Talon-centric VIs, but not all. The VIs were forked for performance reasons. So updating to 2016 meant the application used some old (forked) VIs and some new VIs, effectively breaking Talon-use.

I generally recommend to teams to always use the stock Talon VIs - BUT, if you REALLY need to make changes to be successful, you should kit all related VIs so future RIO updates don't lead to a mixed bag of things.
  #9   Spotlight this post!  
Unread 25-01-2016, 07:54
pribusin's Avatar
pribusin pribusin is offline
Uber Alien
AKA: Mike 1
FRC #4004 (M.A.R.S. Rovers)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 167
pribusin has a spectacular aura aboutpribusin has a spectacular aura aboutpribusin has a spectacular aura about
Re: Talon SRX Firmware 2.0 Problem Encountered

Quote:
Originally Posted by ozrien View Post
Hey All,
Bringing this thread to a close: root-cause is the LabVIEW team project had forked implementations of some Talon-centric VIs, but not all. The VIs were forked for performance reasons. So updating to 2016 meant the application used some old (forked) VIs and some new VIs, effectively breaking Talon-use.
What do you mean by 'forked VIs'? I'm not familiar with that term.
  #10   Spotlight this post!  
Unread 25-01-2016, 08:12
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Talon SRX Firmware 2.0 Problem Encountered

Quote:
Originally Posted by pribusin View Post
What do you mean by 'forked VIs'? I'm not familiar with that term.

It meant that OP copied over the source code of the can talon.vi and edited It.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)

Last edited by Arhowk : 25-01-2016 at 08:19.
Closed Thread


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:15.

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