This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi all,
For a long time ago, every attempt to upgrade MSP-FET firmware under Linux bricks it.
I got the following error message:
"MSP430: Error initializing emulator: One of the connected MSP-FETs / eZ-FETs debuggers needs recovery. Select 'Recover' to start the recovery process. Note: Only one MSP-FET / eZ-FET debugger can be connected to your system during recovery.
MSP430: Error: MSP-FET / eZ-FET recovery failed"
The only workaround is to find a Windows machine, and use if to recover the MSP-FET.
Could TI people fix this issue in a near future?
Hi Britta,
Sorry for my late answer. I didn't check this topic recently.
Please find here ly answers:
- Every MSP FET I have are subject to this problem. I tried with MSP430FR5994 Launchpad
the initial error is:
...
* Evaluating triggers...done
* Checking for available FET debuggers:
* Found USB FET @ ttyACM0 <- Selected
* Initializing interface @ ttyACM0...done
* Checking firmware compatibility:
* The firmware of your FET is outdated.
- Would you like to update it? (Y/N): Y
*********************************************************
*
* Initializing Update Bootloader.
* Programming new firmware:
* |||||||||||||||||||||||||||||||||||||||||||||||||| 100%* Update failed. (R)etry/(C)ancel?
- When retrying, after the initial error, I see always this:
* Evaluating triggers...done
* Checking for available FET debuggers:
* Corrupted USB FET firmware detected. Starting recovery.
# Exit: 49
# ERROR: MSP-FET / eZ-FET recovery failed
and the MSP-FET is bricked. The only workaround I know is to perform the recovery and the upgrade on a windows computer.
- Current version of MSP-FET is 31100001 before upgrade and should be 31200000 if the upgrade is successful.
- udev rules are properly installed, and MSP-FET works flawlessly for programming and debugging tasks. The issue only affects MSP-FET firmware upgrading.
Thank you for your help.
Hi Britta,
My distro is Gentoo, updated on a regular basis.
I tried the recovery with CCS and MSPFlasher. Both are functionnal for programming operations (and debugging in case of CCS), but both are unable under Linux to recover or upgrade MSP-FET firmware.
Best regards,
Christian
Hi Britta,
I installed Ubuntu 18.04 LTS to verify if the issue is Gentoo specific.
And it is not, the behaviour is exactly the same on both distros. Upgrading MSP-FET firmware under the officialy supported Ubuntu 18.04 LTS bricks it the same way as Gentoo.
So, I think the issue exists on all Linux distros.
Fortunately, I'm still able to recover the MSP-FET with a Windows computer.
Best regards,
Christian
Hi Christian,
thanks for your feedback.
I've taken this back to our experts to fix the reported problem. Unfortunately it might take a while to be debugged and implemented.
I noticed that you'll be able to move on as you were able to recover the MSP-FET with a Windows PC.
I'd suggest for me to close this thread and re-open it whenever there is an update from our side. Would that be finde for you?
Thanks and best regards,
Britta
Hi Britta,
I found another computer, install Ubuntu and CCS on it, and on this particular PC, I am able to upgrade the MSP-FET firmware.
So it seems that the problem appears only on some hardware.
Sorry to have bothered you with this, I'll try to investigate to found the differences between the two computers, but we can consider the problem as solved, or at least non reproductible on some Ubuntu boxes.
Thank you for your help.
Best regards,
Christian
**Attention** This is a public forum