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/MSP430F149: MSP430: Error connecting to the target: The Debug Interface to the device has been secured

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

Tool/software: Code Composer Studio

Hi folks,

I am trying to get a rather old project (that used to be on Quadravox) running using CCS7 on Linux with an MSP-FETU430IF debug interface v1.4a.

Finally managed to get the command line flasher utility to have the computer update the software which eventually made CCS recognise it and also it wanted to update the firmware.

Now I just get the error:

"MSP430: Error connecting to the target: The Debug Interface to the device has been secured"

Does anyone know what this means please?

Many thanks!

Rob

  • Hi Rob,

    This error is meant to indicate that the JTAG fuse has been blown, in which case the JTAG block is switched to bypass mode and no further access to the MSP430 JTAG/Test and emulation features is possible. The only option would therefore be to program the flash memory via the BSL.

    Has this MSP430F149 device ever been programmed before? Are you able to test your setup with any other devices, a TI EVM, or MSP-FET? There's a possibility that this issue is related to the hardware connections between the FET and target.

    Regards,
    Ryan

  • Hi Ryan,

    Many thanks for the reply. The device has been programmed lots, but not for some time. It's the development board for a project not touched since around 2007 or so. It is possible, but unlikely that the JTAG fuse has been blown.

    What is "the BSL" please?

    Cheers,

    Rob
  • Hi Rob,

    "Bootstrap loader", but let's not worry about that if you think that the JTAG fuse is not blown. You need to confirm your JTAG connections and MSP-FET430UIF drivers.

    Regards,
    Ryan
  • Hi again,

    I do now have a situation where a JTAG fuse in a production version of the unit has been programmed to deny me access with the FET. Is there anything I can do to erase the flash and start again? I do have a connection to UART0, however it looks to me like you need something to control the TEST/RST pin as well as just passing data over the UART. Is that right?

    It seems bizarre to me that you can't erase the flash with the JTAG interface. I can understand not giving access to it, to prevent people reading code out, but can't see the reason for not being able to just erase and start from scratch with a FET.

    Thanks,

    Rob

     

  • Hi Rob,

    If the JTAG fuse has truly been blown then this is irreversible and the only way to flash the device now is through the BSL. This can be accessed through P1.1 (data transmit) and P2.2 (data receive) along with the proper reset sequence on the RST and TEST lines. You can find more information in the MSP430 BSL User's Guide (SLAU319): www.ti.com/.../slau319l.pdf

    Regards,
    Ryan
  • Many thanks for the clarification, Ryan.

**Attention** This is a public forum