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.

Using 2-wire/SBW interface from CCS

Other Parts Discussed in Thread: MSP430F5528, MSP430F5515, MSP-FET

Hi there,

do I have to confugure CCS v4 for using 2-wire/SBW interface explicitly?

I can program with JTAG, but not with SBW, CSS always says "Error connecting to the target: Could not find device (or device not supported)".

I do have a MSP430F5528 (JTAG and SBW supported) and MSP430-UIF.

Already searched all configuration options, is there anywhere a switch to enable SBW?

BTW: With an external programm I can do a blank check and a read memory through SBW, so the connection is correct.

  • Hi,

    Check my answer in your other post.

    Regards,

    Rafael

  • Hi Florian,

    An answer and a few comments for you.

    First of all in CCS, unlike IAR, you do not and can not actually explicitly choose SBW vs JTAG.   CCS automatically selects.

    Most EVMS have jumpers to go between the two settings.   Also note that typically only one of the two methods can be used at one time.  This is because the recommended circuit in the two cases is different - capacitance (SBW is quite sensitive to this), etc.   Our recommended layout and circuit for the two programming cases can be found on page 25 and 26 of the User Guide: 

    http://www.ti.com/lit/pdf/slau278

    I am a little surprised actually if you found a situation where one connection worked for both methods.  This is not typical and normally a board is designed to use either one method or the other.   This is why there are usually jumpers to go between the two methods on EVMs.

    I hope this helps clarify.

    Best Regards,
    Lisa 

  • Hi Lisa,

    thanks for our reply.

    Lisa TI said:
    First of all in CCS, unlike IAR, you do not and can not actually explicitly choose SBW vs JTAG.   CCS automatically selects.

    How does CSS select between JTAG and SBW? That would be interesting, probably I can enforce the decition?

    Lisa TI said:
    Most EVMS have jumpers to go between the two settings. Also note that typically only one of the two methods can be used at one time. This is because the recommended circuit in the two cases is different - capacitance (SBW is quite sensitive to this), etc. Our recommended layout and circuit for the two programming cases can be found on page 25 and 26 of the User Guide:

    http://www.ti.com/lit/pdf/slau278

     Yes, I know that User Guide and followed these two schematics. JTAG will run, SBW with the recomended wireing not. Both on my own board and my MSP430-TS430RGC64USB (jumpered correctly). JTAG is Ok, SBW the device isn't found. Also tried several MSPs till now...

    Best regards,

    Florian

     

  • Hi Florian,

    that I am aware of, no, there is no way to force one or the other in CCS unfortunately.    

    If you have followed the two schematics and are using the two different schematics to connect then I am wondering whether CCS could be storing something in the workspace which might be impeding with your connection when you go between the two.  Ie some form of memory effect.

    Have you tried creating a fresh workspace and see if SBW works there?   Try connecting the MSP using SBW and see if it gets recognized.  

    Could you send your schematics for the two cases?  

    Cheers,
    Lisa 

  • Was this question ever answered? I am developing a very small USB dongle with the MSP4305515 and can't afford the real estate of the 14-pin JTAG connector.
  • MikeH said:
    Was this question ever answered?

    If you mean the ability to force CCS to use JTAG or SBW mode, a possible work-around is to modify a XML file to expose an option on the CCS GUI - see Forcing SBW mode

  • Thanks Chester. I will give it a try.
  • FYI, I was able to get CCS V5.5 to connect to my MSP430F5515 using the MSP-FET and a special cable that crosses over the pin functions per appropriate diagram at :

    http://processors.wiki.ti.com/index.php/JTAG_(MSP430)#Spy_Bi-Wire_.282_Wire_JTAG.29_for_MSP430F5xx_and_MSP430F6xx