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.

MSP430FR57xx Reprogram FRAM by built in BSL UART interface.

Other Parts Discussed in Thread: MSP430FR5739

Hi,

 

In our embedded system an MSP430FR5739 is used to gather some data and send it to a host controller using UART0.

The MSP430 should be field upgradable so therefore the built-in BSL could be used to do the job.

I have tried to enter the BSL mode from the host controller by applying the correct pulses on the TEST/RST pins and start a communication. But when I send a packet to the BSL, it always answers with the error code 0x51, which means: bad packet header received.

The string I send is an example sequence which can be found in the slau319e user’s guide (p28), the Baud rate is set to 9600, s8s+p and since I receive a character back, I assume the BSL is running.

So far I am not able to (re)program the FRAM using the UART PI function of the controller.

Does anyone have any suggestion or a solution for my problem?

Thx, Guy

  • Guy,

    after applying the TEST & RST pin signalling to invoke the BSL, you should check whether the device really enters BSL mode. The easiest way to do this is by checking the BSL UART TX pin whether it is pulled high (UART idle line). On MSP430FR5739, the BSL UART TX line is assigned to P2.0. Could you confirm this?

    If you have a Launchpad (MSP-EXP430G2), you can also try to use it as hardware interface, as i did test it before:

    www.ti.com/lit/slaa535 - however please notice that it only works with 9600 baud.

  • Hi Leo,

    I can confirm that the TX pin is asserted high after applying the signal sequence on RST/TEST pins and of course the baud rate is set to 9600. Like I stated before, the BSL does reply with error code 0x51 although the header character is 0x80. Next week I will have a Launchpad to perform some more tests with.

    Greetings,

    Guy

  • Guy,

    i was just in contact with your TI distributor FAE, he should have a bench working with the Launchpad as the interface. He said that he will contact you directly to provide his bench to you.

  • Leo,

    Thank you for your help. I'll have the Launchpad here by the end of this week so I can analyze for myself what exactly is going on on the serial lines and I will post the results here.

    Greetings.

  • Hi Leo,

    Good news, we are able to communicate with the BSL from the Linux platform now! There were some timing issues and the parity bit was not correct. But now it is possible to (re)program the MSP430 FRAM over the UART, problem solved!

    Thanks again,

    Guy

**Attention** This is a public forum