Go to Post [Programming a swerve drive] It's really really simple, unless you actually do it. - Ether [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 01-23-2015, 12:38 AM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: TI Launchpad "Bricked"?

Energia and the Gamepad Tool use the same backend, so if it works in Energia, it should work in the Gamepad Tool as well. I am surprised that it did not take right away. I will see if I can replicate this and follow up, but I am glad you were able to get it working!

Were you using a VM in Linux to run the Gamepad Tool? We have seen an issue if the VM doesn't know to assign the LaunchPad to the guest OS the update can fail. When you update the debugger chip, the USB drops and reconnects, so if the VM doesn't grab it, the device doesn't finish updating.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #17   Spotlight this post!  
Unread 01-26-2015, 08:28 PM
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: TI Launchpad "Bricked"?

Quote:
Originally Posted by wt200999 View Post
Energia and the Gamepad Tool use the same backend, so if it works in Energia, it should work in the Gamepad Tool as well. I am surprised that it did not take right away. I will see if I can replicate this and follow up, but I am glad you were able to get it working!

Were you using a VM in Linux to run the Gamepad Tool? We have seen an issue if the VM doesn't know to assign the LaunchPad to the guest OS the update can fail. When you update the debugger chip, the USB drops and reconnects, so if the VM doesn't grab it, the device doesn't finish updating.
When the gamepad tool failed, it was running in native WinDoze 7 (64-bit). The launchpad was totally hosed with no USB serial interface available. I ran Energia in Linux to recover. Then verified that both my WinDoze VM (VmWare 11) and my native WinDoze machine could reprogram. For the VM, as long as you have the VM focused when you plug the device in, it defaults to capturing any new devices.

So, it was a bit convoluted, but everything is good again. :-)

Thanks,

Mike
Reply With Quote
  #18   Spotlight this post!  
Unread 01-28-2015, 12:11 PM
feverittm's Avatar
feverittm feverittm is offline
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 120
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: TI Launchpad "Bricked"?

Just to add another data point to this thread...

Our launchpad had similar issues to those mentioned here. The Gamepad tool did not work at all (always gave the 500 series error without any logfile in the the logs directory). I used the more brute force mspdebug method described in this thread and after doing it twice it worked. I now have the luanchpad responding as a game controller (mode 1).

I now need to have the stidents check the data being sent from it to the driver station and make sure we can see the bi-directional response that we need.

Thanks
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
Reply With Quote
  #19   Spotlight this post!  
Unread 01-30-2015, 04:24 PM
mgurgol mgurgol is offline
Registered User
FRC #1094
 
Join Date: Jan 2006
Location: St Louis MO
Posts: 76
mgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nicemgurgol is just really nice
Re: TI Launchpad "Bricked"?

Quote:
Originally Posted by mgurgol View Post
I tried the FRC GamePad Tool again and received the same error.

After this, the Driver Station did not recognize the device. I redid the command line previously given and the device is not recognized by the Driver Station as a Gamepad.

Thanks for your help.
Note: The last line should read:

I redid the command line previously given and the device is recognized by the Driver Station as a Gamepad.

The command line procedure worked every time.
Reply With Quote
  #20   Spotlight this post!  
Unread 01-30-2015, 04:31 PM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: TI Launchpad "Bricked"?

That makes a lot more sense, thanks for the update!
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #21   Spotlight this post!  
Unread 01-31-2015, 07:07 PM
AlexanderTheOK AlexanderTheOK is offline
Guy
no team
 
Join Date: Jan 2014
Rookie Year: 2012
Location: Los Angeles
Posts: 146
AlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really niceAlexanderTheOK is just really nice
Re: TI Launchpad "Bricked"?

Both our windows 8.1 and windows 7 machine have this issue too. We have tried updating the firmware through the command prompt and have gotten this error, no percentages of completedness, just the error.

Code:
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: COM4
MSP430_Initialize: COM4
Firmware version is 30301004
MSP430_VCC: 3000 mV
MSP430_OpenDevice
tilib: MSP430_OpenDevice: Unknown device (error = 5)
tilib: device initialization failed
Running the gamepad tool again gives an "Error 5000" and the logfile gives the same as above. Running the commandline several times just gives the error every time. Thus, none of the above solutions have worked for either of our machines. It would be nice to see a consistent fix for this.
Reply With Quote
  #22   Spotlight this post!  
Unread 07-25-2016, 03:22 PM
andres18m andres18m is offline
Registered User
no team
 
Join Date: Jul 2016
Location: Mexico
Posts: 1
andres18m is an unknown quantity at this point
Re: TI Launchpad "Bricked"?

Hi I have the same issue, plus everytime I connect my launchpad it get a shortcircuit, I have nothing connected to pins only jumpers, and they are on the default positions, if I take off the 3.3V and 5V jumpers the chip does not heat up. I'm so frustated, help !!!
Reply With Quote
  #23   Spotlight this post!  
Unread 07-27-2016, 09:57 AM
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: TI Launchpad "Bricked"?

Quote:
Originally Posted by andres18m View Post
Hi I have the same issue, plus everytime I connect my launchpad it get a shortcircuit, I have nothing connected to pins only jumpers, and they are on the default positions, if I take off the 3.3V and 5V jumpers the chip does not heat up. I'm so frustated, help !!!
Under the normal configuration the MSP430 device should not be getting hot, this leads me to believe the main device is damaged. This is also why you cannot flash it with the tool. Do you have any idea what could have caused this damage? Did any pins get shorted together that should not have or one of the pins on the MSP430 connected to 5V?

Due to the damage, the only way to fix this would be to replace the board entirely.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #24   Spotlight this post!  
Unread 10-20-2016, 11:10 PM
BenBernard BenBernard is offline
Registered User
FRC #5687 (The Outliers)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Portland, ME
Posts: 39
BenBernard is an unknown quantity at this point
Re: TI Launchpad "Bricked"?

Thanks @wt200999 for all the information in this thread. We encountered most of the problems described by others while flashing our launchpad tonight...and thanks to this thread we got it working.

What worked for us was running mspdebug as described multiple times--I think 5 was our magic number. Each time it got a little further along until the last time it completed successfully.
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:47 AM.

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