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.

Testing the BSL in MSP430FR6989

Other Parts Discussed in Thread: MSP430FR6989, MSP-FET

Hello, i am using MSP430FR6989 and i want to use the default BSL. I read and understand the BSL protocol, but i need to test it. Which PC software can i use to download and upload applications to the controller? I intend to use a USB to serial cable for the connection between the PC and the controller UART. Is there any additional hardware needed ?

Thank you 

  • MAP430FR6989 on-chip support for BSL is implemented in ROM and is "UART-based". You cannot change that. Is that what you mean by default BSL?

    Please note that:

    (1) The contents of the FRAM just below the Interrupt Vectors may disable JTAG and BSL. Do not change them (using BSL, JTAG or CPU) without a good reason.

    (2) The USB to serial cable must not use RS233 signals to connect to the MSP430. It must use 0V and 3V logic levels with the correct "polarity".

    (3) TI documents about BSL covers BSL support for all different kinds of MSP430 chips. Be careful what applies to MSP430FR6989.

    When in doubt, you can always count on .
  • Yes, i don't need to change the BSL, but i am asking for the software tool in the personal computer that enable me to download, upload and erase using the boot loader. Is the code composer able to do these? Can i use (RS232 to TTL ) level converter with the (USB to serial) cable in order to connect the MSP with the computer?

  • Hi Ahmed,

    I think the software that you are looking for is the BSL Scripter - it is included as a zip file download from this document on how to communicate from a host to the BSL: www.ti.com/.../slau319 
     
     http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBSL/latest/index_FDS.html  
     
    The only thing I'm not sure about in your case, is if your USB to serial converter will also let you do the RST/TEST pin signal sequence that you need to first enter BSL. You would need to maybe do a software entry to the BSL (you can find information about this on the forum and some other places), or have another device that can provide the correct signal sequence on RST & TEST pins for you.

    As a note, if you have the new (black) MSP-FET tool, you can use that for BSL communication with the BSL Scripter from SLAU319 instead, and this will do the BSL entry sequence on RST and TEST in addition to the UART BSL communication.

    Regards,
    Katie

  • Sorry, this is the first time using the boot loader, i am using the launchpad MSP430FR6989. I am in Egypt and don't have the ability to order the BSL scripter tool. I want to use a simple tool (just a cable) to connect the personal computer with the MSP430.
  • Ahmed,

    The BSL Scripter is just a software tool that you can simply download free from http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPBSL/latest/index_FDS.html - it is not any hardware that you need to buy or anything.
    You should be able to run BSL_Scripter.exe from the command line on your PC to do the UART communication to the BSL on your device - see the document www.ti.com/.../slau319 for more information about the BSL commands etc. If you download the BSL zip file I linked above, in the directory BSL_Files/BSL Scripter/ you'll find a Usage guide for the BSL Scripter software, as well as some Demo Scripts that show usage of the scripter. There are also a number of other forum threads discussing usage of the BSL Scripter software.

    You already have hardware for doing USB to UART which is good - you can use this as your hardware from the PC to the device, and use BSL Scripter as the software. The only thing that you may need to do additionally is to perform the BSL entry sequence on the TEST and RST pins of the device somehow to get it into BSL mode - I don't know if the BSL Scripter will be able to do that automatically with just a USB to serial converter. If it cannot, you will either need to do a software BSL entry from your main application code, or use something like a Launchpad or other tool to toggle the TEST RST lines to enter BSL (this entry sequence is described in the www.ti.com/.../slau319 document).

    I hope that this helps.

    -Katie

  • Sorry I realized that they changed the software download link - BSL Scripter can be downloaded here: software-dl.ti.com/.../index_FDS.html

    I'll update my earlier posts.

**Attention** This is a public forum