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/MSP430FR2355: Unlocking JTAG

Part Number: MSP430FR2355
Other Parts Discussed in Thread: TIDA-010056, , MSP-FET, UNIFLASH

Tool/software: Code Composer Studio

Can you direct us to the info how to reverse the JTAG or BSL locks?

http://www.ti.com/lit/an/slaa685/slaa685.pdf app note doesn't give instructions. 

Customer is using MSP430 Launchpad to program FR2355 on his board: 

I used 3.3V from the launchpad , I clicked on a spider, it went to debug, I stepped through the code and exit. Then, I connected power, motor, POT, power enable signal, and Hall sensor. Now I can’t go in debug. I get this "Error connecting to the target: the Debug Interface to the device has been secured" message. 

Any guidance would be appreciated. 

Thanks

Viktorija

  • I am the customer that Viktorija mentioned. One correction to the post: the board is not our custom board. We built TI TIDA-010056 board per TI documentation.

  • Hey Alek, Viktorijia,

    Sorry for the delay.  The first project that was run, was it original or did you pull it from somewhere?  

    There is a JTAG electronic fuse on the MSP430FR2355's and information on it can be found in section 1.11.1 of the device User's Guide: https://www.ti.com/lit/ug/slau445i/slau445i.pdf 

    There are JTAG signatures that can be used to lock the device.  If written, the only way to unlock the device is via the BSL.  But, the BSL can also be secured with a password.  

    I assume the original project actually changed this signature and locked the JTAG.  Do you have BSL access setup to the device? 

    Thanks,

    JD  

  • Hi JD,

    The project is original. I downloaded TIDA-010056_Firmware_1.0 from TI website. I am trying to evaluate TI motor control library. I never used TI  micros before. I know nothing about BSL. I used MSP430 launchpad to program TIDA board. I had a new board. I did not intentionally lock anything. By the way, I am surprised that CCS does not have "Mass Erase" menu. I believe this problem is "fake". While waiting for your answer I did some experiments yesterday. If I just provide 3.3VDC from the launchpad board to TIDA board CCS would go in debug. However, if I power up TIDA board a normal way. from 24VDC, CCS would not go in debug. Since this is TI board and firmware I don't know what else I can do. I asked Viktorija if I could send two boards to TI.

    Alex

    P.S. What line of code should I search for to see if the original project changed the signature and locked the JTAG?

  • Hey Alex,

    So, if you power the MSP430FR2355 fully from the launchpad, it is allowing you to program and debug the device?  If so, that is good news and I'm not sure why CCS labeled this issue as a JTAG lock issue.  

    I'm not familiar with the TIDA-010056, but I see in section 3.1.1.2 it discusses programming the device using by powering the on board DC supply.  I believe that is only possible with a tool like the MSP-FET and the wiring diagram is shown in Figure 2-3 of the Hardware Tool's user guide

    I don't believe you can do this with the EZ-FET build onto most the MSP430 launchpads, so you would have to have the launchpad power the board. 

    There is a Mass Erase feature in Uniflash, which is TI's stand-alone flashing program as long as the JTAG isn't locked.  Note: It also has a "Secure JTAG" option that can be set that will also lock the JTAG.    

    Thanks,

    JD