View Single Post
  #1   Spotlight this post!  
Unread 29-01-2016, 23:19
Jdkmotorhead's Avatar
Jdkmotorhead Jdkmotorhead is offline
Registered User
FRC #5102 (The Underbots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Santa Maria CA
Posts: 14
Jdkmotorhead is an unknown quantity at this point
MSP430 LaunchPad can't flash firmware

Our LaunchPad was working fine for a while, but it just stopped connecting to the driver station laptop, so I tried reflashing it. Whenever I try to flash the FRC firmware onto the LaunchPad, it gives me the error:

Code:
The program encountered an error: Error: 5000
Gamepad Tool.vi<ERR>
Programmer did not succeed. Check log for details
And in the log:
Code:
tilib: MSP430_OpenDevice: Unknown device (error = 5)
tilib: device initialization failed
MSPDebug version 0.20 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

MSP430_Initialize: COM8
Firmware version is 30301004
MSP430_VCC: 3000 mV
MSP430_OpenDevice
Every few times I try to flash it, it does work, but it still isn't recognized by the driver station; and if I try to immediately reflash it, it gives me the error again.

Also, does anyone know what the four buttons on the LaunchPad do? Is there a chance that I accidentally pushed one of them and disabled it somehow? (the green power led is on, and when I am attempting to flash it, the red led starts blinking) I also tried it on another laptop, and it does the same thing. I also attempted to flash Energia on it, but that gave me the same error.

I also tried flashing it from the command line, but the outcome was no different:

Code:
C:\WINDOWS\system32>"C:\Program Files (x86)\FRC Gamepad Tool\Tools\mspdebug\mspdebug.exe" tilib --allow-fw-update
MSPDebug version 0.20 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: COM8
MSP430_Initialize: COM8
Firmware version is 30301004
MSP430_VCC: 3000 mV
MSP430_OpenDevice
tilib: MSP430_OpenDevice: Unknown device (error = 5)
tilib: device initialization failed