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.

MSP430F5529: The Debug Interface to the device has been secured

Part Number: MSP430F5529
Other Parts Discussed in Thread: BQ76942EVM, EV2400

Hi,

            Just did a mass erase, then keep reporting "The Debug Interface to the device has been secured",  please suggest how to unlock this device. please provide a detailed steps. thanks. 

  • Hi Yue,

    This error could be caused by a few things most common is either attempts to write to JTAG protected memory or a set JTAG protection fuse. A quick check for the first is to see if they can program one of our example projects using their current setup.

    For the second, they will need to unlock the JTAG fuse by erasing the JTAG/SBW signature values as described in the MSP Code Protection Features document (SLAA685)

    Best Regards,
    Brandon Fisher

  • Fisher,

                      Thanks for the reply. 

    1. I can't program example projects into MSP430F5529

    2.  Which tool should I use to do the register write as above described?

    "the BSL must first clear the SYSBSLPE bit in the SYSBSLC register (write 0003h to the address 0182h), before writing 00000000h to the JTAG signatures."

      

  • Hi Yue,

    Are you working from a launchpad?

    So by default the MSP430F5529 comes loaded with USB BSL. The simplest way to do this in my opinion would be to download the python firmware upgrader (part of our USB Developers Pack), and you can just add:

    @0182
    03 00
    @17FC
    00 00 00 00
    q

    To the end of your ti-txt file. I have done this for the 5529_LED_Blink example included in the python firmware upgrader tool. 

    You can put your MSP430F5529 in BSL mode (if you are using the launchpad), by pressing the BSL and reset switches at the same time, and then releasing reset first. The Python_Firmware_UpgraderGUI should be able to find and program the device over USB once it is in BSL mode. 

    Best Regards,
    Brandon Fisher

    @8000
    31 40 00 34 B0 13 0C 80 B0 13 32 80 21 83 D2 43
    04 02 D2 43 02 02 B2 40 80 5A 5C 01 07 3C 91 53
    00 00 B1 93 00 00 FB 23 D2 E3 02 02 81 43 00 00
    F8 3F 80 00 36 80 80 00 3A 80 FF 3F 
    @FFE0
    12 34 56 78 99 10 11 12 13 14 15 16 17 18 19 20
    12 34 56 78 99 10 11 12 13 14 15 16 17 18 00 80
    @0182
    03 00
    @17FC
    00 00 00 00
    q

  • Really thanks for your detail reply. 

    I'm not using a LP, but a BQ76942EVM which has MSP430F5529 on board as a EV2400. 

     I had one more question:

    if it is possible that I erased BSL, then nothing can make it recover.

    because I tried to put PUR with 3.3V and REST to ground, before power on, but can't make it get into BSL mode.

    I plan to change another MSP430F5529, May I know if a new chip of MSP430F5529 will include BSL? 

     

  • MSP430F5529 is with factory preloaded HID BSL that is working with 4, 8, 12 or 24 MHz XT2

**Attention** This is a public forum