tcl: convert transport select to jtag and swd

Convert every transport select command:
- hla_swd -> swd
- dapdirect_swd -> swd
- hla_jtag -> jtag
- dapdirect_jtag -> jtag

Change-Id: I81971e06f7aefd21a570a4e098cf3822a775464b
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8678
Reviewed-by: zapb <dev@zapb.de>
Tested-by: jenkins
This commit is contained in:
Antonio Borneo
2024-12-23 18:10:10 +01:00
parent c1c4d489df
commit ad53fe659b
60 changed files with 61 additions and 61 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
# #
source [find interface/ti-icdi.cfg] source [find interface/ti-icdi.cfg]
transport select hla_jtag transport select jtag
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
set CHIPNAME lm4f120h5qr set CHIPNAME lm4f120h5qr
+1 -1
View File
@@ -12,7 +12,7 @@
# #
source [find interface/ti-icdi.cfg] source [find interface/ti-icdi.cfg]
transport select hla_jtag transport select jtag
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
set CHIPNAME lm4f23x set CHIPNAME lm4f23x
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 96KB # increase working area to 96KB
set WORKAREASIZE 0x18000 set WORKAREASIZE 0x18000
+1 -1
View File
@@ -10,7 +10,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f0x.cfg] source [find target/stm32f0x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f1x.cfg] source [find target/stm32f1x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f3x.cfg] source [find target/stm32f3x.cfg]
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f4x.cfg] source [find target/stm32f4x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f7x.cfg] source [find target/stm32f7x.cfg]
+1 -1
View File
@@ -12,7 +12,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32g0x.cfg] source [find target/stm32g0x.cfg]
+1 -1
View File
@@ -12,7 +12,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32g4x.cfg] source [find target/stm32g4x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32h7x_dual_bank.cfg] source [find target/stm32h7x_dual_bank.cfg]
+1 -1
View File
@@ -3,7 +3,7 @@
# This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip. # This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip.
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# STM32H745xx devices are dual core (Cortex-M7 and Cortex-M4) # STM32H745xx devices are dual core (Cortex-M7 and Cortex-M4)
set DUAL_CORE 1 set DUAL_CORE 1
+1 -1
View File
@@ -4,7 +4,7 @@
# http://www.st.com/en/evaluation-tools/nucleo-l073rz.html # http://www.st.com/en/evaluation-tools/nucleo-l073rz.html
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32l1x_dual_bank.cfg] source [find target/stm32l1x_dual_bank.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32l4x.cfg] source [find target/stm32l4x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32l5x.cfg] source [find target/stm32l5x.cfg]
+1 -1
View File
@@ -6,7 +6,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32wbx.cfg] source [find target/stm32wbx.cfg]
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 8KB # increase working area to 8KB
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
source [find target/stm32f0x.cfg] source [find target/stm32f0x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f3x.cfg] source [find target/stm32f3x.cfg]
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -10,7 +10,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -7,7 +7,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32f4x.cfg] source [find target/stm32f4x.cfg]
+1 -1
View File
@@ -7,7 +7,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -7,7 +7,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 64KB # increase working area to 64KB
set WORKAREASIZE 0x10000 set WORKAREASIZE 0x10000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 128KB # increase working area to 128KB
set WORKAREASIZE 0x20000 set WORKAREASIZE 0x20000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 256KB # increase working area to 256KB
set WORKAREASIZE 0x40000 set WORKAREASIZE 0x40000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 256KB # increase working area to 256KB
set WORKAREASIZE 0x40000 set WORKAREASIZE 0x40000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK/V2-1 # This is for using the onboard STLINK/V2-1
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 256KB # increase working area to 256KB
set WORKAREASIZE 0x40000 set WORKAREASIZE 0x40000
+1 -1
View File
@@ -7,7 +7,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set CHIPNAME stm32h735igk6 set CHIPNAME stm32h735igk6
+1 -1
View File
@@ -7,7 +7,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set CHIPNAME stm32h745xih6 set CHIPNAME stm32h745xih6
+1 -1
View File
@@ -7,7 +7,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set CHIPNAME stm32h747xih6 set CHIPNAME stm32h747xih6
+1 -1
View File
@@ -7,7 +7,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set CHIPNAME stm32h750xbh6 set CHIPNAME stm32h750xbh6
+1 -1
View File
@@ -7,7 +7,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set CHIPNAME stm32h7b3lih6q set CHIPNAME stm32h7b3lih6q
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32h7x_dual_bank.cfg] source [find target/stm32h7x_dual_bank.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
source [find target/stm32l0.cfg] source [find target/stm32l0.cfg]
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 96KB # increase working area to 96KB
set WORKAREASIZE 0x18000 set WORKAREASIZE 0x18000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 96KB # increase working area to 96KB
set WORKAREASIZE 0x18000 set WORKAREASIZE 0x18000
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32l4x.cfg] source [find target/stm32l4x.cfg]
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 96KB # increase working area to 96KB
set WORKAREASIZE 0x18000 set WORKAREASIZE 0x18000
+1 -1
View File
@@ -6,7 +6,7 @@
# This is for using the onboard STLINK # This is for using the onboard STLINK
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
# increase working area to 96KB # increase working area to 96KB
set WORKAREASIZE 0x18000 set WORKAREASIZE 0x18000
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set WORKAREASIZE 0x4000 set WORKAREASIZE 0x4000
source [find target/stm32l1.cfg] source [find target/stm32l1.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32mp13x.cfg] source [find target/stm32mp13x.cfg]
+1 -1
View File
@@ -6,7 +6,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
source [find target/stm32mp15x.cfg] source [find target/stm32mp15x.cfg]
+1 -1
View File
@@ -5,7 +5,7 @@
source [find interface/stlink.cfg] source [find interface/stlink.cfg]
transport select dapdirect_swd transport select swd
set WORKAREASIZE 0x2000 set WORKAREASIZE 0x2000
source [find target/stm32f1x.cfg] source [find target/stm32f1x.cfg]
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg] source [find interface/ti-icdi.cfg]
transport select hla_jtag transport select jtag
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
set CHIPNAME tm4c129xnczad set CHIPNAME tm4c129xnczad
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg] source [find interface/ti-icdi.cfg]
transport select hla_jtag transport select jtag
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
set CHIPNAME tm4c123gh6pm set CHIPNAME tm4c123gh6pm
+1 -1
View File
@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg] source [find interface/ti-icdi.cfg]
transport select hla_jtag transport select jtag
set WORKAREASIZE 0x8000 set WORKAREASIZE 0x8000
set CHIPNAME tm4c1294ncpdt set CHIPNAME tm4c1294ncpdt
+1 -1
View File
@@ -13,7 +13,7 @@ set DBGBASE {0x80810000 0x80910000}
set CTIBASE {0x80820000 0x80920000} set CTIBASE {0x80820000 0x80920000}
# vdebug select transport # vdebug select transport
transport select dapdirect_swd transport select swd
# JTAG reset config, frequency and reset delay # JTAG reset config, frequency and reset delay
adapter speed 50000 adapter speed 50000
+1 -1
View File
@@ -13,7 +13,7 @@ set DBGBASE {0x01010000 0x01110000 0x01210000 0x01310000}
set CTIBASE {0x01020000 0x01120000 0x01220000 0x01320000} set CTIBASE {0x01020000 0x01120000 0x01220000 0x01320000}
# vdebug select transport # vdebug select transport
transport select dapdirect_swd transport select swd
# JTAG reset config, frequency and reset delay # JTAG reset config, frequency and reset delay
adapter speed 200000 adapter speed 200000
+1 -1
View File
@@ -9,7 +9,7 @@ set MEMSTART 0x00000000
set MEMSIZE 0x10000 set MEMSIZE 0x10000
# vdebug select transport # vdebug select transport
transport select dapdirect_swd transport select swd
adapter speed 25000 adapter speed 25000
adapter srst delay 5 adapter srst delay 5
+1 -1
View File
@@ -10,4 +10,4 @@ hla device_desc "Nu-Link"
hla vid_pid 0x0416 0x511b 0x0416 0x511c 0x0416 0x511d 0x0416 0x5200 0x0416 0x5201 hla vid_pid 0x0416 0x511b 0x0416 0x511c 0x0416 0x511d 0x0416 0x5200 0x0416 0x5201
# Only swd is supported # Only swd is supported
transport select hla_swd transport select swd
+1 -1
View File
@@ -5,4 +5,4 @@
# #
adapter driver rshim adapter driver rshim
transport select dapdirect_swd transport select swd
+2 -2
View File
@@ -13,8 +13,8 @@
adapter driver st-link adapter driver st-link
st-link vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 0x0483 0x3754 0x0483 0x3755 0x0483 0x3757 st-link vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 0x0483 0x3754 0x0483 0x3755 0x0483 0x3757
# transport select dapdirect_jtag # transport select jtag
# transport select dapdirect_swd # transport select swd
# transport select swim # transport select swim
# Optionally specify the serial number of usb device # Optionally specify the serial number of usb device