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.

MSP430F5239: MSP430F5239 BSL-Scripter doesn't work with MSP-FET + MSP-TS430RGC64C Board

Part Number: MSP430F5239
Other Parts Discussed in Thread: MSP-TS430RGC64C, MSP-FET,

Hi,

I am using MSP-TS430RGC64C+ MSP430F5239 + MSP-FET + BSL scripter to verify the BSL function but I am facing some issues.

There are a lot of [ACK_ERROR_MESSAGE]Unknown ACK value! 

---------------------------------------------------------
BSL Scripter 3.4.0.1

PC software for BSL programming
2019-Mar-25 12:56:49
---------------------------------------------------------
Input file script is : C:/TI/430bslscripter/script.txt
MODE 5xx UART 9600 COM13
//DELAY 2000
//mass erase the memory
MASS_ERASE
[ACK_ERROR_MESSAGE]Unknown ACK value!
RX_PASSWORD .\pass32_default.txt
Read Txt File : C:\TI\430bslscripter\pass32_default.txt
[ACK_ERROR_MESSAGE]Unknown ACK value!
RX_DATA_BLOCK .\msp430f5239_ta0_02.c.txt
Read Txt File : C:\TI\430bslscripter\msp430f5239_ta0_02.c.txt
[ACK_ERROR_MESSAGE]Unknown ACK value!
[ACK_ERROR_MESSAGE]Unknown ACK value!
[ACK_ERROR_MESSAGE]Unknown ACK value!
[ACK_ERROR_MESSAGE]Unknown ACK value!
Time elapsed of writing 126 bytes : 4.001 seconds
Speed of writing data :0.03075(kB/s)
CRC_CHECK 0x4400 0x0018 0x684F
[ACK_ERROR_MESSAGE]Unknown ACK value!
CRC_CHECK 0xFFD2 0x0014 0xEF27
[ACK_ERROR_MESSAGE]Unknown ACK value!
CRC_CHECK 0xFFE8 0x0004 0xDA1E
[ACK_ERROR_MESSAGE]Unknown ACK value!
CRC_CHECK 0xFFEE 0x0044 0xE707
[ACK_ERROR_MESSAGE]Unknown ACK value!


It looks like chip did not enter BSL mode.

I check the BSL entry sequence. I found the there is  10uS during 2 pulses of TEST pin, I'm suspect this is not enough to enter BSL mode. As the result, BSL doesn't response the following commands from BSL scripter.  I use  FR6989 to double verify this. However, the same BSL entry sequence works fine.

So I do more test with F5310 F5529. None of F5xxx works.   Can you please check what happens with F5xxx devices? Thanks.

  

  • I made a stupid mistake. now it works.
  • Glad to hear that.
  • Hi,

    I tried to use BSL-SCRIPTER to open the locked JTAG of MSP430F6723 ,[I can use MSP-FET to do the erase with the BSL function],but I have faced same issue as Unknown ACK value.

     


    How to resolve the ACK issue.

    Connection is like this,

    DVCC  ------------->>   MSP-FET VCC Target(pin no 4)

    DVSS   ------------->>  MSP_FET GND (pin no 9)

    RST/NMI/SBWTDIO  ------------->> MSP-FET RST (pin no 1)

    TEST/SBWTCK  ------------->>  MSP-FET TEST (pin no 7)

    BSL_TxD (P3.1)  ------------->> MSP-FET UART_TxD (pin no 12)

    BSL_RxD (P3.0)   ------------->> MSP-FET UART_RxD (pin no 14)

    Can we need any other device?

  • MSP-FET RST is pin 11, TEST is pin 8
    Please check the power is coming from target so you use pin4. In my case I use VCC_TOOL (pin2)

    Once you chnage your connection. double check your mass erase is success? If it is success, you should get "Mass Erase is successful!" this message. If mass erase is not success, the default password will not work. Here is my log and good luck.


    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2019-Mar-25 17:03:14
    ---------------------------------------------------------
    Input file script is : C:/TI/430bslscripter/script.txt
    MODE 5xx UART 9600 COM13
    //TX_BSL_VERSION
    //DELAY 1000
    //
    //mass erase the memory
    MASS_ERASE
    Mass Erase is successful!

    DELAY 2000
    Delay 2000 ms
    RX_PASSWORD .\pass32_default.txt
    Read Txt File : C:\TI\430bslscripter\pass32_default.txt
    BSL Password is correct!
    RX_DATA_BLOCK .\msp430f5239_ta0_02.c.txt
    Read Txt File : C:\TI\430bslscripter\msp430f5239_ta0_02.c.txt
    Time elapsed of writing 126 bytes : 0.2812 seconds
    Speed of writing data :0.4376(kB/s)
    CRC_CHECK 0x4400 0x0022 0x1734
    CRC check match!
    CRC_CHECK 0xFFD2 0x0014 0x2523
    CRC check match!
    CRC_CHECK 0xFFE8 0x0004 0xDAA5
    CRC check match!
    CRC_CHECK 0xFFEE 0x0044 0x6F3F
    CRC check match!
  • Hi,

    I will change the pins & check but the result is same. Here is log file,

    ---------------------------------------------------------
    BSL Scripter 3.4.0.1

    PC software for BSL programming
    2019-Mar-28 16:46:21
    ---------------------------------------------------------
    Input file script is : C:/ti/BSl_scripter_3.4/ScriptExampleWindows/6xx_uart/script_6xx_uart.txt
    MODE 6xx UART 9600 COM60
    MASS_ERASE
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    DELAY 2000
    Delay 2000 ms
    //gives the wrong password to
    //mass erase the memory
    //RX_PASSWORD .\pass32_wrong.txt
    RX_PASSWORD .\pass32_default.txt
    Read Txt File : C:\ti\BSl_scripter_3.4\ScriptExampleWindows\6xx_uart\pass32_default.txt
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    RX_DATA_BLOCK .\blinkLED_f6459.txt
    Read Txt File : C:\ti\BSl_scripter_3.4\ScriptExampleWindows\6xx_uart\blinkLED_f6459.txt

    [ACK_ERROR_MESSAGE]Unknown ACK value!
    Time elapsed of writing 242 bytes : 0.03125 seconds
    Speed of writing data :7.563(kB/s)
    CRC_CHECK 0x8000 0x0020 0x4872
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    CRC_CHECK 0xffc6 0x00D0 0xacf7
    [ACK_ERROR_MESSAGE]Unknown ACK value!
    SET_PC 0x8000
  • One more question, any changes done in firmware related to BSL
  • You made mistake about BSL TX/RX

    BSL TX is P3.0

    BSLRX is P3.1

  • Yes BSL_TX --> P3.0 & BSL_RX --> P3.1, we connect same, but no change in result.

**Attention** This is a public forum