riscv-openocd/tcl/target
Edward Fewell 5fd1cb0e5b icepick.cfg: add cancel reset bit to TAP register writes
The Agama family of devices (CC26x2/CC13x2) required an
additional bit to be set when adding the core's TAP into
the scan chain. The cancel reset bit 0x10000 tells the
ICEPick to take the bus out of reset so that the other
bits will take effect. This bit is a NOP on other devices
and ICEPicks, so the change shouldn't adversely affect
other devices.

Change-Id: I9245eef0936ea7eea28ae84ab5e8ce05fa63af40
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/4789
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2019-01-08 09:51:13 +00:00
..
marvell target: restructure dap support 2018-03-30 09:58:21 +01:00
1986ве1т.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
adsp-sc58x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
aduc702x.cfg
aducm360.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
allwinner_v3s.cfg tcl/target: add Allwinner V3s SoC support 2018-08-02 12:06:50 +01:00
alphascale_asm9260t.cfg
altera_fpgasoc.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
altera_fpgasoc_arria10.cfg target|board: Add Intel (Altera) Arria 10 target and related board 2018-07-31 18:57:17 +01:00
am335x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
am437x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
amdm37x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
ar71xx.cfg
armada370.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at32ap7000.cfg
at91r40008.cfg
at91rm9200.cfg
at91sam3XXX.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at91sam3ax_4x.cfg
at91sam3ax_8x.cfg
at91sam3ax_xx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3nXX.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at91sam3sXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3u1c.cfg
at91sam3u1e.cfg
at91sam3u2c.cfg
at91sam3u2e.cfg
at91sam3u4c.cfg
at91sam3u4e.cfg
at91sam3uxx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam4XXX.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at91sam4c32x.cfg at91sam4: Add flash description and chipid for SAM4Cxx variants. 2016-12-08 12:31:14 +00:00
at91sam4cXXX.cfg at91sam4: Add flash description and chipid for SAM4Cxx variants. 2016-12-08 12:31:14 +00:00
at91sam4lXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam4sXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam4sd32x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam7a2.cfg
at91sam7se512.cfg
at91sam7sx.cfg
at91sam7x256.cfg
at91sam7x512.cfg
at91sam9.cfg
at91sam9g10.cfg
at91sam9g20.cfg
at91sam9g45.cfg
at91sam9rl.cfg
at91sam9260.cfg
at91sam9260_ext_RAM_ext_flash.cfg
at91sam9261.cfg
at91sam9263.cfg
at91samdXX.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
at91samg5x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
atheros_ar2313.cfg
atheros_ar2315.cfg tcl/target|board: add config Atheros ar2315 2015-11-03 22:18:30 +00:00
atheros_ar9331.cfg tcl/target/atheros_ar9331: add documentation and extra helpers 2018-07-31 15:57:58 +01:00
atheros_ar9344.cfg target: atheros_ar9344: add simple uart0 test 2017-10-03 11:24:46 +01:00
atmega128.cfg
atmega128rfa1.cfg flash/nor: avrf: support atmega128rfa1 2017-02-13 17:42:36 +00:00
atsamv.cfg tcl: target: omit apcsw for hla 2018-10-31 21:15:52 +00:00
avr32.cfg
bcm47xx.cfg
bcm281xx.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
bcm4706.cfg
bcm4718.cfg
bcm5352e.cfg
bcm6348.cfg
bluenrg-x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
c100.cfg
c100config.tcl
c100helper.tcl
c100regs.tcl
cc2538.cfg flash/nor: update CC26xx/CC13xx support 2018-12-11 13:27:17 +00:00
cs351x.cfg
davinci.cfg
dragonite.cfg
dsp56321.cfg
dsp568013.cfg
dsp568037.cfg
efm32.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
efm32_stlink.cfg
em357.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
em358.cfg
epc9301.cfg
esi32xx.cfg esirisc: support eSi-RISC targets 2018-10-16 11:58:24 +01:00
exynos5250.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
faux.cfg
feroceon.cfg
fm3.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
fm4.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
fm4_mb9bf.cfg flash: New Spansion FM4 flash driver 2016-02-29 19:40:20 +00:00
fm4_s6e2cc.cfg flash: New Spansion FM4 flash driver 2016-02-29 19:40:20 +00:00
gp326xxxa.cfg
hi3798.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
hi6220.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
hilscher_netx10.cfg
hilscher_netx50.cfg
hilscher_netx500.cfg
icepick.cfg icepick.cfg: add cancel reset bit to TAP register writes 2019-01-08 09:51:13 +00:00
imx.cfg
imx6.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
imx7.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
imx8m.cfg target: add configuration for NXP MC-IMX8M-EVK 2018-04-10 09:12:35 +01:00
imx21.cfg
imx25.cfg
imx27.cfg
imx28.cfg
imx31.cfg
imx35.cfg
imx51.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
imx53.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
is5114.cfg
ixp42x.cfg
k40.cfg
k60.cfg
k1921vk01t.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
ke0x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
ke1xf.cfg flash Kinetis: implement automatic bank creation based on device probe 2017-06-17 12:01:45 +01:00
ke1xz.cfg flash Kinetis: implement automatic bank creation based on device probe 2017-06-17 12:01:45 +01:00
kl25.cfg
kl25z_hla.cfg
kl46.cfg
klx.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
ks869x.cfg
kx.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
lpc1xxx.cfg NOR: lpc2000 Add support for LPC84x devices 2019-01-02 21:54:03 +00:00
lpc2xxx.cfg
lpc8nxx.cfg Add LPC8Nxx and NHS3xx support. 2018-12-23 15:08:36 +00:00
lpc8xx.cfg
lpc11xx.cfg
lpc12xx.cfg
lpc13xx.cfg
lpc17xx.cfg
lpc40xx.cfg
lpc84x.cfg NOR: lpc2000 Add support for LPC84x devices 2019-01-02 21:54:03 +00:00
lpc1850.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
lpc2103.cfg
lpc2124.cfg
lpc2129.cfg
lpc2148.cfg
lpc2294.cfg
lpc2378.cfg
lpc2460.cfg
lpc2478.cfg
lpc2900.cfg
lpc3131.cfg
lpc3250.cfg
lpc4350.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
lpc4357.cfg
lpc4370.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
ls1012a.cfg tcl: target: Add NXP LS1012A config 2018-07-13 09:19:15 +01:00
max3263x.cfg max32xxx: Support for MAX32XXX devices. 2018-08-21 19:24:58 +01:00
max32620.cfg max32xxx: Support for MAX32XXX devices. 2018-08-21 19:24:58 +01:00
max32625.cfg max32xxx: Support for MAX32XXX devices. 2018-08-21 19:24:58 +01:00
mc13224v.cfg
mdr32f9q2i.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
nds32v2.cfg
nds32v3.cfg
nds32v3m.cfg
nhs31xx.cfg Add LPC8Nxx and NHS3xx support. 2018-12-23 15:08:36 +00:00
nrf51.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
nrf51_stlink.tcl
nrf52.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
nuc910.cfg
numicro.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
omap2420.cfg
omap3530.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
omap4430.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
omap4460.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
omap5912.cfg
omapl138.cfg
or1k.cfg
pic32mx.cfg
psoc4.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
psoc5lp.cfg psoc5lp: Add NV Latch flash driver 2018-06-06 18:12:21 +01:00
psoc6.cfg psoc6: Run flash algorithm asynchronously to improve performance 2018-04-23 20:42:06 +01:00
pxa3xx.cfg
pxa255.cfg
pxa270.cfg
qualcomm_qca4531.cfg tcl/target: add config for Qualcomm QCA4531 2018-07-31 15:55:33 +01:00
quark_d20xx.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
quark_x10xx.cfg
readme.txt
renesas_r8a7790.cfg tcl/target: Add Renesas R-Car R8A7790 H2 target 2018-04-18 13:38:35 +01:00
renesas_r8a7791.cfg tcl/target: Add Renesas R-Car R8A7791 M2W target 2018-04-09 20:18:29 +01:00
renesas_r8a7794.cfg tcl/target: Add Renesas R-Car R8A7794 E2 target 2018-06-25 09:26:59 +01:00
renesas_rcar_gen3.cfg tcl/target: Add Renesas R-Car Gen3 targets 2018-10-01 20:59:13 +01:00
renesas_s7g2.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
samsung_s3c2410.cfg
samsung_s3c2440.cfg
samsung_s3c2450.cfg
samsung_s3c4510.cfg
samsung_s3c6410.cfg
sharp_lh79532.cfg
sim3x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
smp8634.cfg
spear3xx.cfg
stellaris.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stellaris_icdi.cfg
stm8l.cfg stm8 : new target 2017-12-07 07:53:13 +00:00
stm8l152.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm8s.cfg stm8 : new target 2017-12-07 07:53:13 +00:00
stm8s003.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm8s105.cfg Added config files for stm8l152 stm8s003 and stm8s105 2018-01-12 20:22:46 +00:00
stm32_stlink.cfg
stm32f0x.cfg tcl/target/stm32f0x: Allow overriding the Flash bank size 2018-08-02 10:18:48 +01:00
stm32f0x_stlink.cfg
stm32f1x.cfg board: add configuration for stm32f103c8 "Blue Pill" 2018-04-23 08:55:11 +01:00
stm32f1x_stlink.cfg
stm32f2x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32f2x_stlink.cfg
stm32f3x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32f3x_stlink.cfg
stm32f4x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32f4x_stlink.cfg
stm32f7x.cfg target/stm32f7x: clarify reset_config comment 2018-11-18 08:21:05 +00:00
stm32h7x.cfg target/stm32h7x: Fix documentation of reset_config 2018-11-10 21:16:27 +00:00
stm32h7x_dual_bank.cfg Add STM32H7 config files 2017-12-06 21:29:41 +00:00
stm32l0.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32l0_dual_bank.cfg tcl STM32L0xx - add support for dual banked targets and for Nucleo-64 STM32L073 2017-04-24 21:57:57 +01:00
stm32l1.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32l1x_dual_bank.cfg
stm32l4x.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32lx_stlink.cfg
stm32w108_stlink.cfg
stm32w108xx.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
stm32xl.cfg
str710.cfg
str730.cfg
str750.cfg
str912.cfg
swj-dp.tcl
test_reset_syntax_error.cfg
test_syntax_error.cfg
ti-ar7.cfg
ti-cjtag.cfg
ti_calypso.cfg
ti_cc13x0.cfg flash/nor: Add support for TI CC26xx/CC13xx flash 2018-06-15 20:06:25 +01:00
ti_cc13x2.cfg flash/nor: Add support for TI CC26xx/CC13xx flash 2018-06-15 20:06:25 +01:00
ti_cc26x0.cfg flash/nor: Add support for TI CC26xx/CC13xx flash 2018-06-15 20:06:25 +01:00
ti_cc26x2.cfg flash/nor: Add support for TI CC26xx/CC13xx flash 2018-06-15 20:06:25 +01:00
ti_cc32xx.cfg flash/nor: Add support for TI CC3220SF internal flash 2018-06-06 15:38:25 +01:00
ti_cc3220sf.cfg flash/nor: Add support for TI CC3220SF internal flash 2018-06-06 15:38:25 +01:00
ti_dm355.cfg
ti_dm365.cfg
ti_dm6446.cfg
ti_msp432.cfg flash/nor: add support for TI MSP432 devices 2018-07-18 21:09:23 +01:00
ti_rm4x.cfg
ti_tms570.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
ti_tms570ls20xxx.cfg
ti_tms570ls3137.cfg
tmpa900.cfg
tmpa910.cfg
u8500.cfg tcl/target, board: remove useless gdb-attach event definitions 2018-11-26 09:31:09 +00:00
vybrid_vf6xx.cfg target: add Cortex-M4 target to VF6xx target 2018-04-12 20:49:48 +01:00
xilinx_ultrascale.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
xmc1xxx.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
xmc4xxx.cfg target: restructure dap support 2018-03-30 09:58:21 +01:00
xmos_xs1-xau8a-10_arm.cfg
zynq_7000.cfg zynq_7000: Add zynqpl_program command 2018-10-27 15:02:04 +01:00
к1879xб1я.cfg

readme.txt

Prerequisites:
The users of OpenOCD as well as computer programs interacting with OpenOCD are expecting that certain commands
do the same thing across all the targets.

Rules to follow when writing scripts:

1. The configuration script should be defined such as , for example, the following sequences are working:
	reset
	flash info <bank>
and
	reset
	flash erase_address <start> <len>
and
	reset init
	load

In most cases this can be accomplished by specifying the default startup mode as reset_init (target command
in the configuration file).

2. If the target is correctly configured, flash must be writable without any other helper commands. It is
assumed that all write-protect mechanisms should be disabled.

3. The configuration scripts should be defined such as the binary that was written to flash verifies
(turn off remapping, checksums, etc...)

flash write_image [file] <parameters>
verify_image [file] <parameters>

4. adapter_khz sets the maximum speed (or alternatively RCLK). If invoked
multiple times only the last setting is used.

interface/xxx.cfg files are always executed *before* target/xxx.cfg
files, so any adapter_khz in interface/xxx.cfg will be overridden by
target/xxx.cfg. adapter_khz in interface/xxx.cfg would then, effectively,
set the default JTAG speed.

Note that a target/xxx.cfg file can invoke another target/yyy.cfg file,
so one can create target subtype configurations where e.g. only
amount of DRAM, oscillator speeds differ and having a single
config file for the default/common settings.