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.

MSP430 is not programming using MSP-FET

Other Parts Discussed in Thread: MSP-FET, MSP430F5659

Hi,

One of our MSP430F5659 custom made board is not programming using MSP-FET what could be the issue. All the boards are working fine.

Is there any way i can erase the flash?

Could be BSL is corrupted? How to load the new BSL ? Please guide me .

Thanks in advance

Nitesh

  • Hello Nitesh,

    We need some more information here. How are you connecting to your device via the MSP-FET? 4-wire JTAG? SBW?

    If you are using the MSP-FET with MSP430F5659, BSL connection with MSP-FET is not available for it is an USB BSL and MSP-FET does not support USB BSL connection.
  • hi Jace,

    Thanks for the reply.

    I Want to use python application using USB to load the application firmware.

    How i can upload BSL if it is corrected ?

    My test board has JTAG and USB connection. For debug and testing i am using JTAG with MSP-FET.

    My final board has supports USB and we are not using JTAG in that. 

    So for firmware upgrade in factory, for the 1st time i am planning to use hardware mechanism to jump to BSL and trying upgrade using python application.

    For the run time i will make software handling to jump to BSL and using similar python application for the upgrade.

    Nitesh

  • Nitesh,

    If you haven't written over or customized your BSL, then it should not be corrupted for that area of memory is protected. (Unless you unprotected it in your code.) For this case, please see the following USB BSL documents for how to properly connect and invoke the USB BSL for programming.

    Starting a USB Design with MSP430 ()

    USB Field Firmware Updates on MSP430 ()

    If you have changed out the USB BSL and need to reload the default image via JTAG, please see the MSP Custom BSL applicaiton note and code base found on the following page:

    The Custom BSL code base also includes the current released images for the  BSLs. You can load these using MSP430Flasher or the Elprotronic Pro-430 Lite tools.

  • Hi JH,

    I am getting below error while loading the file to MSP430 board

    "MSP430: File Loader: Verification failed: Internal error while writing 0x08000

    MSP430: GEL: File: C:\DSA\VT_Example\VT_Project1\Debug\VT_Project1.out: Load failed."

    Please let me know what could be the issue here.

    Nitesh

  • Nitesh,

    Address point 0x08000 is the start of main code memory for this part. Are you trying to load the custom BSL in typical application space for debug? If so, then I would check your linker file to make sure there are no conflicts. Also, I would check your connection between the MSP-FET and the chip. Make sure you have the proper JTAG concoctions and passives on board as described in the MSP HW User Guide (http://www.ti.com/lit/slau278) . In addition make sure the cable from the MSP-FET to the board does not exceed the specified amount (included in HW User Guide). If the traces on your board are too long or overly capacitive, this can cause communication problems as well. The fix here would be to shorten the cable.
  • Hi JH,

    We did not updated the BSL, Only one of our board is not able to load the firmware through the JTAG.

    Our connection is proper with JTAG and Board.
    Linker files are also same it works for the other boards.

    How to load BSL if BSL is corrupted?

    Please help
    Nitesh
  • Nitesh,

    If you have not written over the BSL area then it will not be corrupted. Its in a different section of main flash and is usually protected from being over written. If you cannot connect to the device via JTAG, then BSL is your only option. Please see one of my above posts on how to connect to the BSL and what tools you need to use. Additional information can be found in the the device user guide and here ().  

    If you cannot connect tot he device via JTAG or BSL, then there is no other way to get into the device. Please remember the JTAG and BSL connections are different and require different entry sequences to initiate.

  • We are able to connect using JTAG but not able to program.
  • Hi,
    Just a point,
    It might be a hardware issue on the chip. what about replacing the MSP430F5659 chip by a new one ?
  • Yes, I agree........

    Will do that

    Thanks
    Nitesh

**Attention** This is a public forum