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.

MSP430F5418A: BSL command response

Part Number: MSP430F5418A

We are developing the BSL host for MSP430F5418A firmware upgrade from BSL UART. I tested the BSL command but got the response which is different with SLAU319AD:

IC: MSP430F5418A REV F,        BSL invocation method: applying BSL Entry Sequence at RST and TEST pins.

1, RX PASSWORD:

In the document example, it said:

Host: 80 11 00 11 FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 5C 38 4F
BSL: 00 80 02 00 3B 00 60 C4

But after my host issued the host command, there is no any response from MSP430 BSL. How can I know whether my command is correct or not?

2, BSL Version:

The example in the document is:

Get BSL version
Host: 80 01 00 19 E8 62
BSL: 00 80 05 00 3A 00 01 01 01 6C 4F

But my test result is :

Host: 80 01 00 19 E8 62
BSL: 00 80 02 00 3B 04 E4 84 

How to parse the BSL version from that response?

  • Hi Siyou,

    Section 3.7 of the document has the values for the BSL core responses.  

    BSL: 00 80 02 00 3B 04 E4 84

    02 00: indicates 2 bytes of response

    3B: is the response command: Message (from section 3.7, Table 3-6 BSL Core Responses)

    04: From Section 3.7.2 BSL Core Messages Table 3-7: "BSL Locked. The correct password has not yet been supplied to unlock the BSL"

    Srinivas

  • Hi,

    I read out the content of memory 0x0000ffe0-0x0000ffff as below:

    @FFE0
    58 5E 06 5E 84 5E FF FF FF FF 84 5E EA 5D 84 5E
    84 5E 00 5C 80 5D 84 5E 6A 5E 84 5E 84 5E 22 5E
    q
    

    Does it mean the password is "58 5E 06 5E 84 5E FF FF FF FF 84 5E EA 5D 84 5E 84 5E 00 5C 80 5D 84 5E 6A 5E 84 5E 84 5E 22 5E" ?

    I tried command "80 21 00 11 58 5E 06 5E 84 5E FF FF FF FF 84 5E EA 5D 84 5E 84 5E 00 5C 80 5D 84 5E 6A 5E 84 5E 84 5E 22 5E D4 78" but still not work.

    Besides, we also need to fix the BSL password for every firmware upgrade, is this thread aslo suitable for MSP430F5418A?

  • Hi Siyou,

    The memory organization section of the MSP430F5418A datasheet says the interrupt vector is between 00FFFFh to 00FF80h. You might have to read the 32 bytes starting from FF80h and not FFE0h.

    Srinivas

  • Hi Srinivas,

    The password from FFE0h seems correct, the failure reason may be the BSL need some delay between the BSL entry sequence and the first RX PASSWORD command. With 100ms delay, it works now.

**Attention** This is a public forum