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

View File

@@ -12,7 +12,7 @@
#
source [find interface/ti-icdi.cfg]
transport select hla_jtag
transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME lm4f120h5qr

View File

@@ -12,7 +12,7 @@
#
source [find interface/ti-icdi.cfg]
transport select hla_jtag
transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME lm4f23x

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 96KB
set WORKAREASIZE 0x18000

View File

@@ -10,7 +10,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f0x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f1x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f3x.cfg]

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f4x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f7x.cfg]

View File

@@ -12,7 +12,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32g0x.cfg]

View File

@@ -12,7 +12,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32g4x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32h7x_dual_bank.cfg]

View File

@@ -3,7 +3,7 @@
# This is an ST NUCLEO-H745ZI-Q board with single STM32H745ZITx chip.
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# STM32H745xx devices are dual core (Cortex-M7 and Cortex-M4)
set DUAL_CORE 1

View File

@@ -4,7 +4,7 @@
# http://www.st.com/en/evaluation-tools/nucleo-l073rz.html
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set WORKAREASIZE 0x2000

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32l1x_dual_bank.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32l4x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32l5x.cfg]

View File

@@ -6,7 +6,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32wbx.cfg]

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 8KB
set WORKAREASIZE 0x2000

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set WORKAREASIZE 0x2000
source [find target/stm32f0x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f3x.cfg]

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -10,7 +10,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -7,7 +7,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32f4x.cfg]

View File

@@ -7,7 +7,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -7,7 +7,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 64KB
set WORKAREASIZE 0x10000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 128KB
set WORKAREASIZE 0x20000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 256KB
set WORKAREASIZE 0x40000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 256KB
set WORKAREASIZE 0x40000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK/V2-1
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 256KB
set WORKAREASIZE 0x40000

View File

@@ -7,7 +7,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set CHIPNAME stm32h735igk6

View File

@@ -7,7 +7,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set CHIPNAME stm32h745xih6

View File

@@ -7,7 +7,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set CHIPNAME stm32h747xih6

View File

@@ -7,7 +7,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set CHIPNAME stm32h750xbh6

View File

@@ -7,7 +7,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set CHIPNAME stm32h7b3lih6q

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32h7x_dual_bank.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set WORKAREASIZE 0x2000
source [find target/stm32l0.cfg]

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 96KB
set WORKAREASIZE 0x18000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 96KB
set WORKAREASIZE 0x18000

View File

@@ -8,7 +8,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32l4x.cfg]

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 96KB
set WORKAREASIZE 0x18000

View File

@@ -6,7 +6,7 @@
# This is for using the onboard STLINK
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
# increase working area to 96KB
set WORKAREASIZE 0x18000

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set WORKAREASIZE 0x4000
source [find target/stm32l1.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32mp13x.cfg]

View File

@@ -6,7 +6,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
source [find target/stm32mp15x.cfg]

View File

@@ -5,7 +5,7 @@
source [find interface/stlink.cfg]
transport select dapdirect_swd
transport select swd
set WORKAREASIZE 0x2000
source [find target/stm32f1x.cfg]

View File

@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg]
transport select hla_jtag
transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c129xnczad

View File

@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg]
transport select hla_jtag
transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c123gh6pm

View File

@@ -8,7 +8,7 @@
source [find interface/ti-icdi.cfg]
transport select hla_jtag
transport select jtag
set WORKAREASIZE 0x8000
set CHIPNAME tm4c1294ncpdt

View File

@@ -13,7 +13,7 @@ set DBGBASE {0x80810000 0x80910000}
set CTIBASE {0x80820000 0x80920000}
# vdebug select transport
transport select dapdirect_swd
transport select swd
# JTAG reset config, frequency and reset delay
adapter speed 50000

View File

@@ -13,7 +13,7 @@ set DBGBASE {0x01010000 0x01110000 0x01210000 0x01310000}
set CTIBASE {0x01020000 0x01120000 0x01220000 0x01320000}
# vdebug select transport
transport select dapdirect_swd
transport select swd
# JTAG reset config, frequency and reset delay
adapter speed 200000

View File

@@ -9,7 +9,7 @@ set MEMSTART 0x00000000
set MEMSIZE 0x10000
# vdebug select transport
transport select dapdirect_swd
transport select swd
adapter speed 25000
adapter srst delay 5

View File

@@ -10,4 +10,4 @@ hla device_desc "Nu-Link"
hla vid_pid 0x0416 0x511b 0x0416 0x511c 0x0416 0x511d 0x0416 0x5200 0x0416 0x5201
# Only swd is supported
transport select hla_swd
transport select swd

View File

@@ -5,4 +5,4 @@
#
adapter driver rshim
transport select dapdirect_swd
transport select swd

View File

@@ -13,8 +13,8 @@
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
# transport select dapdirect_jtag
# transport select dapdirect_swd
# transport select jtag
# transport select swd
# transport select swim
# Optionally specify the serial number of usb device