This is an automated email from Gerrit.

Edward Fewell (efew...@ti.com) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/4789

-- gerrit

commit 4e1179dd927db44221ab04cabea772c8e954f79b
Author: Edward Fewell <efew...@ti.com>
Date:   Wed Dec 5 17:54:42 2018 -0600

    icepick.cfg: add cancel reset bit to TAP register writes
    
    The Agama family of devices (CC26x2/CC13x2) required an
    additional bit to be set when adding the core's TAP into
    the scan chain. The cancel reset bit 0x10000 tells the
    ICEPick to take the bus out of reset so that the other
    bits will take effect. This bit is a NOP on other devices
    and ICEPicks, so the change shouldn't adversely affect
    other devices.
    
    Change-Id: I9245eef0936ea7eea28ae84ab5e8ce05fa63af40
    Signed-off-by: Edward Fewell <efew...@ti.com>

diff --git a/tcl/target/icepick.cfg b/tcl/target/icepick.cfg
index 0f160bb..a945bea 100644
--- a/tcl/target/icepick.cfg
+++ b/tcl/target/icepick.cfg
@@ -90,18 +90,18 @@ proc icepick_c_tapenable {jrc port} {
        # And never to enter RESET, which will disable the TAPs.
 
        # first enable power and clock for TAP
-       icepick_c_router $jrc 1 0x2 $port 0x100048
+       icepick_c_router $jrc 1 0x2 $port 0x110048
 
        # TRM states that the register should be read back here, skipped for now
 
        # enable debug "default" mode
-       icepick_c_router $jrc 1 0x2 $port 0x102048
+       icepick_c_router $jrc 1 0x2 $port 0x112048
 
        # TRM states that debug enable and debug mode should be read back and
        # confirmed - skipped for now
 
        # Finally select the tap
-       icepick_c_router $jrc 1 0x2 $port 0x102148
+       icepick_c_router $jrc 1 0x2 $port 0x112148
 
        # Enter the bypass state
        irscan $jrc [CONST IR_BYPASS] -endstate RUN/IDLE

-- 


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to