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.

CCS/MSP430FR5994: Launchpad: CCS error on debug- The Debug Interface to the device has been secured, unable to connect to the target

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

Tool/software: Code Composer Studio

Hi

Im using the launchpad of MSP430FR5994 and after using it to write and debug code for several days, an erroroccured during debugging saying "The Debug Interface to the device has been secured" and I am no longer able to able debug any code.

I tried mass erase through BSL Scripter but I keep getting [ACK_ERROR_MESSAGE]. Ive attached a screnshot of the same.

Are there any other ways of getting rid of this debug interface error?

  • Shaaina,

    The debug error you receive means you have locked the JTAG on the device. A mass erase of the device via BSL, should unlock the JTAG, and you are correct in thinking that a wrong password should erase the device. The Unknown ACK Value error messages typically indicate that you are not getting good/correct communication with the BSL. Please check your COM Port to make sure you are talking to the correct one for the MSP430. I would also check that the jumpers at the top-center of the Launchpad are populated.

    You can also modify the BSL script for this device to do a MASS ERASE command explicitly.
  • JH,

    Thanks for your reply.

    I rechecked my COMports and tried the MASS_ERASE command, but still no avail. It shows the same unknown ACK value error. I even tried the script on both the MSP Debug Interface COM port and the Application UART COM port, just to be sure. Also, 19200 was the baud rate i was using to do serial communication with the board before the JATG stopped responding. The  jumpers at the top-center of the Launchpad are populated. I've attached a screenshot of the COM ports and the BSL Script. Am I doing something wrong in this process? Is there any other way to unlock the JTAG?

  • Hi Shaaina,

    the Mass erase and wrong password in FR5994 shall return the [ACK_ERROR_MESSAGE]Unknown ACK value, as on the device, the execution does not reply anything. that's why we need to add delay. But I wonder why it still gives you the same result for the next RX_PASSWORD with correct one. assume that your device is empty, can you try these steps:

    MODE FRxx UART COM<number> 9600

    RX_PASSWORD

    DELAY 2000

    RX_PASSWORD

    Let me know the result. we just try to use the default password.

  • Hi Fatmawati,

    Thankyou for your reply.

    I entered delay for the MASS_ERASE command and also tried the steps you suggested. The JTAG on my launchpad still appears to be secured. I am attaching the results.

  • Hi Shaaina,

    thank you for testing it so quickly. I read that you are using the Launchpad FR5994. Could you please make sure that the connection with the BSL pins are correct? Which tool you are using between your PC and Launchpad? Is it MSP-FET or BSL-Rocket?
  • Hi Fatmawati,

    Thankyou for your reply.

    As I understand, the BSL pins are accessible through the miniUSB (J102) on the launchpad.  I hope I am correct.  I am using the eZ-FET board which is attached to the launchpad through jumper pins. Hence I have a USB connection between the launchpad and my PC.

    Am I supposed to use a different type of connection between my launchpad and PC?

  • AFAIK, eZ-FET Lite present on LP board can't be used like MSP-FET for BSL master.
  • Hi Shaaina,

    Unfortunately we can not use the Application UART on Launchpad debugger to communicate with the BSL. It is correct what zrno soli mentioned. The reason is that:

    1. to enter the BSL, we need BSL entry sequence on TEST and RST pins. The pins are available, but the EZ-FET debugger could not emulate this.by using BSL-Scripter and BSL-Rocket or MSP-FET:
      1. BSL Scripter with invoke the BSL Rocket or MSP FET with special baud: 9601 for MSP430
      2. receiving this special baud 9601, the BSL Rocket and the MSP FET will generate the BSL entry sequence on TEST and RST pin
    2. other than that, BSL communication uses the parity mode in UART communication, and Application UART in EZ-FET debugger could not emulate this also

    is it by any chance you have MSP-FET or BSL-Rocket?

**Attention** This is a public forum