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: UART BSL MSP430f5510

Part Number: MSP430F5510
Other Parts Discussed in Thread: MSP430F5310, , MSP-FET, UNIFLASH, MSP430F2132

Hi, 

I try used a BSL UART for 550x familly on MSP430F5510. Upload BSL.00.07.05.04.txt (UART BSL).

I have been running BSL script, but I don't have ack. I used a pc with 64 bits.

The BSL available on MSP Tools on TI work with TA UART, right?

I also tried using the source files for TA UART.

  • This a good alternative MSP430F5310?
  • Hello,

    I notice that you've mentioned BSL v00.07.05.04.txt, but this version doesn't seem compatible with the MSP430F5510 according to the MSP430™ Flash Device Bootloader (BSL) User's Guide.

    Also, please keep in mind that there are BSL differences between the non-USB and USB version of the MSP430F5xxx devices.

    Is the MSP430F5510 on a custom board or is it an EVM? Are you using the correct pins to interface with the BSL? Are you using the MSP-FET, MSP-BSL, or another tool between the PC and the MSP430F5510? The section below can be found in the MSP430F5510 User's Guide.

    Can you share a screenshot of your command line window and your script? I'm assuming you're using the BSL-SCRIPTER software.

    Regards,

    James

    MSP Customer Applications

  • Hi,

    I was used MSP-FET for reprogramming BSL sector (2-wires). I using this 5xx_6xx_Released_BSL_Images -> MSP430F552x_550x_Family -> UART BSL -> BSL.00.07.05.04.txt. Because I used only MSP430f5510 chip.

    I tried using sources files "5xx_6xx_Example_BSL_Source". That this work on main program. I think this a not good solution.

    Yes, I was used BSL script.

    Command:
    (1) BSL-Scripter.exe -i [COM35,UART,9600] -n 5xx -b
    (2) BSL-Scripter.exe -i [COM35,UART,9600] -n 5xx -b -w Led5510_BSL.txt -g
  • Hello,

    Looking at Table 1 - BSL Overview in my previous post, the default BSL interface for the MSP430F5510 is USB, not UART. This is the reason why you're having an issue using the UART BSL. However, you can change the BSL interface from USB to UART by replacing the pre-programmed factory-supplied USB BSL in the BSL memory. In my previous post, I included a screenshot of the UART BSL section from the datasheet instead of the USB BSL section. 

    Hopefully this helps.

    Regards,

    James

    MSP Customer Applications

  • Hi,

    Before, this post I see all documents about BSL. Datasheet, BSL Docs, BSL script, BSL create...

    But as I have not had success after several attempts.

    One conclusion, it do not possible upload BSL UART BSL.00.07.05.04.txt for MSP430F5510.

    I try used source files from package MSP430BSL_1_00_12_00.

    I have this problems:

    • Write in system memory map  in MSP430F5510 (ZAREA,  BSL430_VERSION_VENDOR, BSL430_VERSION_CI, BSL430_VERSION_API, BSL430_VERSION_PI, ZAREA_CODE, BSLSIG, JTAGLOCK_KEY, FLASH2) -- "BSL430_Low_Level_Init.asm"
    • It used main memory (Flash)

  • Hello,

    OK, I think I understand what you're trying to do. You don't want to use the default USB BSL interface on the MSP430F5510 but want to use the UART BSL interface. Is this correct? I'm sorry if I've misunderstood your question.

    This would make sense, since it sounds like you have to use the BSL.00.07.05.04.txt version. You can't update the BSL version over the BSL interface. Use a program such as UniFlash or the Lite FET-Pro430 Elprotronic software to program the device with this .txt file over JTAG or SBW. Then, you will be able to use the UART BSL interface to program the main memory.

    Does this make sense?

    Regards,

    James

    MSP Customer Applications

  • In the following thread, Mike Pridgen has some excellent advice for using the BSL interface. You may find this helpful.

    Regards,

    James

    MSP Customer Applications

  • If you've already programmed BSL.00.07.05.04.txt onto the MSP430F5510 over JTAG or SBW and now want to use the UART BSL interface, can you make sure that you're using the correct COM port with the MSP-FET? With the UART interface, you'll need to use the COM port associated with the "MSP Application UART1 (COMxx)" port and NOT the COM port associated with the "MSP Debug Interface (COMxx)" in Device Manager on your PC.

    Please let me know if using the correct COM port solves your ACK issue.

    Regards,

    James

    MSP Customer Applications

  • Yes, I want using UART BSL.

    I used the Lite FET-Pro430 Elprotronic software for loading new BSL.txt file. (MSP-FETU430IF)

     

  • No, I used FDTI cable 3v3.
  • user4780320 said:
    I used the Lite FET-Pro430 Elprotronic software for loading new BSL.txt file. (MSP-FETU430IF)

    Are you using the MSP-FET430UIF? This tool is fine for loading the .txt via JTAG like you did, but according to Table 1 in the MSP Debuggers User's Guide, the MSP-FET430UIF does NOT support BSL, but the newer (recommended) MSP-FET does. 

    user4780320 said:
    No, I used FDTI cable 3v3.

    It seems like you're not using the correct tools here, which is causing the issue. Although I'm not sure about which FTDI 3v3 cable you're referring to, it may be possible to use this, but as you can see, it's more difficult than using our MSP-FET. Assuming this FTDI cable is purely a RS232-to-USB adapter, you'll need to figure out how to create the proper UART BSL entry sequence and which pins need connected.

    According to Table 1 BSL Overview in my earlier post, the MSP430F5510 requires an entry sequence applied to the TEST/RST pins (for the UART BSL interface, not the USB BSL interface), which are shared with the JTAG pins. Next, please refer to Section 1.3.1 in the MSP430™ Flash Device Bootloader (BSL) User's Guide for the details about the entry sequence on these pins. Basically, you have two pins for the entry sequence and two pins (TX/RX) to communicate with the UART BSL.

    For your design, I would strongly recommend that you read through Section 4 in the MSP430™ Flash Device Bootloader (BSL) User's Guide for details on the proper hardware circuitry for using RS232 for the BSL. This section contains a recommended schematic, pin assignments, and components for implementing this. If you don't need to add this to your design, I'd recommend buying either a MSP-FET or BSL-ROCKET.

    Regards,

    James

    MSP Customer Applications

  • This cable is a TTL to USB 3v3.

    I used this cable for BSL on MSP430F2132.

    I tried this entry sequence on MSP430F5510, but didn't sussessful. 

  • I would recommend using a MSP-FET connected to the appropriate pins to verify that you can use the UART BSL. After confirming this, then you can try switching to other types of tools. Using your FTDI cable, are you applying the proper entry sequence to the TEST/RST pins? I'd suggest using a scope or logic analyzer to confirm.

    EDIT: BSL Scripter v3.1.0.x does not support communication with MSP430 BSL devices without an MSP-BSL (Rocket) or MSP-FET.

    Regards,

    James

  • Also, Section 4.2 in the Bootloader (BSL) Scripter User's Guide includes examples for connecting either the MSP-FET or the MSP-BSL to the proper pins on a LaunchPad.

    • TEST
    • RESET
    • BSL-RX (communication direction: data from PC to the target device)
    • BSL-TX (communication direction: data from target device to the PC)
    • VCC
    • Ground

     Regards,

    James

    MSP Customer Applications

  • user4780320 said:
    I used this cable for BSL on MSP430F2132.

    The BSL Scripter does not support the BSL of the MSP430 1xx, 2xx, and 4xx device families. To communicate with these devices, use the BSLDEMO2.exe command line tool found in the Deprecated folder.

    Regards,

    James

    MSP Customer Applications

  • Yes, I didn't use the BSL Scripter on MSP430 2xx family. This test used the BSLDemo.exe according documention. 

    Now, I am used the press button for entry sequence. The entry sequence aren't automatic.

**Attention** This is a public forum