tcl: replace the deprecated commands with "adapter ..."

Avoid annoying "deprecated" messages while running the scripts
distributed with OpenOCD code.
Change automatically created with commands
	sed -i 's/adapter_khz/adapter speed/g' $(find tcl/ -type f)
	sed -i 's/adapter_nsrst_delay/adapter srst delay/g' $(find tcl/ -type f)
	sed -i 's/adapter_nsrst_assert_width/adapter srst pulse_width/g' $(find tcl/ -type f)

Minor indentation issue fixed manually in
	tcl/board/at91sam9g20-ek.cfg
	tcl/target/at91sam9260_ext_RAM_ext_flash.cfg

Change-Id: I425fd56c0c88cd6b06124621306eeb89166dfe71
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5284
Tested-by: jenkins
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
This commit is contained in:
Antonio Borneo 2019-08-23 15:51:00 +02:00 committed by Oleksij Rempel
parent 0d598535a3
commit 38ac08c1c2
210 changed files with 332 additions and 332 deletions

View File

@ -4,7 +4,7 @@
reset_config trst_and_srst separate reset_config trst_and_srst separate
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
source [find target/ixp42x.cfg] source [find target/ixp42x.cfg]

View File

@ -25,7 +25,7 @@ source [find interface/jlink.cfg]
transport select swd transport select swd
# chosen speed is 'safe' choice, but your adapter may be capable of more # chosen speed is 'safe' choice, but your adapter may be capable of more
adapter_khz 400 adapter speed 400
source [find target/adsp-sc58x.cfg] source [find target/adsp-sc58x.cfg]

View File

@ -15,5 +15,5 @@ source [find target/altera_fpgasoc.cfg]
#usb_blaster_vid_pid 0x6810 0x09fb #usb_blaster_vid_pid 0x6810 0x09fb
#usb_blaster_device_desc "USB-Blaster II" #usb_blaster_device_desc "USB-Blaster II"
adapter_khz 100 adapter speed 100

View File

@ -15,7 +15,7 @@
source [find target/swj-dp.tcl] source [find target/swj-dp.tcl]
# set a safe JTAG clock speed, can be overridden # set a safe JTAG clock speed, can be overridden
adapter_khz 1000 adapter speed 1000
global _CHIPNAME global _CHIPNAME
if { [info exists CHIPNAME] } { if { [info exists CHIPNAME] } {

View File

@ -10,7 +10,7 @@ source [find interface/ftdi/digilent-hs1.cfg]
source [find cpld/xilinx-xc7.cfg] source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg] source [find cpld/jtagspi.cfg]
adapter_khz 25000 adapter speed 25000
# Usage: # Usage:
# #

View File

@ -28,7 +28,7 @@ target create $_TARGETNAME arm7tdmi -endian $_ENDIAN -chain-position $_TARGETNAM
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
# start off real slow when we're running off internal RC oscillator # start off real slow when we're running off internal RC oscillator
adapter_khz 32 adapter speed 32
} }
proc peek32 {address} { proc peek32 {address} {
@ -78,7 +78,7 @@ $_TARGETNAME configure -event reset-init {
echo "Master clock ok." echo "Master clock ok."
# Now that we're up and running, crank up speed! # Now that we're up and running, crank up speed!
global post_reset_khz ; adapter_khz $post_reset_khz global post_reset_khz ; adapter speed $post_reset_khz
echo "Configuring the SDRAM controller..." echo "Configuring the SDRAM controller..."

View File

@ -64,4 +64,4 @@ $_TARGETNAME configure -event reset-init {
} }
# This target is pretty snappy... # This target is pretty snappy...
adapter_khz 16000 adapter speed 16000

View File

@ -19,7 +19,7 @@ flash bank $_FLASHNAME cfi 0x10000000 0x00200000 2 2 $_TARGETNAME
proc at91rm9200_dk_init { } { proc at91rm9200_dk_init { } {
# Try to run at 1khz... Yea, that slow! # Try to run at 1khz... Yea, that slow!
# Chip is really running @ 32khz # Chip is really running @ 32khz
adapter_khz 8 adapter speed 8
mww 0xfffffc64 0xffffffff mww 0xfffffc64 0xffffffff
## disable all clocks but system clock ## disable all clocks but system clock
@ -45,7 +45,7 @@ proc at91rm9200_dk_init { } {
#======================================== #========================================
# CPU now runs at 180mhz # CPU now runs at 180mhz
# SYS runs at 60mhz. # SYS runs at 60mhz.
adapter_khz 40000 adapter speed 40000
#======================================== #========================================

View File

@ -19,12 +19,12 @@ set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x10000000 0x00800000 2 2 $_TARGETNAME flash bank $_FLASHNAME cfi 0x10000000 0x00800000 2 2 $_TARGETNAME
# The chip may run @ 32khz, so set a really low JTAG speed # The chip may run @ 32khz, so set a really low JTAG speed
adapter_khz 8 adapter speed 8
proc at91rm9200_ek_init { } { proc at91rm9200_ek_init { } {
# Try to run at 1khz... Yea, that slow! # Try to run at 1khz... Yea, that slow!
# Chip is really running @ 32khz # Chip is really running @ 32khz
adapter_khz 8 adapter speed 8
mww 0xfffffc64 0xffffffff mww 0xfffffc64 0xffffffff
## disable all clocks but system clock ## disable all clocks but system clock
@ -61,7 +61,7 @@ proc at91rm9200_ek_init { } {
#======================================== #========================================
# CPU now runs at 180mhz # CPU now runs at 180mhz
# SYS runs at 60mhz. # SYS runs at 60mhz.
adapter_khz 40000 adapter speed 40000
#======================================== #========================================
## Init SDRAM ## Init SDRAM

View File

@ -19,7 +19,7 @@ set _FLASHTYPE nandflash_cs3
reset_config srst_only reset_config srst_only
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 200 jtag_ntrst_delay 200
# If you don't want to execute built-in boot rom code (and there are good reasons at times not to do that) in the # If you don't want to execute built-in boot rom code (and there are good reasons at times not to do that) in the
@ -54,7 +54,7 @@ proc at91sam9g20_reset_start { } {
# jtag speed without causing GDB keep alive problem. # jtag speed without causing GDB keep alive problem.
arm7_9 fast_memory_access disable arm7_9 fast_memory_access disable
adapter_khz 2 ;# Slow-speed oscillator enabled at reset, so run jtag speed slow. adapter speed 2 ;# Slow-speed oscillator enabled at reset, so run jtag speed slow.
halt ;# Make sure processor is halted, or error will result in following steps. halt ;# Make sure processor is halted, or error will result in following steps.
wait_halt 10000 wait_halt 10000
mww 0xfffffd08 0xa5000501 ;# RSTC_MR : enable user reset. mww 0xfffffd08 0xa5000501 ;# RSTC_MR : enable user reset.
@ -103,7 +103,7 @@ proc at91sam9g20_reset_init { } {
# Switch over to adaptive clocking. # Switch over to adaptive clocking.
adapter_khz 0 adapter speed 0
# Enable faster DCC downloads and memory accesses. # Enable faster DCC downloads and memory accesses.

View File

@ -7,6 +7,6 @@ reset_config srst_only
set CHIPNAME at91sam3n4c set CHIPNAME at91sam3n4c
adapter_khz 32 adapter speed 32
source [find target/at91sam3nXX.cfg] source [find target/at91sam3nXX.cfg]

View File

@ -9,7 +9,7 @@ transport select jtag
reset_config none reset_config none
# slow default clock # slow default clock
adapter_khz 1000 adapter speed 1000
set CHIPNAME uscale set CHIPNAME uscale

View File

@ -1,6 +1,6 @@
# BCM28155_AP # BCM28155_AP
adapter_khz 20000 adapter speed 20000
set CHIPNAME bcm28155 set CHIPNAME bcm28155
source [find target/bcm281xx.cfg] source [find target/bcm281xx.cfg]

View File

@ -1,7 +1,7 @@
# Toradex Colibri PXA270 # Toradex Colibri PXA270
source [find target/pxa270.cfg] source [find target/pxa270.cfg]
reset_config trst_and_srst srst_push_pull reset_config trst_and_srst srst_push_pull
adapter_nsrst_assert_width 40 adapter srst pulse_width 40
# CS0 -- one bank of CFI flash, 32 MBytes # CS0 -- one bank of CFI flash, 32 MBytes
# the bank is 32-bits wide, two 16-bit chips in parallel # the bank is 32-bits wide, two 16-bit chips in parallel

View File

@ -4,7 +4,7 @@ set CHIPNAME imote2
source [find target/pxa270.cfg] source [find target/pxa270.cfg]
# longer-than-normal reset delay # longer-than-normal reset delay
adapter_nsrst_delay 800 adapter srst delay 800
reset_config trst_and_srst separate reset_config trst_and_srst separate

View File

@ -19,7 +19,7 @@ if { [info exists ETM_DRIVER] } {
proc csb337_clk_init { } { proc csb337_clk_init { } {
# CPU is in Slow Clock Mode (32KiHz) ... needs slow JTAG clock # CPU is in Slow Clock Mode (32KiHz) ... needs slow JTAG clock
adapter_khz 8 adapter speed 8
# CKGR_MOR: start main oscillator (3.6864 MHz) # CKGR_MOR: start main oscillator (3.6864 MHz)
mww 0xfffffc20 0xff01 mww 0xfffffc20 0xff01
@ -37,7 +37,7 @@ proc csb337_clk_init { } {
sleep 20 sleep 20
# CPU is in Normal Mode ... allows faster JTAG clock speed # CPU is in Normal Mode ... allows faster JTAG clock speed
adapter_khz 40000 adapter speed 40000
} }
proc csb337_nor_init { } { proc csb337_nor_init { } {

View File

@ -3,7 +3,7 @@ source [find target/imx35.cfg]
# Determined by trial and error # Determined by trial and error
reset_config trst_and_srst combined reset_config trst_and_srst combined
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 200 jtag_ntrst_delay 200
$_TARGETNAME configure -event gdb-attach { reset init } $_TARGETNAME configure -event gdb-attach { reset init }

View File

@ -36,7 +36,7 @@ if { [info exists CPUTAPID] } {
set _TARGETNAME $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu
jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 0 jtag_ntrst_delay 0

View File

@ -13,6 +13,6 @@ ftdi_vid_pid 0x0403 0x6014
ftdi_layout_init 0x8008 0x800b ftdi_layout_init 0x8008 0x800b
adapter_khz 25000 adapter speed 25000
source [find cpld/xilinx-xc6s.cfg] source [find cpld/xilinx-xc6s.cfg]

View File

@ -103,7 +103,7 @@ proc dm365evm_init {} {
echo "Initialize DM365 EVM board" echo "Initialize DM365 EVM board"
# CLKIN = 24 MHz ... can't talk quickly to ARM yet # CLKIN = 24 MHz ... can't talk quickly to ARM yet
adapter_khz 1500 adapter speed 1500
# FIXME -- PLL init # FIXME -- PLL init

View File

@ -4,7 +4,7 @@
# http://dangerousprototypes.com/docs/Bus_Blaster # http://dangerousprototypes.com/docs/Bus_Blaster
# #
# To reprogram the on-board CPLD do: # To reprogram the on-board CPLD do:
# openocd -f board/dp_busblaster_v3.cfg -c "adapter_khz 1000; init; svf <path_to_svf>; shutdown" # openocd -f board/dp_busblaster_v3.cfg -c "adapter speed 1000; init; svf <path_to_svf>; shutdown"
# #
source [find interface/ftdi/dp_busblaster.cfg] source [find interface/ftdi/dp_busblaster.cfg]

View File

@ -5,7 +5,7 @@
source [find interface/jlink.cfg] source [find interface/jlink.cfg]
transport select swd transport select swd
adapter_khz 1000 adapter speed 1000
set CHIPNAME efm32 set CHIPNAME efm32
source [find target/efm32.cfg] source [find target/efm32.cfg]

View File

@ -5,7 +5,7 @@
# #
# NOTE: to use J-Link instead of the on-board interface, # NOTE: to use J-Link instead of the on-board interface,
# you may also need to reduce adapter_khz to be about 1200. # you may also need to reduce adapter speed to be about 1200.
# source [find interface/jlink.cfg] # source [find interface/jlink.cfg]
# include the FT2232 interface config for on-board JTAG interface # include the FT2232 interface config for on-board JTAG interface

View File

@ -15,7 +15,7 @@ proc read_register {register} {
proc init_board {} { proc init_board {} {
# Delays on reset lines # Delays on reset lines
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 1 jtag_ntrst_delay 1
# Adaptive JTAG clocking through RTCK. # Adaptive JTAG clocking through RTCK.

View File

@ -6,13 +6,13 @@
transport select jtag transport select jtag
# set a safe JTAG clock speed, can be overridden # set a safe JTAG clock speed, can be overridden
adapter_khz 1000 adapter speed 1000
# SRST and TRST are wired up # SRST and TRST are wired up
reset_config trst_and_srst reset_config trst_and_srst
# delay after SRST goes inactive # delay after SRST goes inactive
adapter_nsrst_delay 70 adapter srst delay 70
# board has an i.MX8MQ with 4 Cortex-A53 cores # board has an i.MX8MQ with 4 Cortex-A53 cores
set CHIPNAME imx8mq set CHIPNAME imx8mq

View File

@ -20,13 +20,13 @@ flash bank $_FLASHNAME cfi 0x10000000 0x400000 2 2 $_TARGETNAME
# Micrel MIC2775-29YM5 Supervisor # Micrel MIC2775-29YM5 Supervisor
# Reset output will remain active for 280ms (maximum) # Reset output will remain active for 280ms (maximum)
# #
adapter_nsrst_delay 300 adapter srst delay 300
jtag_ntrst_delay 300 jtag_ntrst_delay 300
arm7_9 fast_memory_access enable arm7_9 fast_memory_access enable
arm7_9 dcc_downloads enable arm7_9 dcc_downloads enable
adapter_khz 16000 adapter speed 16000
# Target events # Target events

View File

@ -13,7 +13,7 @@ transport select jtag
# iMX6Q POR gates JTAG and the chip is completely incommunicado # iMX6Q POR gates JTAG and the chip is completely incommunicado
# over JTAG for at least 10ms after nSRST is deasserted # over JTAG for at least 10ms after nSRST is deasserted
adapter_nsrst_delay 11 adapter srst delay 11
# Source generic iMX6Q target configuration # Source generic iMX6Q target configuration
set CHIPNAME imx6q set CHIPNAME imx6q
@ -144,4 +144,4 @@ $_TARGETNAME.0 configure -event reset-assert { }
# hook the init function into the reset-init event # hook the init function into the reset-init event
$_TARGETNAME.0 configure -event reset-init { imx6q_sabresd_init } $_TARGETNAME.0 configure -event reset-init { imx6q_sabresd_init }
# set a slow default JTAG clock, can be overridden later # set a slow default JTAG clock, can be overridden later
adapter_khz 1000 adapter speed 1000

View File

@ -19,12 +19,12 @@ source [find target/tmpa900.cfg]
# Initial JTAG speed should not exceed 1/6 of the initial CPU clock # Initial JTAG speed should not exceed 1/6 of the initial CPU clock
# frequency (24MHz). Be conservative and use 1/8 of the frequency. # frequency (24MHz). Be conservative and use 1/8 of the frequency.
# (24MHz / 8 = 3MHz) # (24MHz / 8 = 3MHz)
adapter_khz 3000 adapter speed 3000
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
# Upon reset, set the JTAG frequency to 3MHz again, see above. # Upon reset, set the JTAG frequency to 3MHz again, see above.
echo "Setting JTAG speed to 3MHz until clocks are initialized." echo "Setting JTAG speed to 3MHz until clocks are initialized."
adapter_khz 3000 adapter speed 3000
# Halt the CPU. # Halt the CPU.
halt halt
@ -41,7 +41,7 @@ $_TARGETNAME configure -event reset-init {
# Tests showed that 15MHz works OK, higher speeds can cause problems, # Tests showed that 15MHz works OK, higher speeds can cause problems,
# though. Not sure if this is a CPU issue or JTAG adapter issue. # though. Not sure if this is a CPU issue or JTAG adapter issue.
echo "Increasing JTAG speed to 15MHz." echo "Increasing JTAG speed to 15MHz."
adapter_khz 15000 adapter speed 15000
# Enable faster memory access. # Enable faster memory access.
arm7_9 fast_memory_access enable arm7_9 fast_memory_access enable

View File

@ -5,7 +5,7 @@
source [find target/hilscher_netx500.cfg] source [find target/hilscher_netx500.cfg]
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -5,7 +5,7 @@
source [find target/hilscher_netx500.cfg] source [find target/hilscher_netx500.cfg]
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -9,7 +9,7 @@ source [find target/hilscher_netx10.cfg]
# problems try to line below # problems try to line below
# reset_config trst_and_srst srst_pulls_trst # reset_config trst_and_srst srst_pulls_trst
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x08000000 -work-area-phys 0x08000000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x08000000 -work-area-phys 0x08000000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -5,7 +5,7 @@
source [find target/hilscher_netx50.cfg] source [find target/hilscher_netx50.cfg]
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x10000000 -work-area-phys 0x10000000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x10000000 -work-area-phys 0x10000000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -5,7 +5,7 @@
source [find target/hilscher_netx500.cfg] source [find target/hilscher_netx500.cfg]
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -5,7 +5,7 @@
source [find target/hilscher_netx500.cfg] source [find target/hilscher_netx500.cfg]
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 500 adapter srst delay 500
jtag_ntrst_delay 500 jtag_ntrst_delay 500
$_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-virt 0x1000 -work-area-phys 0x1000 -work-area-size 0x4000 -work-area-backup 1

View File

@ -11,5 +11,5 @@ source [find target/lpc17xx.cfg]
# startup @ 500kHz # startup @ 500kHz
adapter_khz 500 adapter speed 500

View File

@ -2,12 +2,12 @@
# http://www.hitex.com/ # http://www.hitex.com/
# Delays on reset lines # Delays on reset lines
adapter_nsrst_delay 50 adapter srst delay 50
jtag_ntrst_delay 1 jtag_ntrst_delay 1
# Maximum of 1/8 of clock frequency (XTAL = 16 MHz). # Maximum of 1/8 of clock frequency (XTAL = 16 MHz).
# Adaptive clocking through RTCK is not supported. # Adaptive clocking through RTCK is not supported.
adapter_khz 2000 adapter speed 2000
# Target device: LPC29xx with ETB # Target device: LPC29xx with ETB
# The following variables are used by the LPC2900 script: # The following variables are used by the LPC2900 script:
@ -24,7 +24,7 @@ $_TARGETNAME configure -work-area-phys 0x58000000 -work-area-size 0x10000 -work-
# Event handlers # Event handlers
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
# Back to the slow JTAG clock # Back to the slow JTAG clock
adapter_khz 2000 adapter speed 2000
} }
# External 16-bit flash at chip select CS7 (SST39VF3201-70, 4 MiB) # External 16-bit flash at chip select CS7 (SST39VF3201-70, 4 MiB)
@ -46,7 +46,7 @@ $_TARGETNAME configure -event reset-init {
mww 0xFFFF8070 0x02000000 ;# SYS_CLK_CONF: PLL mww 0xFFFF8070 0x02000000 ;# SYS_CLK_CONF: PLL
# Increase JTAG speed # Increase JTAG speed
adapter_khz 6000 adapter speed 6000
# Enable external memory bus (16-bit SRAM at CS6, 16-bit flash at CS7) # Enable external memory bus (16-bit SRAM at CS6, 16-bit flash at CS7)
mww 0xE0001138 0x0000001F ;# P1.14 = D0 mww 0xE0001138 0x0000001F ;# P1.14 = D0

View File

@ -12,5 +12,5 @@ source [find target/stm32f1x.cfg]
jtag newtap str750 cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id 0x4f1f0041 jtag newtap str750 cpu -irlen 4 -ircapture 0x1 -irmask 0x0f -expected-id 0x4f1f0041
# for some reason this board like to startup @ 500kHz # for some reason this board like to startup @ 500kHz
adapter_khz 500 adapter speed 500

View File

@ -5,9 +5,9 @@
source [find interface/ftdi/hitex_str9-comstick.cfg] source [find interface/ftdi/hitex_str9-comstick.cfg]
# set jtag speed # set jtag speed
adapter_khz 3000 adapter speed 3000
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
#use combined on interfaces or targets that can't set TRST/SRST separately #use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst reset_config trst_and_srst

View File

@ -15,7 +15,7 @@ echo "i.MX53 SO-Dimm board lodaded."
# Set reset type # Set reset type
#reset_config srst_only #reset_config srst_only
adapter_khz 3000 adapter speed 3000
# Slow speed to be sure it will work # Slow speed to be sure it will work
jtag_rclk 1000 jtag_rclk 1000
@ -58,7 +58,7 @@ proc sodimm_init { } {
arm core_state arm arm core_state arm
jtag_rclk 3000 jtag_rclk 3000
# adapter_khz 3000 # adapter speed 3000
} }

View File

@ -15,7 +15,7 @@ source [find target/at91sam9g45.cfg]
# Set reset type. # Set reset type.
# reset_config trst_and_srst # reset_config trst_and_srst
# adapter_nsrst_delay 200 # adapter srst delay 200
# jtag_ntrst_delay 200 # jtag_ntrst_delay 200
@ -58,7 +58,7 @@ proc at91sam9g45_start { } {
arm7_9 fast_memory_access disable arm7_9 fast_memory_access disable
# Slow-speed oscillator enabled at reset, so run jtag speed slow. # Slow-speed oscillator enabled at reset, so run jtag speed slow.
adapter_khz 4 adapter speed 4
# Make sure processor is halted, or error will result in following steps. # Make sure processor is halted, or error will result in following steps.
halt halt
wait_halt 10000 wait_halt 10000
@ -117,7 +117,7 @@ proc at91sam9g45_init { } {
# Switch over to adaptive clocking. # Switch over to adaptive clocking.
adapter_khz 6000 adapter speed 6000
# Enable faster DCC downloads. # Enable faster DCC downloads.

View File

@ -8,7 +8,7 @@ proc imx27lnst_init { } {
# This setup puts RAM at 0xA0000000 # This setup puts RAM at 0xA0000000
# reset the board correctly # reset the board correctly
adapter_khz 500 adapter speed 500
reset run reset run
reset halt reset halt

View File

@ -18,7 +18,7 @@ echo "iMX53 M53EVK board lodaded."
reset_config trst_and_srst separate trst_open_drain srst_open_drain reset_config trst_and_srst separate trst_open_drain srst_open_drain
# Run at 6 MHz # Run at 6 MHz
adapter_khz 6000 adapter speed 6000
$_TARGETNAME configure -event "reset-assert" { $_TARGETNAME configure -event "reset-assert" {
echo "Reseting ...." echo "Reseting ...."

View File

@ -13,7 +13,7 @@ echo "iMX53 Loco board lodaded."
# Set reset type # Set reset type
#reset_config srst_only #reset_config srst_only
adapter_khz 3000 adapter speed 3000
# Slow speed to be sure it will work # Slow speed to be sure it will work
jtag_rclk 1000 jtag_rclk 1000
@ -59,7 +59,7 @@ proc loco_init { } {
arm core_state arm arm core_state arm
jtag_rclk 3000 jtag_rclk 3000
# adapter_khz 3000 # adapter speed 3000
} }

View File

@ -5,4 +5,4 @@
source [find target/exynos5250.cfg] source [find target/exynos5250.cfg]
# Experimentally determined highest working speed # Experimentally determined highest working speed
adapter_khz 200 adapter speed 200

View File

@ -7,7 +7,7 @@ ftdi_layout_init 0x0008 0x000b
reset_config none reset_config none
transport select jtag transport select jtag
adapter_khz 25000 adapter speed 25000
source [find cpld/xilinx-xc7.cfg] source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg] source [find cpld/jtagspi.cfg]

View File

@ -5,7 +5,7 @@ source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg] source [find cpld/jtagspi.cfg]
source [find fpga/xilinx-xadc.cfg] source [find fpga/xilinx-xadc.cfg]
source [find fpga/xilinx-dna.cfg] source [find fpga/xilinx-dna.cfg]
adapter_khz 25000 adapter speed 25000
# example command to write bitstream, soft-cpu bios and runtime: # example command to write bitstream, soft-cpu bios and runtime:
# openocd -f board/kc705.cfg -c "init;\ # openocd -f board/kc705.cfg -c "init;\

View File

@ -8,4 +8,4 @@ source [find cpld/xilinx-xcu.cfg]
source [find cpld/jtagspi.cfg] source [find cpld/jtagspi.cfg]
adapter_khz 25000 adapter speed 25000

View File

@ -18,7 +18,7 @@ source [find target/imx31.cfg]
source [find target/imx.cfg] source [find target/imx.cfg]
$_TARGETNAME configure -event reset-init { kindle2_init } $_TARGETNAME configure -event reset-init { kindle2_init }
$_TARGETNAME configure -event reset-start { adapter_khz 1000 } $_TARGETNAME configure -event reset-start { adapter speed 1000 }
# 8MiB NOR Flash # 8MiB NOR Flash
set _FLASHNAME $_CHIPNAME.flash set _FLASHNAME $_CHIPNAME.flash
@ -36,7 +36,7 @@ jtag_ntrst_delay 30
# this is broken but enabled by default # this is broken but enabled by default
arm11 memwrite burst disable arm11 memwrite burst disable
adapter_khz 1000 adapter speed 1000
ftdi_tdo_sample_edge falling ftdi_tdo_sample_edge falling
proc kindle2_init {} { proc kindle2_init {} {

View File

@ -4,7 +4,7 @@
source [find target/pxa255.cfg] source [find target/pxa255.cfg]
adapter_nsrst_delay 250 adapter srst delay 250
jtag_ntrst_delay 250 jtag_ntrst_delay 250
# NOTE: until after pinmux and such are set up, only CS0 is # NOTE: until after pinmux and such are set up, only CS0 is

View File

@ -6,7 +6,7 @@
# Recommended MBFTDI programmer # Recommended MBFTDI programmer
source [find interface/ftdi/mbftdi.cfg] source [find interface/ftdi/mbftdi.cfg]
adapter_khz 2000 adapter speed 2000
transport select jtag transport select jtag
# Altera MAXII EPM240T100C CPLD # Altera MAXII EPM240T100C CPLD

View File

@ -6,7 +6,7 @@
# Built-in MBFTDI programmer # Built-in MBFTDI programmer
source [find interface/ftdi/mbftdi.cfg] source [find interface/ftdi/mbftdi.cfg]
adapter_khz 2000 adapter speed 2000
transport select jtag transport select jtag
# Cyclone III EP3C10E144 FPGA # Cyclone III EP3C10E144 FPGA

View File

@ -6,7 +6,7 @@
# Built-in MBFTDI programmer # Built-in MBFTDI programmer
source [find interface/ftdi/mbftdi.cfg] source [find interface/ftdi/mbftdi.cfg]
adapter_khz 2000 adapter speed 2000
transport select jtag transport select jtag
# MAX10 10M50SAE144C8GES FPGA # MAX10 10M50SAE144C8GES FPGA

View File

@ -11,7 +11,7 @@ set MCB1700_CCLK $CCLK
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
# Start *real slow* as we do not know the # Start *real slow* as we do not know the
# state the boot rom left the clock in # state the boot rom left the clock in
adapter_khz 10 adapter speed 10
} }
# Set up 100MHz clock to CPU # Set up 100MHz clock to CPU
@ -55,7 +55,7 @@ $_TARGETNAME configure -event reset-init {
# #
# #
global MCB1700_CCLK global MCB1700_CCLK
adapter_khz [expr $MCB1700_CCLK / 8] adapter speed [expr $MCB1700_CCLK / 8]
# Do not remap 0x0000-0x0020 to anything but the flash (i.e. select # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select
# "User Flash Mode" where interrupt vectors are _not_ remapped, # "User Flash Mode" where interrupt vectors are _not_ remapped,

View File

@ -4,7 +4,7 @@
# #
source [find interface/cmsis-dap.cfg] source [find interface/cmsis-dap.cfg]
adapter_khz 1000 adapter speed 1000
set CHIPNAME saml11 set CHIPNAME saml11
source [find target/atsaml1x.cfg] source [find target/atsaml1x.cfg]

View File

@ -111,7 +111,7 @@ target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
$_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 1 $_TARGETNAME configure -work-area-phys 0x40000000 -work-area-size 0x4000 -work-area-backup 1
#reset configuration #reset configuration
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
reset_config trst_and_srst reset_config trst_and_srst
@ -120,7 +120,7 @@ reset_config trst_and_srst
# IMPORTANT! See README at top of this file. # IMPORTANT! See README at top of this file.
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
adapter_khz 12000 adapter speed 12000
jtag interface jtag interface
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
@ -140,7 +140,7 @@ reset_config trst_and_srst
nand device s3c2440 0 nand device s3c2440 0
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
reset_config trst_and_srst reset_config trst_and_srst
init init

View File

@ -88,8 +88,8 @@ proc init_6410_flash {} {
} }
adapter_khz 1000 adapter speed 1000
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
reset_config trst_and_srst reset_config trst_and_srst

View File

@ -30,7 +30,7 @@ ftdi_tdo_sample_edge falling
# #
ftdi_layout_init 0x0008 0x004b ftdi_layout_init 0x0008 0x004b
reset_config none reset_config none
adapter_khz 30000 adapter speed 30000
source [find cpld/xilinx-xc7.cfg] source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg] source [find cpld/jtagspi.cfg]

View File

@ -3,12 +3,12 @@
transport select jtag transport select jtag
# set a safe speed, can be overridden # set a safe speed, can be overridden
adapter_khz 1000 adapter speed 1000
# reset configuration has TRST and SRST support # reset configuration has TRST and SRST support
reset_config trst_and_srst srst_push_pull reset_config trst_and_srst srst_push_pull
# need at least 100ms delay after SRST release for JTAG # need at least 100ms delay after SRST release for JTAG
adapter_nsrst_delay 100 adapter srst delay 100
# source the target file # source the target file
source [find target/imx7.cfg] source [find target/imx7.cfg]

View File

@ -6,13 +6,13 @@
transport select jtag transport select jtag
# set a safe JTAG clock speed, can be overridden # set a safe JTAG clock speed, can be overridden
adapter_khz 1000 adapter speed 1000
# default JTAG configuration has only SRST and no TRST # default JTAG configuration has only SRST and no TRST
reset_config srst_only srst_push_pull reset_config srst_only srst_push_pull
# delay after SRST goes inactive # delay after SRST goes inactive
adapter_nsrst_delay 70 adapter srst delay 70
# board has an i.MX8MQ with 4 Cortex-A53 cores # board has an i.MX8MQ with 4 Cortex-A53 cores
set CHIPNAME imx8mq set CHIPNAME imx8mq

View File

@ -2,7 +2,7 @@ source [find target/at91sam7a2.cfg]
# delays needed to get stable reads of cpu state # delays needed to get stable reads of cpu state
jtag_ntrst_delay 10 jtag_ntrst_delay 10
adapter_nsrst_delay 200 adapter srst delay 200
# board uses pullup and connects only srst # board uses pullup and connects only srst
reset_config srst_open_drain reset_config srst_open_drain
@ -10,9 +10,9 @@ reset_config srst_open_drain
# srst is connected to NRESET of CPU and fully resets everything... # srst is connected to NRESET of CPU and fully resets everything...
reset_config srst_only srst_pulls_trst reset_config srst_only srst_pulls_trst
adapter_khz 1 adapter speed 1
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
adapter_khz 1 adapter speed 1
} }
$_TARGETNAME configure -event reset-init { $_TARGETNAME configure -event reset-init {
@ -61,7 +61,7 @@ $_TARGETNAME configure -event reset-init {
echo "set up pll" echo "set up pll"
sleep 100 sleep 100
adapter_khz 5000 adapter speed 5000
} }
$_TARGETNAME arm7_9 dcc_downloads enable $_TARGETNAME arm7_9 dcc_downloads enable

View File

@ -3,7 +3,7 @@
source [find interface/ftdi/openrd.cfg] source [find interface/ftdi/openrd.cfg]
source [find target/feroceon.cfg] source [find target/feroceon.cfg]
adapter_khz 2000 adapter speed 2000
$_TARGETNAME configure \ $_TARGETNAME configure \
-work-area-phys 0x10000000 \ -work-area-phys 0x10000000 \

View File

@ -17,7 +17,7 @@ source [find target/or1k.cfg]
poll_period 1 poll_period 1
# Set the adapter speed # Set the adapter speed
adapter_khz 3000 adapter speed 3000
# Enable the target description feature # Enable the target description feature
gdb_target_description enable gdb_target_description enable

View File

@ -1,8 +1,8 @@
source [find target/lpc3250.cfg] source [find target/lpc3250.cfg]
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 1 jtag_ntrst_delay 1
adapter_khz 200 adapter speed 200
reset_config trst_and_srst separate reset_config trst_and_srst separate
arm7_9 dcc_downloads enable arm7_9 dcc_downloads enable
@ -11,11 +11,11 @@ $_TARGETNAME configure -event gdb-attach { reset init }
$_TARGETNAME configure -event reset-start { $_TARGETNAME configure -event reset-start {
arm7_9 fast_memory_access disable arm7_9 fast_memory_access disable
adapter_khz 200 adapter speed 200
} }
$_TARGETNAME configure -event reset-end { $_TARGETNAME configure -event reset-end {
adapter_khz 6000 adapter speed 6000
arm7_9 fast_memory_access enable arm7_9 fast_memory_access enable
} }

View File

@ -93,7 +93,7 @@ $_TARGETNAME configure -event reset-init {pxa255_sst_init}
reset_config trst_and_srst reset_config trst_and_srst
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 200 jtag_ntrst_delay 200
#xscale debug_handler 0 0xFFFF0800 ;# debug handler base address #xscale debug_handler 0 0xFFFF0800 ;# debug handler base address

View File

@ -10,6 +10,6 @@ ftdi_layout_signal nTRST -data 0x0100 -noe 0x0100
source [find target/quark_d20xx.cfg] source [find target/quark_d20xx.cfg]
adapter_khz 1000 adapter speed 1000
reset_config trst_only reset_config trst_only

View File

@ -4,6 +4,6 @@
source [find target/quark_x10xx.cfg] source [find target/quark_x10xx.cfg]
#default frequency but this can be adjusted at runtime #default frequency but this can be adjusted at runtime
adapter_khz 4000 adapter speed 4000
reset_config trst_only reset_config trst_only

View File

@ -12,8 +12,8 @@ source [find target/nuc910.cfg]
# #
reset_config trst_and_srst srst_pulls_trst reset_config trst_and_srst srst_pulls_trst
adapter_khz 1000 adapter speed 1000
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
$_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x04000000 -work-area-backup 0 $_TARGETNAME configure -work-area-phys 0x00000000 -work-area-size 0x04000000 -work-area-backup 0
@ -28,7 +28,7 @@ nand device $_NANDNAME nuc910 $_TARGETNAME
# Target events # Target events
# #
$_TARGETNAME configure -event reset-start {adapter_khz 1000} $_TARGETNAME configure -event reset-start {adapter speed 1000}
$_TARGETNAME configure -event reset-init { $_TARGETNAME configure -event reset-init {
# switch on PLL for 200MHz operation # switch on PLL for 200MHz operation
@ -47,7 +47,7 @@ $_TARGETNAME configure -event reset-init {
arm7_9 dcc_downloads enable arm7_9 dcc_downloads enable
arm7_9 fast_memory_access enable arm7_9 fast_memory_access enable
adapter_khz 15000 adapter speed 15000
# map nor flash to 0x20000000 # map nor flash to 0x20000000
# map sdram to 0x00000000 # map sdram to 0x00000000

View File

@ -26,7 +26,7 @@ ftdi_layout_init 0x0098 0x008b
#ftdi_layout_signal nTRST -data 0x0010 #ftdi_layout_signal nTRST -data 0x0010
reset_config none reset_config none
adapter_khz 5000 adapter speed 5000
transport select jtag transport select jtag

View File

@ -3,7 +3,7 @@
source [find interface/ftdi/sheevaplug.cfg] source [find interface/ftdi/sheevaplug.cfg]
source [find target/feroceon.cfg] source [find target/feroceon.cfg]
adapter_khz 2000 adapter speed 2000
$_TARGETNAME configure \ $_TARGETNAME configure \
-work-area-phys 0x10000000 \ -work-area-phys 0x10000000 \

View File

@ -1,7 +1,7 @@
# #
# Be sure you include the speed and interface before this file # Be sure you include the speed and interface before this file
# Example: # Example:
# -c "adapter_khz 5000" -f "interface/ftdi/olimex-arm-usb-tiny-h.cfg" -f "board/sifive-e31arty.cfg" # -c "adapter speed 5000" -f "interface/ftdi/olimex-arm-usb-tiny-h.cfg" -f "board/sifive-e31arty.cfg"
set _CHIPNAME riscv set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x20000001 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x20000001

View File

@ -1,7 +1,7 @@
# #
# Be sure you include the speed and interface before this file # Be sure you include the speed and interface before this file
# Example: # Example:
# -c "adapter_khz 5000" -f "interface/ftdi/olimex-arm-usb-tiny-h.cfg" -f "board/sifive-e51arty.cfg" # -c "adapter speed 5000" -f "interface/ftdi/olimex-arm-usb-tiny-h.cfg" -f "board/sifive-e51arty.cfg"
set _CHIPNAME riscv set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x20000001 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x20000001

View File

@ -1,4 +1,4 @@
adapter_khz 10000 adapter speed 10000
adapter driver ftdi adapter driver ftdi
ftdi_device_desc "Dual RS232-HS" ftdi_device_desc "Dual RS232-HS"
@ -10,7 +10,7 @@ ftdi_layout_signal nSRST -oe 0x0020 -data 0x0020
#Reset Stretcher logic on FE310 is ~1 second long #Reset Stretcher logic on FE310 is ~1 second long
#This doesn't apply if you use #This doesn't apply if you use
# ftdi_set_signal, but still good to document # ftdi_set_signal, but still good to document
#adapter_nsrst_delay 1500 #adapter srst delay 1500
set _CHIPNAME riscv set _CHIPNAME riscv
jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913 jtag newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x10e31913

View File

@ -10,10 +10,10 @@ source [find target/c100helper.tcl]
# Telo board & C100 support trst and srst # Telo board & C100 support trst and srst
# make the reset asserted to # make the reset asserted to
# allow RC circuit to discharge for: [ms] # allow RC circuit to discharge for: [ms]
adapter_nsrst_assert_width 100 adapter srst pulse_width 100
jtag_ntrst_assert_width 100 jtag_ntrst_assert_width 100
# don't talk to JTAG after reset for: [ms] # don't talk to JTAG after reset for: [ms]
adapter_nsrst_delay 100 adapter srst delay 100
jtag_ntrst_delay 100 jtag_ntrst_delay 100
reset_config trst_and_srst separate reset_config trst_and_srst separate
@ -23,11 +23,11 @@ reset_config trst_and_srst separate
# issue telnet: reset init # issue telnet: reset init
# issue gdb: monitor reset init # issue gdb: monitor reset init
$_TARGETNAME configure -event reset-init { $_TARGETNAME configure -event reset-init {
adapter_khz 100 adapter speed 100
# this will setup Telo board # this will setup Telo board
setupTelo setupTelo
#turn up the JTAG speed #turn up the JTAG speed
adapter_khz 3000 adapter speed 3000
echo "JTAG speek now 3MHz" echo "JTAG speek now 3MHz"
echo "type helpC100 to get help on C100" echo "type helpC100 to get help on C100"
} }

View File

@ -4,7 +4,7 @@
source [find interface/ftdi/xds100v2.cfg] source [find interface/ftdi/xds100v2.cfg]
transport select jtag transport select jtag
adapter_khz 30000 adapter speed 30000
source [find target/am437x.cfg] source [find target/am437x.cfg]
$_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 } $_TARGETNAME configure -event reset-init { init_platform 0x61a11b32 }

View File

@ -1,6 +1,6 @@
# Works on both AM437x GP EVM and AM438x ePOS EVM # Works on both AM437x GP EVM and AM438x ePOS EVM
transport select jtag transport select jtag
adapter_khz 16000 adapter speed 16000
source [find target/am437x.cfg] source [find target/am437x.cfg]

View File

@ -4,7 +4,7 @@
# The JTAG interface is built directly on the board. # The JTAG interface is built directly on the board.
source [find interface/ftdi/xds100v2.cfg] source [find interface/ftdi/xds100v2.cfg]
adapter_khz 16000 adapter speed 16000
reset_config trst_and_srst reset_config trst_and_srst

View File

@ -1,7 +1,7 @@
# AM335x Beaglebone Black # AM335x Beaglebone Black
# http://beagleboard.org/bone # http://beagleboard.org/bone
adapter_khz 1000 adapter speed 1000
reset_config trst_and_srst reset_config trst_and_srst

View File

@ -3,5 +3,5 @@
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
transport select jtag transport select jtag
adapter_khz 2500 adapter speed 2500
source [find target/ti_cc13x0.cfg] source [find target/ti_cc13x0.cfg]

View File

@ -2,6 +2,6 @@
# TI CC13x2 LaunchPad Evaluation Kit # TI CC13x2 LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select jtag transport select jtag
source [find target/ti_cc13x2.cfg] source [find target/ti_cc13x2.cfg]

View File

@ -2,6 +2,6 @@
# TI CC26x0 LaunchPad Evaluation Kit # TI CC26x0 LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select jtag transport select jtag
source [find target/ti_cc26x0.cfg] source [find target/ti_cc26x0.cfg]

View File

@ -2,6 +2,6 @@
# TI CC26x2 LaunchPad Evaluation Kit # TI CC26x2 LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select jtag transport select jtag
source [find target/ti_cc26x2.cfg] source [find target/ti_cc26x2.cfg]

View File

@ -12,7 +12,7 @@ if { [info exists TRANSPORT] } {
transport select jtag transport select jtag
} }
adapter_khz 2500 adapter speed 2500
set WORKAREASIZE 0x40000 set WORKAREASIZE 0x40000
source [find target/ti_cc32xx.cfg] source [find target/ti_cc32xx.cfg]

View File

@ -2,6 +2,6 @@
# TI CC3220SF-LaunchXL LaunchPad Evaluation Kit # TI CC3220SF-LaunchXL LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select swd transport select swd
source [find target/ti_cc3220sf.cfg] source [find target/ti_cc3220sf.cfg]

View File

@ -2,6 +2,6 @@
# TI CC32xx-LaunchXL LaunchPad Evaluation Kit # TI CC32xx-LaunchXL LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select swd transport select swd
source [find target/ti_cc32xx.cfg] source [find target/ti_cc32xx.cfg]

View File

@ -2,6 +2,6 @@
# TI MSP432 LaunchPad Evaluation Kit # TI MSP432 LaunchPad Evaluation Kit
# #
source [find interface/xds110.cfg] source [find interface/xds110.cfg]
adapter_khz 2500 adapter speed 2500
transport select swd transport select swd
source [find target/ti_msp432.cfg] source [find target/ti_msp432.cfg]

View File

@ -1,4 +1,4 @@
adapter_khz 1500 adapter speed 1500
source [find interface/ftdi/xds100v2.cfg] source [find interface/ftdi/xds100v2.cfg]
source [find target/ti_tms570.cfg] source [find target/ti_tms570.cfg]

View File

@ -5,7 +5,7 @@
# board does not feature anything but JTAG # board does not feature anything but JTAG
transport select jtag transport select jtag
adapter_khz 10000 adapter speed 10000
# SRST-only reset configuration # SRST-only reset configuration
reset_config srst_only srst_push_pull reset_config srst_only srst_push_pull

View File

@ -99,7 +99,7 @@ proc topas910_init { } {
mww 0xf4300004 0x00000000 mww 0xf4300004 0x00000000
sleep 10 sleep 10
# adapter_khz NNNN # adapter speed NNNN
# remap off in case of IROM boot # remap off in case of IROM boot
mww 0xf0000004 0x00000001 mww 0xf0000004 0x00000001

View File

@ -105,7 +105,7 @@ proc topasa900_init { } {
mww 0xf4300004 0x00000000 mww 0xf4300004 0x00000000
sleep 10 sleep 10
# adapter_khz NNNN # adapter speed NNNN
# remap off in case of IROM boot # remap off in case of IROM boot
mww 0xf0000004 0x00000001 mww 0xf0000004 0x00000001

View File

@ -198,4 +198,4 @@ proc board_init { } {
# hook the init function into the reset-init event # hook the init function into the reset-init event
${_TARGETNAME}0 configure -event reset-init { board_init } ${_TARGETNAME}0 configure -event reset-init { board_init }
# set a slow default JTAG clock, can be overridden later # set a slow default JTAG clock, can be overridden later
adapter_khz 1000 adapter speed 1000

View File

@ -8,7 +8,7 @@ source [find target/pxa270.cfg]
reset_config trst_and_srst separate reset_config trst_and_srst separate
# XM4 = 400MHz, XL6P = 600MHz...let's run at 0.1*400MHz=40MHz # XM4 = 400MHz, XL6P = 600MHz...let's run at 0.1*400MHz=40MHz
adapter_khz 40000 adapter speed 40000
# flash bank <driver> <base> <size> <chip_width> <bus_width> # flash bank <driver> <base> <size> <chip_width> <bus_width>
# XL6P has 32 MB flash # XL6P has 32 MB flash

View File

@ -13,7 +13,7 @@
source [find target/samsung_s3c2440.cfg] source [find target/samsung_s3c2440.cfg]
adapter_khz 16000 adapter speed 16000
# Samsung K9F1208U0C NAND flash chip (64MiB, 3.3V, 8-bit) # Samsung K9F1208U0C NAND flash chip (64MiB, 3.3V, 8-bit)
nand device $_CHIPNAME.nand s3c2440 $_TARGETNAME nand device $_CHIPNAME.nand s3c2440 $_TARGETNAME

View File

@ -72,7 +72,7 @@ $_TARGETNAME configure -event gdb-attach {
# other things than flash programming. # other things than flash programming.
$_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x20000 -work-area-backup 0 $_TARGETNAME configure -work-area-phys 0x00020000 -work-area-size 0x20000 -work-area-backup 0
adapter_khz 16000 adapter speed 16000
proc production_info {} { proc production_info {} {

View File

@ -6,6 +6,6 @@
# See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg. # See calao-usb-a9260-c01.cfg and calao-usb-a9260-c02.cfg.
# #
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 200 jtag_ntrst_delay 200

View File

@ -1,2 +1,2 @@
adapter driver ft232r adapter driver ft232r
adapter_khz 1000 adapter speed 1000

View File

@ -12,4 +12,4 @@ ftdi_layout_init 0x0008 0x000b
reset_config none reset_config none
# this generally works fast: the fpga can handle 30MHz, the spi flash can handle # this generally works fast: the fpga can handle 30MHz, the spi flash can handle
# 54MHz with simple read, no dummy cycles, and wait-for-write-completion # 54MHz with simple read, no dummy cycles, and wait-for-write-completion
adapter_khz 30000 adapter speed 30000

View File

@ -10,4 +10,4 @@ ftdi_layout_init 0x0008 0x000b
reset_config none reset_config none
# this generally works fast: the fpga can handle 30MHz, the spi flash can handle # this generally works fast: the fpga can handle 30MHz, the spi flash can handle
# 54MHz with simple read, no dummy cycles, and wait-for-write-completion # 54MHz with simple read, no dummy cycles, and wait-for-write-completion
adapter_khz 10000 adapter speed 10000

View File

@ -10,6 +10,6 @@ aice serial "C001-42163"
aice vid_pid 0x1CFC 0x0000 aice vid_pid 0x1CFC 0x0000
aice port aice_usb aice port aice_usb
reset_config trst_and_srst reset_config trst_and_srst
adapter_khz 24000 adapter speed 24000
aice retry_times 50 aice retry_times 50
aice count_to_check_dbger 30 aice count_to_check_dbger 30

View File

@ -50,9 +50,9 @@ if { [info exists IMEMORY] && [string equal $IMEMORY true] } {
} }
# JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz # JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz
adapter_khz 1000 adapter speed 1000
adapter_nsrst_delay 100 adapter srst delay 100
if {[using_jtag]} { if {[using_jtag]} {
jtag_ntrst_delay 100 jtag_ntrst_delay 100
} }

View File

@ -17,7 +17,7 @@ if { [info exists CPUTAPID] } {
set _CPUTAPID 0x3f0f0f0f set _CPUTAPID 0x3f0f0f0f
} }
adapter_nsrst_delay 200 adapter srst delay 200
jtag_ntrst_delay 200 jtag_ntrst_delay 200
## JTAG scan chain ## JTAG scan chain

Some files were not shown because too many files have changed in this diff Show More