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.

MSP430FR6043: UART BSL Programming Issue

Part Number: MSP430FR6043
Other Parts Discussed in Thread: MSP-FET

Hello,

I am attempting to program the MSP430FR6043 microcontroller using the UART BSL method. I am invoking the BSL through software by executing the following code:

__disable_interrupt(); // disable interrupts
((void (*)())0x1000)(); // jump to BSL

I use the BSL scripter tool to establish communication with the MSP430FR6043 and transfer the image file (.txt) containing the firmware update.

During the programming process, I get an [ACK_ERROR_MESSAGE]Unknown ACK value error for some of the communication packets (with passwords and loading the software image). This error does not occur for every packet during the image transfer process but only for some packets.
After completing the programming, if I reset the MSP430FR6043, I can confirm that the previous S/W is still operating the chip. I am assuming the chip has not been mass erased, nor has it been written with the new program.

  • Also, when I enable Verbose mode and try the communication, I am getting <00> <00> <00> and [ACK_ERROR_MESSAGE]Header incorrect! error for passwords and RX_DATA_BLOCK and TX_DATA_BLOCK

    Thanks,

  • Hi Min,

    Meanwhile, can you use bsl hardware invoke for another attempt trying? If it works, I suppose there is some configuration that need clear.

    Below is the note in bsl user guide.

    B.R.

    Sal

  • Hello Sal,

    From what I know, MSP430FR6043 utilizes only UART3 for BSL and since I do not use that during the main routine, it is not configured. Port P2.0 and P2.1 are configured as GPIO output and set low upon the device startup by default. 

    I am trying hardware invoke also to see if I could enter BSL properly but some hardware configuration complications are causing errors so I am trying the software invoke right now.

    Thanks,

    Min

  • I just tried the BSL entry via hardware.

    I can see the Rx signal into MSP430FR6043 but nothing is coming out from the Tx. I don't think it's the problem with the hardware configuration as I can see both Rx and Tx signal when I try the UART comm in the main routine without entering BSL mode.

    Thanks,

    Min

  • Hi Min,

    Sure, wait your feedback on hardware invoke.

    If using software invoke, can you share what the packet always returned with ERROR?  And then you can separately send this packet and check whether it has the same ERROR and obeserve the data in logic analyzer.

    B.R.

    Sal

  • I connected my chip to MSP-FET and tried hardware invoke and communicate with BSL. I will be examining using a logic analyzer later but for now, the following image is what I've got from MSP_FET.

    Thanks,

    Min

  • I also tried Tx BSL Version CMD

**Attention** This is a public forum