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.

MSP430FR50431: BSL/CCS

Part Number: MSP430FR50431
Other Parts Discussed in Thread: MSP-FET, MSP430FR6047, EVM430-FR6047

Tool/software:

Hi,

i want to jump to BSL mode with CCS, how do i do this?

thanks,

  • hi Gary,

    I understand, i will obtain the MSP-FET and Rocket, and will update

    thank you so much for your effort.

    Br.

    Ephraim 

  • hi Gary, 

    i received the Rocket, however i am still have difficulty communicating to the BSL

    PS C:\ti\BSL-Scripter> .\bsl-scripter --initComm [COM10,UART,9600] --device FRxx --erase ERASE_ALL --debug
    ---------------------------------------------------------
    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2024-Jul-21 14:38:37
    ---------------------------------------------------------

    Log mode is turned on!
    C:\ti\BSL-Scripter\BSL-Scripter.exe --initComm [COM10,UART,9600] --device FRxx --erase ERASE_ALL --debug
    Verbose is turned on!
    Device : FRxx
    Init communication parameters : [COM10,UART,9600]
    MASS_ERASE
    [80] [01] [00] [15] [64] [a3]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    PS C:\ti\BSL-Scripter>

    here is the pin i am using between the Rocket and the

    1. here is the EVM-FR6047

    this is the Rocket pin connector followed by the hookup guide

    note that i also tried to swap the TX/RX pins.

    waiting your input.

    have a great week.

    Br.

    Ephraim

  • The log information of the command window has some thing wrong. You can capture the wave form directly. Here is what I do from myside

    1. Use the command below

    2. Connect BSL rocket with FR6047 EVM board 

    3. execute the command and get the capture by Saleae, you can see the capture by software Download Logic 2 Software (saleae.com)

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/166/success_5F00_uart.sal

  • Hi Gary,

    kindly elaborate, do i need the Saleae hardware? since there is software installed in the MSP i want to begin with a mass erase, this is what i get when doing a mass erase:


    C:\TI\BSL-Scripter>BSL-Scripter.exe --initComm [COM10,UART,9600] --device FRxx --erase ERASE_ALL --debug
    ---------------------------------------------------------
    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2024-Jul-22 12:52:36
    ---------------------------------------------------------

    Log mode is turned on!
    BSL-Scripter.exe --initComm [COM10,UART,9600] --device FRxx --erase ERASE_ALL --debug
    Verbose is turned on!
    Device : FRxx
    Init communication parameters : [COM10,UART,9600]
    MASS_ERASE
    [80] [01] [00] [15] [64] [a3]
    [ACK_ERROR_MESSAGE]Unknown ACK value!

    thanks,

  • Hi Gary,

    i tried putting the commands into a script with the following results, note i am working with TI EVM430-FR6047

    C:\TI\BSL-Scripter>BSL-Scripter.exe C:\Users\ephra\Dropbox\Desktop\MSP430-BSL\erase_flash.txt
    ---------------------------------------------------------
    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2024-Jul-22 16:45:21
    ---------------------------------------------------------
    Input file script is : C:/Users/ephra/Dropbox/Desktop/MSP430-BSL/erase_flash.txt

    LOG
    MODE FRxx UART 9600 COM11
    VERBOSE
    Verbose mode is now on!
    MASS_ERASE
    [80] [01] [00] [15] [64] [a3]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    RX_PASSWORD
    [80] [21] [00] [11] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff]
    [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff]
    [ff] [ff] [ff] [ff] [9e] [e6]
    [ACK_ERROR_MESSAGE]Unknown ACK value!

    i don't have a Saleae analyser, only a scope with i2c protocol analyser. however, note i am working with the UART on the EVM430-FR6047.

    thanks,

    Br. 

    Ephraim

  • Hi Gary,

    one more clarification should the Tx go with Tx and Rx with Rx?

    thanks,

    Br.

  • i don't have a Saleae analyser, only a scope with i2c protocol analyser. however, note i am working with the UART on the EVM430-FR6047.

    Not must to be Saleae, you can use other logic analyzer to monitor the wave form directly. The log information is wrong, you can just ignore it.

  • Tx go with Tx and Rx with Rx

    Rocket pin1 to FR6047 P2.0 and Rocket pin 3 to FR6047 P2.1

  • Hi Gary,

    Kindly clarify P2.0 and P2.1 on the EVM430-FR6047.

    Br.

    Ephraim

  • The yellow wire connect Rocket pin 1 and the orange wire connect Rocket pin 3

  • hi Gary,

    It is confusing tome that all the hardware and software i am using is TI's

    kindly tell me in the given source code for the Scripter, where are the routines for:

    1. mass erase

    2. give the default password

    3. read the ti-text file and flash it.

    thanks,

  • hi Gary,

    from the script i am running shown here:

    Microsoft Windows [Version 10.0.22631.3880]
    (c) Microsoft Corporation. All rights reserved.

    C:\TI\BSL-Scripter>C:\Users\ephra\Dropbox\Desktop\MSP430-BSL\erase_flash.txt

    C:\TI\BSL-Scripter>BSL-Scripter.exe C:\Users\ephra\Dropbox\Desktop\MSP430-BSL\erase_flash.txt
    ---------------------------------------------------------
    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2024-Jul-23 19:21:59
    ---------------------------------------------------------
    Input file script is : C:/Users/ephra/Dropbox/Desktop/MSP430-BSL/erase_flash.txt

    LOG
    MODE FRxx UART 9600 COM11
    DELAY 3000
    Delay 3000 ms
    VERBOSE
    Verbose mode is now on!
    MASS_ERASE
    [80] [01] [00] [15] [64] [a3]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    DELAY 3000
    Delay 3000 ms
    RX_PASSWORD
    [80] [21] [00] [11] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff]
    [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff]
    [ff] [ff] [ff] [ff] [9e] [e6]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    DELAY 3000
    Delay 3000 ms
    RX_DATA_BLOCK MSP430_FR6047-UART_BSL.txt
    Read Txt File : C:\Users\ephra\Dropbox\Desktop\MSP430-BSL\MSP430_FR6047-UART_BSL.txt
    [80] [20] [00] [10] [00] [40] [00] [81] [00] [00] [2c] [b1] [13] [6e] [00] [0c]
    [43] [b1] [13] [00] [00] [1c] [43] [b1] [13] [68] [00] [32] [d0] [10] [00] [fd]
    [3f] [03] [43] [75] [6b]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    [80] [14] [00] [10] [80] [ff] [00] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff] [ff]
    [ff] [ff] [ff] [ff] [ff] [ff] [ff] [79] [15]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    [80] [ca] [00] [10] [ac] [ff] [00] [14] [40] [14] [40] [14] [40] [14] [40] [14]
    [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14]
    [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14]
    [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14]
    [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14] [40] [14]
    [40] [14] [40] [14] [40] [14] [40] [14] [40] [00] [40] [b2] [40] [80] [5a] [5c]
    [01] [d2] [d3] [04] [02] [d2] [c3] [02] [02] [92] [d3] [e0] [05] [b2] [d0] [80]
    [00] [e0] [05] [b2] [42] [e6] [05] [b2] [40] [00] [d6] [e8] [05] [f2] [d0] [0c]
    [00] [0a] [02] [f2] [f0] [f3] [00] [0c] [02] [92] [c3] [30] [01] [92] [c3] [e0]
    [05] [06] [3c] [a2] [b3] [fc] [05] [fd] [27] [4f] [4f] [82] [4f] [ee] [05] [92]
    [b3] [fc] [05] [fd] [27] [1f] [42] [ec] [05] [4f] [4f] [7f] [90] [1b] [00] [f1]
    [23] [d2] [e3] [02] [02] [32] [c2] [03] [43] [3f] [40] [00] [10] [4f] [13] [ef]
    [3f] [03] [43] [03] [43] [ff] [3f] [03] [43] [1c] [43] [10] [01] [87] [4c]
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    Time elapsed of writing 242 bytes : 3.312 seconds
    Speed of writing data :0.07137(kB/s)
    SET_PC 0x6000
    [80] [04] [00] [17] [00] [60] [00] [60] [c5]

    C:\TI\BSL-Scripter>

    it would appear that the scripter is doing its job writing to the BSL however, the BSL is not responding.

    your thoughts.

    Br.

    Ephraim

  • Hi Ephraim,

    As I have mentioned the log information from the BSL scripter is not correct so please ignore it, please see the actual signal on UART or I2C.

  • hi Gary,

    i will try using signal capture for UART or I2C, if i use the I2C where should i connect the SCL and SDA wires on the Rocket connector?

    thanks,

    Br.

    Ephraim

  • This is what do is soldering a header pins as below 

  • hi Gary,

    in the picture i can see 4 connected wires are you holding the black/red (gnd/pwer) are the two wires on the bottom brown/blue (sda/scl or scl/sda). where is the reset/test pins: 

    kindly elaborate.

    Br.

    Ephraim

  • I have disconnect the rocket to the MSP430, and for some jumper wires have been removed, just to show you a way how get the signal easily from rocket.

  • hi Gary,

    1. using the msp-fet:

    attached #1 is UART mass erase command.

    #2 scripter BSL entry sequence, we note only one pulse on the TEST (yellow) pin.

    however as shown in the datasheet it should be two pulses

    2. Rocket

    we swapped the RST/TEST pins and get the following 

    it appears we get two pulses on the TEST. however the logs still show ACK error, same as before.

    Br. 

    Ephraim

  • Hi Gary,

    we do not know how to move forward, all tools being used are TI's i.e. EVM430-FR6047, BSL ROCKET, BSL-SCRIPTER.

    this is my hookup:

    and here is the EVM

    i am using the JTAG connector to scope the TX, RX,RST, and TEST signals.

    kindly confirm setup. and give more elaborations on TI tools not working.

    thanks,

    Br.

    Ephraim

  • hi Gary,

    have not heard back from you.

    Here is a capture of the RESET (orange) and TEST (yellow)

    kindly elaborate why TI tools and software with issues.

    thanks,

    Br. 

    Ephraim

  • Hi Ephraim,

    Sorry for the later response. I saw that you got a logic analyzer now, could you help to capture all the signal of Reset pin, test pin, UART pins here? Could you show me where to install the software to see the wave form.

**Attention** This is a public forum