Closed cjdg closed 9 years ago
It can take up to 3 tries to update the firmware. This has to do with the way to firmware is updated in steps. After each step the LaunchPad need to be enumerated and that can take time. The current timeout in the tilib is such that it can timeout before the enumeration happens resulting in a failure. When this happens just do it again (up to 3 times) to complete each step separately.
There is an issue upgrading F5529 launchpad from ide, when you do it could shows one of the following: 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 No unused FET found.
Or
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: HID_FET MSP430_Initialize: HID_FET FET firmware update is required. Starting firmware update (this may take some time)... Initializing bootloader... Programming new firmware... 0 percent done 34 percent done 67 percent done 100 percent done Update complete Done, finishing... MSP430_VCC: 3000 mV tilib: MSP430_VCC: Internal error (error = 68) tilib: device initialization failed
So can be sometimes disgusting so what to do? sudo LD_LIBRARY_PATH=/opt/energia-0101E0013/hardware/tools/msp430/bin ./mspdebug 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: HID_FET MSP430_Initialize: HID_FET FET firmware update is required. Starting firmware update (this may take some time)... Initializing bootloader... Programming new firmware... 0 percent done 34 percent done 67 percent done 100 percent done Update complete Done, finishing... MSP430_VCC: 3000 mV tilib: MSP430_VCC: Internal error (error = 68) tilib: device initialization failed
then run again:
LD_LIBRARY_PATH=/opt/energia-0101E0013/hardware/tools/msp430/bin ./mspdebug tilib --allow-fw-update
And it works.