Other Parts Discussed in Thread: UNIFLASH,
I'm UniFlash CLI (6.4.0) with a XDS200, and experiencing the mentioned issue after issuing: "dslite -c XDS200_R7conf.ccxml --post-flash-device-cmd MassErase"
Strangely enough, the issue only occurs after re-issuing a mass erase after an application has been flashed to the device. Initially, mass erase can be done several times on a virgin board.
Procedure used for a complete new board:
dslite -c XDS200_R7conf.ccxml --post-flash-device-cmd MassErase --> Response OK
dslite -c XDS200_R7conf.ccxml -e -f msrModule_CC2652R7_V05.30.xx.skyT0_oad_17012022_production.hex --> Response OK
dslite -c XDS200_R7conf.ccxml -e -f msrModule_CC2652R7_V05.30.xx.skyT0_oad_17012022_production.hex --> Only for debugging. Response OK
dslite -c XDS200_R7conf.ccxml --post-flash-device-cmd MassErase --> Failure:
info: Cortex_M4_0: Device revision '0x1' unknown for selected target. Assuming latest known revision: Rev. 1.0.
Cortex_M4_0: GEL Output: Doing mass erase ...
Cortex_M4_0: MassErase(): Initializing.
Cortex_M4_0: MassErase(): Issuing Board Reset.
fatal: IcePick_C: Error connecting to the target: (Error -241 @ 0x0) A router subpath could not be accessed. A security error has probably occurred. Make sure your device is unlocked. (Emulation package 9.4.0.00129)
Failed: Connect failed
Can anyone share some information about:
1) Why do a device become "locked"?
2) Are there a method for unlocking?
Config file used:
<?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 XDS2xx USB Debug Probe_0">
<instance XML_version="1.2" desc="Texas Instruments XDS2xx USB Debug Probe_0" href="connections/TIXDS2XXUSB_Connection.xml" id="Texas Instruments XDS2xx USB Debug Probe_0" xml="TIXDS2XXUSB_Connection.xml" xmlpath="connections"/>
<connection XML_version="1.2" id="Texas Instruments XDS2xx USB Debug Probe_0">
<instance XML_version="1.2" href="drivers/tixds560icepick_c.xml" id="drivers" xml="tixds560icepick_c.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cs_dap.xml" id="drivers" xml="tixds560cs_dap.xml" xmlpath="drivers"/>
<instance XML_version="1.2" href="drivers/tixds560cortexM.xml" id="drivers" xml="tixds560cortexM.xml" xmlpath="drivers"/>
<property Type="choicelist" Value="2" id="The cJTAG / SWD Features">
<choice Name="cJTAG (1149.7) 2-pin advanced modes" value="enable">
<property Type="choicelist" Value="5" id="The Target Scan Format"/>
</choice>
</property>
<property Type="choicelist" Value="2" id="Debug Probe Selection">
<choice Name="Select by serial number" value="2">
<property Type="stringfield" Value="S200-000E99047465" id="-- Enter the serial number"/>
</choice>
</property>
<property Type="choicelist" Value="0" id="The JTAG TCLK Frequency (MHz)">
<choice Name="Fixed with user specified faster value" value="SPECIFIC">
<property Type="stringfield" Value="1.0MHz" id="-- Enter a value from 0.5MHz to 20.0MHz"/>
</choice>
</property>
<platform XML_version="1.2" id="platform_0">
<instance XML_version="1.2" desc="CC2652R7_0" href="devices/cc2652r7.xml" id="CC2652R7_0" xml="cc2652r7.xml" xmlpath="devices"/>
</platform>
</connection>
</configuration>
</configurations>