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.

MSP430FR5967: JTAG fuse error during loading

Part Number: MSP430FR5967
Other Parts Discussed in Thread: UNIFLASH

Hello everyone.

While programming my MSP430FR5967 I got a JTAG fuse error.

Before this error I had already programmed the MSP several times.

Reading another forum I realized that in my case the JTAG fuse is software and not hardware. I have not found a way to reset it.

How can I reset the JTAG fuse, considering that the only way I have to communicate with the MSP is JTAG?

  • Hi Federico,

    There is another way to communicate with MCU, BSL. Here is the resources and method about BSL. You can follow it and program via BSL step by step. Then you can reset MCU and modify your configuration again.

    Best Regards

    Sal

  • Hi Sal,

    Despite the documentation, I cannot find clear information. My MSP is mounted on a custom board and the only ports I have access to are the 4 signals for JTAG communication.

    I have tried to install software to reset the MCU but this is not present on my PC.

  • Hi Federico,

    This link maybe more clear about BSL. But if the MCU is soldering onboard and not available for BSL (Not via JTAG pin), it may not help except you make it detach.

    Can you describe your software problem that causes JTAG fuse error? Is that you configure the JTAG-used PIN into other functions? It may help me to give you more specific comments.

    Best Regards

    Sal

  • Hi Sal,

    The pins I use to program in JTAG are: TEST/SBWTCK, RESET/SBWTDIO, 3V3, GND.

    Within the program I have not done any configuration regarding JTAG. I had loaded the same program before on the same MSP. But during one loading it gave me the error "Error connecting to the target: The Debug Interface to the device has been secured."
    I think the cause may have been an error sending a data packet that modified a register, although not configured by me.

    If more programming pins were needed to solve the problem I can proceed with implementing them.

    Thank you

    Federico Guerra

  • Hi Federico,

    In the situation, you should use BSL to unlock device.

    You can find BSL invocation in the BSL user's guide. You should give the specific signal on the RST/NMI and TEST pins. 

    Then you can find the description in MSP430FR5967 that:

    so you can write 0AAAAh to both BSL Signature 1 and BSL Signature 2 to unlock it. (UniFlash is available)

    Moreover, TI supply a command line tool to communicate with the bootloader (BSL) on an MSP430 - BSL scripter, and you can refer to it via MSPFET writing.

**Attention** This is a public forum