2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-23 14:42:08 +10:00
openocd/tcl/target
Spencer Oliver 8d86633eb7 docs: update OpenOCD url's to openocd.org domain
Change-Id: I8b55c8d12773a1c36f2fd2afeecf20a74e890064
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/2698
Tested-by: jenkins
2015-04-16 20:28:21 +01:00
..
1986ве1т.cfg
aduc702x.cfg
alphascale_asm9260t.cfg tcl/target|board: add configs for Alphascale asm9260t 2015-02-22 17:57:02 +00:00
altera_fpgasoc.cfg
am335x.cfg tcl: icepick: add icepick_d_set_coreid 2015-04-14 11:23:56 +01:00
am437x.cfg tcl: icepick: add icepick_d_set_coreid 2015-04-14 11:23:56 +01:00
amdm37x.cfg docs: update OpenOCD url's to openocd.org domain 2015-04-16 20:28:21 +01:00
ar71xx.cfg
armada370.cfg cfg: Rename leftover cortex_a8 -> cortex_a 2014-07-08 19:33:18 +00:00
at32ap7000.cfg
at91r40008.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91rm9200.cfg
at91sam3ax_4x.cfg
at91sam3ax_8x.cfg Added tcl config scripts for SAM3A/X targets and devboard 2012-03-30 15:56:19 +00:00
at91sam3ax_xx.cfg Added tcl config scripts for SAM3A/X targets and devboard 2012-03-30 15:56:19 +00:00
at91sam3nXX.cfg
at91sam3sXX.cfg at91sam3s* support 2010-06-25 21:37:53 +02:00
at91sam3u1c.cfg
at91sam3u1e.cfg
at91sam3u2c.cfg
at91sam3u2e.cfg
at91sam3u4c.cfg
at91sam3u4e.cfg
at91sam3uxx.cfg
at91sam3XXX.cfg
at91sam4lXX.cfg AT91SAM4L: handle reset run/halt in SMAP 2015-04-14 15:47:43 +01:00
at91sam4sd32x.cfg
at91sam4sXX.cfg
at91sam4XXX.cfg
at91sam7a2.cfg target & board: AT91SAM7A2 and Olimex SAM7-LA2 2015-03-09 06:25:03 +00:00
at91sam7se512.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam7sx.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam7x256.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam7x512.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam9.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
at91sam9g10.cfg
at91sam9g20.cfg
at91sam9g45.cfg
at91sam9rl.cfg
at91sam9260_ext_RAM_ext_flash.cfg
at91sam9260.cfg
at91sam9261.cfg
at91sam9263.cfg
at91samdXX.cfg
at91samg5x.cfg
atheros_ar9331.cfg tcl/target|board: add config Atheros ar9331 2015-02-11 15:30:01 +00:00
atmega128.cfg
avr32.cfg
bcm47xx.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 2014-01-08 22:18:18 +00:00
bcm281xx.cfg
bcm4706.cfg
bcm4718.cfg
bcm5352e.cfg
bcm6348.cfg
c100.cfg
c100config.tcl
c100helper.tcl
c100regs.tcl
cc26xx.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 2015-02-11 15:22:40 +00:00
cc32xx.cfg cfg: add board and target configs for TI SimpleLink Wi-Fi CC3200 LaunchPad 2015-02-22 19:00:34 +00:00
cc2538.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 2015-02-11 15:22:40 +00:00
cs351x.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
davinci.cfg
dragonite.cfg
dsp56321.cfg
dsp568013.cfg
dsp568037.cfg
efm32_stlink.cfg
efm32.cfg
em357.cfg em357: Corrected EM357 support including errata details 2015-04-14 11:48:50 +01:00
em358.cfg em357: Corrected EM357 support including errata details 2015-04-14 11:48:50 +01:00
epc9301.cfg
faux.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
feroceon.cfg
fm3.cfg
fm4.cfg tcl/target: Add Spansion FM4 config 2015-04-14 11:50:44 +01:00
gp326xxxa.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
hilscher_netx10.cfg
hilscher_netx50.cfg
hilscher_netx500.cfg
icepick.cfg tcl: icepick: add icepick_d_set_coreid 2015-04-14 11:23:56 +01:00
imx6.cfg tcl/target/imx6: add yet another SJC tapid 2014-09-08 20:21:37 +00:00
imx21.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
imx25.cfg
imx27.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
imx28.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
imx31.cfg
imx35.cfg
imx51.cfg
imx53.cfg
imx.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
is5114.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
ixp42x.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
k40.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
k60.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
kl25.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
kl25z_hla.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
kl46.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
klx.cfg tcl/target: consolidate Kinetis configs 2015-01-26 20:57:41 +00:00
ks869x.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
kx.cfg cfg: Fix Kinetis kwikstik/kx config 2015-02-22 16:23:48 +00:00
lpc1xxx.cfg lpc2000: Add LPC407x/8x flash size auto detection 2015-03-09 06:26:06 +00:00
lpc2xxx.cfg
lpc8xx.cfg tcl/target: add lpc8xx.cfg 2015-01-30 09:40:55 +00:00
lpc11xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc12xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc13xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc17xx.cfg cfg: refactor lpc1xxx targets onto one base config 2014-09-08 23:05:08 +00:00
lpc40xx.cfg lpc2000: Add LPC407x/8x flash size auto detection 2015-03-09 06:26:06 +00:00
lpc1850.cfg
lpc2103.cfg
lpc2124.cfg
lpc2129.cfg Add another level of procedures to LPC2xxx initialization - procedures for specific targets (setup_lpc<number>) take core clock and adapter clock as parameters. This way "constant" parameters (flash size and type, CPUTAPID, etc.) do not need to be copied if one wishes to change the "variable" parameters - like the core clock or adapter clock - in a board config file or somewhere else. 2011-01-09 21:34:02 +01:00
lpc2148.cfg
lpc2294.cfg
lpc2378.cfg
lpc2460.cfg
lpc2478.cfg
lpc2900.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
lpc3131.cfg
lpc3250.cfg
lpc4350.cfg
m051.cfg mini51: support for Nuvoton NuMicro M051 series flash memory 2015-02-11 15:23:09 +00:00
mc13224v.cfg
mdr32f9q2i.cfg
nds32v2.cfg
nds32v3.cfg
nds32v3m.cfg
nrf51_stlink.tcl
nrf51.cfg nrf51 - Add async loader. Performance on nrf51822QAA/stlink-v2 from ~3.5KiB/s to ~19.5KiB/s. 2015-02-11 22:00:46 +00:00
nuc910.cfg
omap2420.cfg
omap3530.cfg
omap4430.cfg
omap4460.cfg
omap5912.cfg
omapl138.cfg
or1k.cfg
pic32mx.cfg
psoc4.cfg psoc4: support for Cypress PSoC 41xx/42xx family 2015-02-11 14:59:55 +00:00
pxa3xx.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
pxa255.cfg
pxa270.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
quark_x10xx.cfg
readme.txt
samsung_s3c2410.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
samsung_s3c2440.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
samsung_s3c2450.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
samsung_s3c4510.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
samsung_s3c6410.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
sharp_lh79532.cfg
sim3x.cfg sim3x: new flash driver for Silabs SiM3 microcontroller family 2015-02-11 22:05:22 +00:00
smp8634.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
spear3xx.cfg
stellaris_icdi.cfg
stellaris.cfg tcl/target/stellaris: Snowflake supports SYSRESETREQ too 2015-01-26 20:57:56 +00:00
stm32_stlink.cfg
stm32f0x_stlink.cfg
stm32f0x.cfg cfg: add srst_nogate to the supported targets, remove from board configs 2015-01-26 20:54:51 +00:00
stm32f1x_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f1x.cfg armv7m: add generic trace support (TPIU, ITM, etc.) 2015-03-25 20:46:43 +00:00
stm32f2x_stlink.cfg
stm32f2x.cfg armv7m: add generic trace support (TPIU, ITM, etc.) 2015-03-25 20:46:43 +00:00
stm32f3x_stlink.cfg
stm32f3x.cfg tcl/target/stm32f3: fix reset init for stlink 2015-04-16 20:26:36 +01:00
stm32f4x_stlink.cfg
stm32f4x.cfg armv7m: add generic trace support (TPIU, ITM, etc.) 2015-03-25 20:46:43 +00:00
stm32l0.cfg cfg: add srst_nogate to the supported targets, remove from board configs 2015-01-26 20:54:51 +00:00
stm32l1.cfg armv7m: add generic trace support (TPIU, ITM, etc.) 2015-03-25 20:46:43 +00:00
stm32l1x_dual_bank.cfg flash/nor/stm32lx: use 0 base to autodetect second bank location 2015-02-04 22:02:45 +00:00
stm32lx_stlink.cfg stm32l: split l0/l1 support no jtag, different HSI settings 2014-12-03 09:10:21 +00:00
stm32w108_stlink.cfg
stm32w108xx.cfg cfg: add srst_nogate to the supported targets, remove from board configs 2015-01-26 20:54:51 +00:00
stm32xl.cfg
str710.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
str730.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
str750.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
str912.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
swj-dp.tcl transport: make 'transport select' auto-select the first available transport if not set 2015-03-25 21:32:49 +00:00
test_reset_syntax_error.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
test_syntax_error.cfg
ti_calypso.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
ti_dm355.cfg
ti_dm365.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
ti_dm6446.cfg
ti_tms570.cfg
ti-ar7.cfg
ti-cjtag.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 2015-02-11 15:22:40 +00:00
tmpa900.cfg
tmpa910.cfg
u8500.cfg
xmc1xxx.cfg tcl/target: Add Infineon XMC1000 family target config 2015-04-14 11:52:20 +01:00
xmc4xxx.cfg tcl/target: Add Infineon XMC4000 family config 2015-04-14 11:36:04 +01:00
zynq_7000.cfg
к1879xб1я.cfg tcl/target: add config for К1879ХБ1Я, a hybrid ARM11/DSP SoC by RC Module 2014-09-08 22:26:35 +00:00

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.