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.

MSP430F5510: MSP430 USB BSL device was unplugged

Part Number: MSP430F5510

Hi,

We have problem with programming an unprogrammed MSP430F5510 through
"Firmware Upgrade Example" GUI tool + customer Board.
Every time when we press the "Upgrade Firmware" button it tries to
program the MSP but always gets unplugged as shown below.
The program used is GUI's Blink sample code.

Starting
Password Sent Successfully
Sending RAM BSL v00.07.08.38
Done RAM BSL v00.07.08.38
USB device was unplugged!
Unsuccessful in starting the BSL. Restarting.
Password Sent Successfully
Sending RAM BSL v00.07.08.38
Done RAM BSL v00.07.08.38
USB device was unplugged!

What could be the possible reason for "USB device was unplugged!" message?
We have tried with different PCs, it works fine with some PC with "Windows 7"
but not with "Windows Vista".
Please let me know if there are any troubleshooting tips on this.

Best Regards
Kummi

  • When the device has changed its firmware and needs to reset, it pretends to unplug so that the OS enumerates it again. This is normal.

    The "Unsuccessful in starting the BSL" is not normal.

    F55XX connection problem says that changing the COM port works.

    MSP430F5529 REV I USB BSL not work says that for chips with BSL6 erratum (rev. D/E of the F5510), using a different BSL works.

  • Thank you, Clemens,

    I didn't understand how does changing the COM port works as per that E2E.
    Because the USB BSL works as a HID device.

    I will try to upgrade the BSL software as per BSL6 erratum and check if it works.
  • Hi,

    Our device(F5510) verions was "D".
    We tried to upgrade the BSL firmware to the latest(BSL_00.08.88.39)
    but still not working.Same error saying Unsuccessful in starting the BSL.
  • Hey Kummi,

    I have a few things you could try:

    1.)The error messaging saying "USB device was unplugged!" after writing in the RAM BSL may be due to the utility tool not giving the chip a long enough delay for the device to start from RAM BSL and then Windows attempting to reunumerate the device. If you have access to the source code and are compiling from the source, you can increase the sleep values in DownloadView.cpp to see if that helps.

    2.) I have an older RAM BSL (v 00.06.05.34) if none of the newer ones seem to be working for you. Let me know if you would like that one to try it out. A word of caution though, newer Flash BSL's may not interact well with this older RAM BSL from experience (hangs up the USB, you'll need to power cycle the chip if issues occur).

    3.) You might be having a similar problem I'm having... do you keep the PUR pin held high for the duration of the RAM BSL write? This causes issues for me with specific revisions of the MSP430 chip I'm using with certain RAM BSL s.

  • Hi Andrew

    Thank you very much for the information.
    I shall try these.

    Best Regards

**Attention** This is a public forum