This is an automated email from Gerrit.

"Tomas Vanek <[email protected]>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9437

-- gerrit

commit c7543e7e8e7dabdbe15ba07b8843f78ffbfe27cf
Author: Tomas Vanek <[email protected]>
Date:   Tue Feb 3 21:57:00 2026 +0100

    tcl/target/lpc8nxx: drop swj on swd only target
    
    Historically swj_newdap was necessary to handle HLA properly
    Since commit 60f104f45013 ("hla_transport: split command
    registration per transport") there is no point in using
    swj_newdap on SWD only devices.
    
    There are no relevant board files.
    
    Change-Id: Id66a808475f061307fc6a0b3e0d2a9840b543e7f
    Signed-off-by: Tomas Vanek <[email protected]>

diff --git a/tcl/target/lpc8nxx.cfg b/tcl/target/lpc8nxx.cfg
index 859e99b6a3..6f1f88df41 100644
--- a/tcl/target/lpc8nxx.cfg
+++ b/tcl/target/lpc8nxx.cfg
@@ -5,8 +5,8 @@
 # Based on NXP proposal https://community.nxp.com/message/1011149
 # Many thanks to Dries Moors from NXP support.
 # SWD only transport
+transport select swd
 
-source [find target/swj-dp.tcl]
 source [find mem_helper.tcl]
 
 if { [info exists CHIPNAME] } {
@@ -15,7 +15,7 @@ if { [info exists CHIPNAME] } {
        set  _CHIPNAME lpc8nxx
 }
 
-swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id 0
+swd newdap $_CHIPNAME cpu -expected-id 0
 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 
 set _TARGETNAME $_CHIPNAME.cpu

-- 

Reply via email to