Jump to content
43oh

MSP432 and SWD


Recommended Posts

Hi,

 

I designed a custom board with an MSP432, and when I did it, I thought I could use the J103 header on the MSP432 LP to program it. But after my uploads failed, I made some investigations and found that LP use a full JTAG and not SWD to program the embeded MSP432. I finally found how to change the XDS110 mode to SWD in CCS :

 

post-30385-0-57442300-1461919734_thumb.png

(on the right, "JTAG/SWD/cJTAG Mode")

 

But how to do it in Energia IDE ? The MSP432 file organization is completely different from msp430 and I simply don't know at all where it could be changed ...

 

Thanks

Link to post
Share on other sites
  • 3 weeks later...
  • 2 months later...

Re-up :)

 

EDIT : finally got it :)

 

modify this file energia-0101E0017\tools\common\DSLite\MSP432P401R.ccxml adding the red line :

 

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
        <instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe_0" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe_0" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe_0">
            <instance XML_version="1.2" href="drivers/tixds510cs_dap.xml" id="drivers" xml="tixds510cs_dap.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers/tixds510cortexM.xml" id="drivers" xml="tixds510cortexM.xml" xmlpath="drivers"/>
            <property Type="choicelist" Value="1" id="SWD Mode Settings"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="MSP432P401R_0" href="devices/msp432p401r.xml" id="MSP432P401R_0" xml="msp432p401r.xml" xmlpath="devices"/>
            </platform>
        </connection>
    </configuration>
</configurations>

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...