tcl/target/lpc8nxx: drop swj on swd only target
Historically swj_newdap was necessary to handle HLA properly
Since commit 60f104f450 ("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 <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/9437
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
0163d9ddba
commit
86bdd88282
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user