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/MSP430F5438A: Going from JTAG to Spy-Bi-Wire Troubleshooting

Part Number: MSP430F5438A
Other Parts Discussed in Thread: MSP-FET,

Tool/software: Code Composer Studio

Hello, 

I have been programming an MSP430F5438A using JTAG (which has worked without issues) with the MSP-FET, but am now attempting to use Spy-Bi-Wire.

I made the necessary connection changes to the hardware of the circuit to transition from:

File:JTAG 4 wire pinout.JPG

to the Spy-Bi-Wire configuration as shown:

File:MSP430 JTAG 2 Wire pinout 5xx 6xx.PNG

The problem is that the Code Composer always fails to program using the Spy-Bi-Wire configuration--showing the error "Device not recognized". It is my understanding (based on other forums) that code composer queries the MSP430 device to sense if JTAG connections exist, then uses Spy-Bi-Wire if it they do not.

My question is, other than ensuring that my circuit matches the connections displayed above for Spy-Bi-Wire, is there anything else in code composer or in general that I need to do to be able to use Spy-Bi-Wire?

  • A S said:
    My question is, other than ensuring that my circuit matches the connections displayed above for Spy-Bi-Wire, is there anything else in code composer or in general that I need to do to be able to use Spy-Bi-Wire?

    As you mention the selection between JTAG Spy-Bi-Wire is supposed to be performed automatically.

    By modifying the CCS XML files have previously found that can expose an option in the Target Configuration to allow Spy-Bi-Wire mode to be forced - see Forcing SBW mode which may help. Note that I last tried this modification on a CCS 6.0.1 installation and haven't yet tested the modification on later versions of CCS.

    Also, have you tried changing the "JTAG/SBW Speed" option in the target configuration to "Slow" to see if that helps?

  • Thank you Chester for the reply.

    I've been searching for awhile now and cannot seem to find the "JTAG/SBW Speed" option. Where is this option located?

    I am using CCS 6.1.2

  • Found it, it is under the ccxml file under targetConfigs in the Project window. I will test this now to see if changing to slow works.

    Thank you again for your help.