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.

MSP430FR2433: Downloading firmware in BSL mode

Part Number: MSP430FR2433

Hi All,

I have problem with downloading firmware into flash. From what I understand have to send BSL sequence to RST and TEST pins to enter BSL mode. After that if send wrong password the device will be erased. Then new firmware can be downloaded into MCU. My question after entering BSL mode do RST and TEST pins have to be pulled high in order to maintain BSL mode? If so what if RST or TEST pins voltage level drop below threshold for small amount of time (Ex: few milliseconds), will it cause system to abort BSL mode and thus firmware cannot be downloaded? Thank you

Regards,

Yifan

  • Hi Yifan,

    please check also with our User's Guide for FRAM BSL

    So what you can see there in Figure 2. TEST and Rst are low at the beginning of the invoke sequence, and TEST remains low after the BSL invoke. It is drawn in dashed but I'd recommend keeping it as drawn. RST of course goes high at the displayed point, as the device needs to be released from reset. Of curse Rst state during entire operation of BSL like with other code execution is critical, as any low pulse of sufficient duration would create a device reset and cause code execution break no matter if BSL or normal code execution.

    Best regards

    Peter

  • Hi Peter,

    Thanks for the reply. Now my problem is I can enter BSL mode and erase the memory in MCU but somtime the firmware cannot be downloaded into flash memory. There can be two possible causes one is UART connection between MCU and burner has been cut off. I feel that this is unlikely because if this is software issue the sequence of magic number has already been written into MCU through UART so software execution should not be problem. More likely problem is the RST and TEST pin is not pulled so the UART connection has been lost. Now if that is the case will that fit the symptom of not able to transfer data through UART and so will there be any error message. Thank you.

    Regards

    Yifan

  • Hello Yifan,

    as stated in my previous post, you need to take care of the signals applied to RST and Test. Especially RST needs to be pulled up. Any low pulse here will reset the device and thus terminate the BSL communication and activities.

    Best regards

    Peter

**Attention** This is a public forum