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.

CC2651R3: mass erase of a JTAG locked CC2651R3 MCU fails

Part Number: CC2651R3
Other Parts Discussed in Thread: UNIFLASH,

Tool/software:

Hi, I want to flash the CC2651R3 using the Uniflash CLI tool and the XDS110 debug probe. Here are the relevant SW versions of the tools:

  • DSLite version 12.0.0.2728
  • XDS: Emulation package 9.7.0.00213

Goal for me would be to first mass erase a JTAG locked CC2651R3 MCU (due a previous firmware flashed on it) and then reflash.

Steps that I undertook:

  1. Generated a package from the standalone uniflash utitlity to procure the cc2651r3.ccxml file
  2. Then tried to use the following command to mass erase:

dslite --mode cc13xx-cc26xx-mass-erase -c user_files/configs/cc2651r3.ccxml

and this results in the following output:

if I try this command:

dslite --mode cc13xx-cc26xx-mass-erase -d XDS110

and this results in the following output:

I also attach the cc2651r3.ccxml for your reference. Could you please let me know the problem and provide the commands via dslite to mass erase and flash the cc2651r3?

cc2651r3.ccxml

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">
<configuration XML_version="1.2" id="configuration_0">
        <instance XML_version="1.2" desc="Texas Instruments XDS110 USB Debug Probe" href="connections/TIXDS110_Connection.xml" id="Texas Instruments XDS110 USB Debug Probe" xml="TIXDS110_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Texas Instruments XDS110 USB Debug Probe">
        	
        		   <instance XML_version="1.2" href="drivers/tixds510icepick_c.xml" id="drivers" xml="tixds510icepick_c.xml" xmlpath="drivers"/>
        	
        		   <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 id="Power Selection" Type="choicelist" Value="1">
  <choice Name="Target supplied power" value="0">
    <property id="Voltage Selection" Type="choicelist" Value="1">
      <choice Name="User specified value" value="1">
        <property id="Voltage Level" Type="stringfield" Value="3.3"/>
      </choice>
    </property>
  </choice>
  <choice Name="Probe supplied power" value="1">
    <property id="Voltage Level" Type="stringfield" Value="3.3"/>
  </choice>
</property>
            
                  <property Type="choicelist" Value="0" id="JTAG Signal Isolation"/>
            
                  <property id="SWD Mode Settings" desc="JTAG / SWD / cJTAG Mode" Type="choicelist" Value="4">
  <choice Name="cJTAG (1149.7) 2-pin advanced modes" value="enable">
    <property id="XDS110 Aux Port" desc="Auxiliary COM Port Connection" Type="choicelist" Value="1"/>
  </choice>
</property>
            
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="CC2651R3" href="devices/cc2651r3.xml" id="CC2651R3" xml="cc2651r3.xml" xmlpath="devices"/>
            </platform>
        </connection>
    </configuration>
</configurations>

  • I can successfully mass erase and flash using the Uniflash GUI tool but not using the CLI tool

  • Hi,

    I can't reproduce the issue you are seeing. To issue a mass erase, use the second command you mentioned in your post.

    Uniflash 9.0.0 yields the following for me:

    The error shown with your tool is of internal nature - in other words, I suspect there might be a problem with your installation of uniflash. Can you try to reinstall the latest version of the tool and retry? 

    This error is not originated from your CC2651R3.ccxml file.

    Hope this helps,

    Rafael