2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 19:47:53 +10:00
openocd/tcl/target
Oleksij Rempel 5384d2c209 target: atheros_ar9344: add simple uart0 test
in some cases we need something to test if uart is actually
properly connected.

Change-Id: I5a16b053164b34bb30ae8370753be12887a85c51
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-on: http://openocd.zylin.com/4194
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2017-10-03 11:24:46 +01:00
..
1986ве1т.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
adsp-sc58x.cfg tcl: Support for Analog Devices ADSP-SC58x 2016-12-08 12:22:07 +00:00
aduc702x.cfg target: remove legacy target events 2012-05-21 16:19:28 +00:00
aducm360.cfg flash: Analog Devices ADuCM360 support 2015-09-30 22:12:16 +01:00
alphascale_asm9260t.cfg tcl/target|board: add configs for Alphascale asm9260t 2015-02-22 17:57:02 +00:00
altera_fpgasoc.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
am335x.cfg AM335x: Disable watchdog on 'reset halt' 2016-11-04 21:22:32 +00:00
am437x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
amdm37x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
ar71xx.cfg tcl: replace $TARGETNAME with $_TARGETNAME 2015-08-06 13:07:49 +01:00
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 Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3nXX.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
at91sam3sXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3u1c.cfg
at91sam3u1e.cfg update 'flash bank' usage in scripts 2009-11-19 13:39:41 -08:00
at91sam3u2c.cfg
at91sam3u2e.cfg
at91sam3u4c.cfg scripts: update flash bank names 2010-05-13 20:44:08 +01:00
at91sam3u4e.cfg Fix remaining incorrect reference to target/at91sam3uXX.cfg 2011-12-02 06:37:29 +00:00
at91sam3uxx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
at91sam3XXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +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
at91sam4sd32x.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
at91sam4XXX.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
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 Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
at91sam9g45.cfg
at91sam9rl.cfg
at91sam9260_ext_RAM_ext_flash.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
at91sam9260.cfg
at91sam9261.cfg
at91sam9263.cfg at91: add at91sam9263 support 2011-03-03 22:49:47 +01:00
at91samdXX.cfg tcl at91samdXX.cfg: partially revert change 3722 2017-01-15 11:01:00 +00:00
at91samg5x.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
atheros_ar2313.cfg tcl/target|board: add config Atheros ar2313 2015-11-03 22:18:27 +00:00
atheros_ar2315.cfg tcl/target|board: add config Atheros ar2315 2015-11-03 22:18:30 +00:00
atheros_ar9331.cfg tcl: replace $TARGETNAME with $_TARGETNAME 2015-08-06 13:07:49 +01:00
atheros_ar9344.cfg target: atheros_ar9344: add simple uart0 test 2017-10-03 11:24:46 +01:00
atmega128.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
atmega128rfa1.cfg flash/nor: avrf: support atmega128rfa1 2017-02-13 17:42:36 +00:00
atsamv.cfg flash: driver for Atmel SAMV, SAMS, and SAME 2015-11-10 20:27:09 +00:00
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 Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
bcm4706.cfg tcl: add ASUS RT-N66U config 2014-06-01 18:27:09 +00:00
bcm4718.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 2014-01-08 22:18:18 +00:00
bcm5352e.cfg tcl/board: add Linksys WRT54GL v1.1 board config 2014-01-08 22:18:25 +00:00
bcm6348.cfg tcl: bcm6348 target config, BT HomeHub v1 board config 2014-04-14 18:15:24 +00:00
c100.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
c100config.tcl
c100helper.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
c100regs.tcl TCL scripts: replace "puts" with "echo" 2010-11-09 08:12:51 +01:00
cc26xx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
cc32xx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01: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 target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
dsp56321.cfg
dsp568013.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
dsp568037.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
efm32_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
efm32.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
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
exynos5250.cfg tcl/target: Add Exynos5250 config 2015-10-30 12:42:06 +00:00
faux.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
feroceon.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
fm3.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +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
fm4.cfg fm4: Add JTAG support 2015-10-30 12:52:50 +00:00
gp326xxxa.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
hi6220.cfg tcl: add Hi6220 target and LeMaker HiKey board config 2017-02-24 09:54:46 +00:00
hilscher_netx10.cfg
hilscher_netx50.cfg
hilscher_netx500.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
icepick.cfg tcl: icepick: add icepick_d_set_coreid 2015-04-14 11:23:56 +01:00
imx6.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01: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 tcl: target: imx5{1,3}: remove bogus tapenable command 2016-12-25 09:44:01 +00:00
imx53.cfg tcl: target: imx5{1,3}: remove bogus tapenable command 2016-12-25 09:44:01 +00:00
imx.cfg
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
k1921vk01t.cfg flash/nor/niietcm4: minor fixes 2016-01-29 05:41:53 +00:00
ke0x.cfg tcl/target: make sure kex.cfg is not used for Kinetis KE1x families 2017-06-17 12:00:01 +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 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 flash Kinetis: handle all types of watchdog, disable in reset-init 2017-06-17 12:01:55 +01:00
ks869x.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
kx.cfg flash Kinetis: handle all types of watchdog, disable in reset-init 2017-06-17 12:01:55 +01:00
lpc1xxx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
lpc2xxx.cfg Export _TARGETNAME from generic LPC2xxx script 2012-02-07 06:32:33 +00:00
lpc8xx.cfg lpc8xx: Allow CHIPNAME override 2015-11-03 21:45:28 +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 Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
lpc2103.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
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 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
lpc2294.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
lpc2378.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
lpc2460.cfg
lpc2478.cfg
lpc2900.cfg target: Remove "-variant" argument 2014-09-22 19:39:24 +00:00
lpc3131.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 2012-03-30 16:01:51 +00:00
lpc3250.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
lpc4350.cfg tcl/target: Add LPC4357 config 2015-10-30 13:14:12 +00:00
lpc4357.cfg tcl/target: Add LPC4357 config 2015-10-30 13:14:12 +00:00
lpc4370.cfg tcl/target: Add configuration for NXP LPC4370 processor 2015-11-05 22:27:04 +00:00
mc13224v.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
mdr32f9q2i.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
nds32v2.cfg
nds32v3.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 2013-06-05 19:27:35 +00:00
nds32v3m.cfg
nrf51_stlink.tcl Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
nrf51.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
nrf52.cfg tcl/target: Add Nordic nRF52 config 2015-11-20 18:28:40 +00:00
nuc910.cfg
numicro.cfg numicro: Integrate Nuvoton NuMicro flash driver. 2015-09-30 22:12:39 +01:00
omap2420.cfg
omap3530.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
omap4430.cfg
omap4460.cfg
omap5912.cfg target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
omapl138.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
or1k.cfg openrisc: add support for JTAG Serial Port 2014-06-22 08:39:08 +00:00
pic32mx.cfg pic32mx: 0 wait state option 2013-04-02 15:12:44 +00:00
psoc4.cfg psoc4.cfg: fixed typo in message, add a hint 2016-08-13 09:02:47 +01:00
psoc5lp.cfg tcl/target: Add PSoC 5LP config 2016-05-22 15:47:34 +01: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_d20xx.cfg quark: add Intel Quark mcu D2000 support 2016-02-13 22:55:41 +00:00
quark_x10xx.cfg quark_x10xx: add new target quark_x10xx 2014-02-11 13:07:29 +00:00
readme.txt
renesas_s7g2.cfg tcl/target: Add Renesas S7G2 config 2015-12-29 20:38:05 +00:00
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 target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
stellaris_icdi.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stellaris.cfg tcl/target/stellaris: Snowflake supports SYSRESETREQ too 2015-01-26 20:57:56 +00:00
stm32_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f0x_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f0x.cfg tcl: Add default hooks for STM32F0x 2015-11-12 20:20:33 +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 cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +00:00
stm32f2x_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f2x.cfg cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +00:00
stm32f3x_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f3x.cfg cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +00:00
stm32f4x_stlink.cfg Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32f4x.cfg cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +00:00
stm32f7x.cfg cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +00: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
stm32l0.cfg stm32l0.cfg: Add examine-end event like on other STM32 targets. 2016-12-08 17:09:47 +00:00
stm32l1.cfg cfg: Don't check BS TAP IDCODE in STM32 configs 2016-11-04 21:18:21 +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
stm32l4x.cfg stm32l4: support flashing L45x/46x devices 2017-05-08 18:07:41 +01: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 Allow transports to override the selected target (hla configs unification) 2014-08-11 21:25:56 +00:00
stm32w108xx.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01: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 Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
ti_dm365.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
ti_dm6446.cfg Remove jtag_rclk from target configs 2013-10-29 22:49:35 +00:00
ti_msp432p4xx.cfg tcl/target: Add config for TI MSP432P4xx 2016-05-20 21:40:44 +01:00
ti_rm4x.cfg target/ti_tms570.cfg: added several JTAG IDs for TMS570LS family 2015-04-24 14:55:30 +01:00
ti_tms570.cfg Fix spelling of ARM Cortex 2016-05-20 21:38:03 +01:00
ti_tms570ls20xxx.cfg TI TMS570 USB Kit board config 2015-04-24 14:55:16 +01:00
ti_tms570ls3137.cfg TI TMS570 USB Kit board config 2015-04-24 14:55:16 +01:00
ti-ar7.cfg cfg: add Netgear DG834v3 configuration 2013-03-06 21:57:29 +00:00
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 target config files: Fix whitespace issues. 2011-11-07 16:16:33 +00:00
u8500.cfg
vybrid_vf6xx.cfg tcl/target: Add Freescale Vybrid VF6xx config 2015-08-06 13:08:36 +01:00
xmc1xxx.cfg flash/nor: Add Infineon XMC1000 flash driver 2016-05-05 07:50:59 +01:00
xmc4xxx.cfg flash: New driver for XMC4xxx microcontroller family 2015-11-11 12:08:35 +00:00
xmos_xs1-xau8a-10_arm.cfg tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core 2015-10-30 12:39:42 +00:00
zynq_7000.cfg zynq_7000: Add expected id for Zynq 7z100 devices 2017-06-30 21:21:27 +01:00
к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.