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.

MSP430F5659: MSP430F5659

Part Number: MSP430F5659

Hi- I am using the MSP430F5659 in an embedded application that requires software updating via USB. My question is related to the required software on the host side. I've read the example manual that explains all about the device types etc. I would like to use either HID or MSD type so customers don't have to install the device(CID) any get involved with com ports etc.

Is there a simple way on the host side to download the target file using  a program that either exists in Windows OS or some example source code that I can modify and  give to customers to download an MSP430 update file?

The HID example uses a demo program written in JAVA, which I'm not that familiar with that looks like a hyper-terminal type program. I was hoping to get a demo source code in C or VB that I can modify and develop or customize for customers to easily update firmware files that we would email them or they can take off our web site. Any help is appreciated.

  • Hi Jerry,

    Refer to section 3.6 in the document "Starting a USB design using MSP430 MCUs" and the diagram that follows it.

    This discusses how to place the device into a BSL mode.

    You or your customers can use the Python Firmware Upgrade utility to update the firmware over USB.

    This utility comes with the MSP430WARE and is located in the usblib430>HostUSBSoftware directory.

    If you have further questions, let me know.

  • Dennis- Thank You.  That looks good, but would customers have to download the Python interpreter to run the program? What would the end user experience be in order to download and install new MSP430 firmware?

    Thanks Again

  • Yes, if you read the release notes that comes along with the utility it shows the Python installation requirements for Linux, Win and IOS.

    Here is what the user would see when the script is run:

    A blank MSP430F5xx USB device will have a default VID:PID = 2047:2000. The script  automatically scans for a device with this VID:PID.  If your MSP430 is not blank, this is where the customer would need to put it into BSL mode as described earlier.  They would select File>rescan when they are ready.

    Next the customer will need to point the utility to the location of the new firmware image (*.txt)

    It will then automatically start the down load and notify the user when complete.

    So as I mentioned before, this is probably the simplest method for your customer.  The downside is they will need to install Python.

    Now if you still want to create your own GUI in C, C++, Java, etc., I would recommend you first take a look at the MSP430 Flash Device Booltloader document.

    This document includes how to implement a USB BSL .

**Attention** This is a public forum