You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andreas Färber 44d2c7b416 flash/nor: Add Infineon XMC1000 flash driver 8 years ago
..
1986ве1т.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
aduc702x.cfg target: remove legacy target events 12 years ago
aducm360.cfg flash: Analog Devices ADuCM360 support 8 years ago
alphascale_asm9260t.cfg tcl/target|board: add configs for Alphascale asm9260t 9 years ago
altera_fpgasoc.cfg cfg: Rename leftover cortex_a8 -> cortex_a 9 years ago
am335x.cfg AM335x: allow simultaneous debugging of A8 and M3 cores 8 years ago
am437x.cfg am437x: always use highest possible JTAG clock. 8 years ago
amdm37x.cfg docs: update OpenOCD url's to openocd.org domain 9 years ago
ar71xx.cfg tcl: replace $TARGETNAME with $_TARGETNAME 8 years ago
armada370.cfg cfg: Rename leftover cortex_a8 -> cortex_a 9 years ago
at32ap7000.cfg at32ap7000 config file 13 years ago
at91r40008.cfg target: Remove "-variant" argument 9 years ago
at91rm9200.cfg target config files: Fix whitespace issues. 12 years ago
at91sam3XXX.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
at91sam3ax_4x.cfg Added tcl config scripts for SAM3A/X targets and devboard 12 years ago
at91sam3ax_8x.cfg Added tcl config scripts for SAM3A/X targets and devboard 12 years ago
at91sam3ax_xx.cfg Added tcl config scripts for SAM3A/X targets and devboard 12 years ago
at91sam3nXX.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
at91sam3sXX.cfg at91sam3s* support 13 years ago
at91sam3u1c.cfg update 'flash bank' usage in scripts 14 years ago
at91sam3u1e.cfg update 'flash bank' usage in scripts 14 years ago
at91sam3u2c.cfg update 'flash bank' usage in scripts 14 years ago
at91sam3u2e.cfg update 'flash bank' usage in scripts 14 years ago
at91sam3u4c.cfg scripts: update flash bank names 14 years ago
at91sam3u4e.cfg Fix remaining incorrect reference to target/at91sam3uXX.cfg 12 years ago
at91sam3uxx.cfg make sure file name case of at91sam3uxx matches what other files include 12 years ago
at91sam4XXX.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
at91sam4lXX.cfg AT91SAM4L: handle reset run/halt in SMAP 9 years ago
at91sam4sXX.cfg cfg: add initial Atmel xplained kit support 10 years ago
at91sam4sd32x.cfg cfg: add initial Atmel xplained kit support 10 years ago
at91sam7a2.cfg target & board: AT91SAM7A2 and Olimex SAM7-LA2 9 years ago
at91sam7se512.cfg target: Remove "-variant" argument 9 years ago
at91sam7sx.cfg target: Remove "-variant" argument 9 years ago
at91sam7x256.cfg target: Remove "-variant" argument 9 years ago
at91sam7x512.cfg target: Remove "-variant" argument 9 years ago
at91sam9.cfg target: Remove "-variant" argument 9 years ago
at91sam9g10.cfg at91: add at91sam9g10 support 13 years ago
at91sam9g20.cfg Remove jtag_rclk from target configs 10 years ago
at91sam9g45.cfg at91: add at91sam9g45 support 13 years ago
at91sam9rl.cfg target config files: Fix whitespace issues. 12 years ago
at91sam9260.cfg at91sam9260: update sram information 13 years ago
at91sam9260_ext_RAM_ext_flash.cfg Remove jtag_rclk from target configs 10 years ago
at91sam9261.cfg at91: add at91sam9261 support 13 years ago
at91sam9263.cfg at91: add at91sam9263 support 13 years ago
at91samdXX.cfg at91samd: handle reset run/halt in DSU 8 years ago
at91samg5x.cfg Add support for the Atmel SAMG53 10 years ago
atheros_ar2313.cfg tcl/target|board: add config Atheros ar2313 8 years ago
atheros_ar2315.cfg tcl/target|board: add config Atheros ar2315 8 years ago
atheros_ar9331.cfg tcl: replace $TARGETNAME with $_TARGETNAME 8 years ago
atmega128.cfg target config files: Fix whitespace issues. 12 years ago
atsamv.cfg flash: driver for Atmel SAMV, SAMS, and SAME 8 years ago
avr32.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 12 years ago
bcm47xx.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 10 years ago
bcm281xx.cfg bcm281xx: Add bcm281xx SoC and bcm28155_ap board 10 years ago
bcm4706.cfg tcl: add ASUS RT-N66U config 9 years ago
bcm4718.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 10 years ago
bcm5352e.cfg tcl/board: add Linksys WRT54GL v1.1 board config 10 years ago
bcm6348.cfg tcl: bcm6348 target config, BT HomeHub v1 board config 10 years ago
c100.cfg target config files: Fix whitespace issues. 12 years ago
c100config.tcl TCL scripts: replace "puts" with "echo" 13 years ago
c100helper.tcl TCL scripts: replace "puts" with "echo" 13 years ago
c100regs.tcl TCL scripts: replace "puts" with "echo" 13 years ago
cc26xx.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 9 years ago
cc32xx.cfg cfg: add board and target configs for TI SimpleLink Wi-Fi CC3200 LaunchPad 9 years ago
cc2538.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 9 years ago
cs351x.cfg target: Remove "-variant" argument 9 years ago
davinci.cfg target config files: Fix whitespace issues. 12 years ago
dragonite.cfg target config files: Fix whitespace issues. 12 years ago
dsp56321.cfg target config files: Fix whitespace issues. 12 years ago
dsp568013.cfg target config files: Fix whitespace issues. 12 years ago
dsp568037.cfg target config files: Fix whitespace issues. 12 years ago
efm32.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
efm32_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
em357.cfg em357: Corrected EM357 support including errata details 9 years ago
em358.cfg em357: Corrected EM357 support including errata details 9 years ago
epc9301.cfg target config files: Fix whitespace issues. 12 years ago
exynos5250.cfg tcl/target: Add Exynos5250 config 8 years ago
faux.cfg target: Remove "-variant" argument 9 years ago
feroceon.cfg target config files: Fix whitespace issues. 12 years ago
fm3.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
fm4.cfg fm4: Add JTAG support 8 years ago
fm4_mb9bf.cfg flash: New Spansion FM4 flash driver 8 years ago
fm4_s6e2cc.cfg flash: New Spansion FM4 flash driver 8 years ago
gp326xxxa.cfg target: Remove "-variant" argument 9 years ago
hilscher_netx10.cfg target config files: Fix whitespace issues. 12 years ago
hilscher_netx50.cfg target config files: Fix whitespace issues. 12 years ago
hilscher_netx500.cfg target config files: Fix whitespace issues. 12 years ago
icepick.cfg tcl: icepick: add icepick_d_set_coreid 9 years ago
imx.cfg target config files: Fix whitespace issues. 12 years ago
imx6.cfg tcl/target/imx6: add yet another SJC tapid 9 years ago
imx21.cfg target: Remove "-variant" argument 9 years ago
imx25.cfg target config files: Fix whitespace issues. 12 years ago
imx27.cfg target: Remove "-variant" argument 9 years ago
imx28.cfg target: Remove "-variant" argument 9 years ago
imx31.cfg target config files: Fix whitespace issues. 12 years ago
imx35.cfg target config files: Fix whitespace issues. 12 years ago
imx51.cfg target: Pull out the jtag_rtck from iMX5x files 10 years ago
imx53.cfg target: Pull out the jtag_rtck from iMX5x files 10 years ago
is5114.cfg target: Remove "-variant" argument 9 years ago
ixp42x.cfg target: Remove "-variant" argument 9 years ago
k40.cfg tcl/target: consolidate Kinetis configs 9 years ago
k60.cfg tcl/target: consolidate Kinetis configs 9 years ago
k1921vk01t.cfg flash/nor/niietcm4: minor fixes 8 years ago
ke02.cfg flash: Added support for Freescale Kinetis KE family. 8 years ago
ke04.cfg flash: Added support for Freescale Kinetis KE family. 8 years ago
ke06.cfg flash: Added support for Freescale Kinetis KE family. 8 years ago
kex.cfg flash: Added support for Freescale Kinetis KE family. 8 years ago
kl25.cfg tcl/target: consolidate Kinetis configs 9 years ago
kl25z_hla.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
kl46.cfg tcl/target: consolidate Kinetis configs 9 years ago
klx.cfg tcl/target: consolidate Kinetis configs 9 years ago
ks869x.cfg target: Remove "-variant" argument 9 years ago
kx.cfg cfg: Fix Kinetis kwikstik/kx config 9 years ago
lpc1xxx.cfg lpc2000: Add LPC407x/8x flash size auto detection 9 years ago
lpc2xxx.cfg Export _TARGETNAME from generic LPC2xxx script 12 years ago
lpc8xx.cfg lpc8xx: Allow CHIPNAME override 8 years ago
lpc11xx.cfg cfg: refactor lpc1xxx targets onto one base config 9 years ago
lpc12xx.cfg cfg: refactor lpc1xxx targets onto one base config 9 years ago
lpc13xx.cfg cfg: refactor lpc1xxx targets onto one base config 9 years ago
lpc17xx.cfg cfg: refactor lpc1xxx targets onto one base config 9 years ago
lpc40xx.cfg lpc2000: Add LPC407x/8x flash size auto detection 9 years ago
lpc1850.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
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. 13 years ago
lpc2124.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. 13 years ago
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. 13 years ago
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. 13 years ago
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. 13 years ago
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. 13 years ago
lpc2460.cfg Add support for the lpc2460 target 13 years ago
lpc2478.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. 13 years ago
lpc2900.cfg target: Remove "-variant" argument 9 years ago
lpc3131.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 12 years ago
lpc3250.cfg target config files: Fix whitespace issues. 12 years ago
lpc4350.cfg tcl/target: Add LPC4357 config 8 years ago
lpc4357.cfg tcl/target: Add LPC4357 config 8 years ago
lpc4370.cfg tcl/target: Add configuration for NXP LPC4370 processor 8 years ago
mc13224v.cfg Remove jtag_rclk from target configs 10 years ago
mdr32f9q2i.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
nds32v2.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 10 years ago
nds32v3.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 10 years ago
nds32v3m.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 10 years ago
nrf51.cfg nrf51 - Add async loader. Performance on nrf51822QAA/stlink-v2 from ~3.5KiB/s to ~19.5KiB/s. 9 years ago
nrf51_stlink.tcl Allow transports to override the selected target (hla configs unification) 9 years ago
nrf52.cfg tcl/target: Add Nordic nRF52 config 8 years ago
nuc910.cfg target config files: Fix whitespace issues. 12 years ago
numicro.cfg numicro: Integrate Nuvoton NuMicro flash driver. 8 years ago
omap2420.cfg target config files: Fix whitespace issues. 12 years ago
omap3530.cfg Remove jtag_rclk from target configs 10 years ago
omap4430.cfg target: rename cortex_a8 to cortex_a 11 years ago
omap4460.cfg target: rename cortex_a8 to cortex_a 11 years ago
omap5912.cfg target config files: Fix whitespace issues. 12 years ago
omapl138.cfg Remove jtag_rclk from target configs 10 years ago
or1k.cfg openrisc: add support for JTAG Serial Port 9 years ago
pic32mx.cfg pic32mx: 0 wait state option 11 years ago
psoc4.cfg psoc4: support for Cypress PSoC 41xx/42xx family 9 years ago
pxa3xx.cfg target: Remove "-variant" argument 9 years ago
pxa255.cfg target config files: Fix whitespace issues. 12 years ago
pxa270.cfg target: Remove "-variant" argument 9 years ago
quark_d20xx.cfg quark: add Intel Quark mcu D2000 support 8 years ago
quark_x10xx.cfg quark_x10xx: add new target quark_x10xx 10 years ago
readme.txt rename jtag_khz as adapter_khz 14 years ago
renesas_s7g2.cfg tcl/target: Add Renesas S7G2 config 8 years ago
samsung_s3c2410.cfg target: Remove "-variant" argument 9 years ago
samsung_s3c2440.cfg target: Remove "-variant" argument 9 years ago
samsung_s3c2450.cfg target: Remove "-variant" argument 9 years ago
samsung_s3c4510.cfg target config files: Fix whitespace issues. 12 years ago
samsung_s3c6410.cfg target: Remove "-variant" argument 9 years ago
sharp_lh79532.cfg target config files: Fix whitespace issues. 12 years ago
sim3x.cfg sim3x: new flash driver for Silabs SiM3 microcontroller family 9 years ago
smp8634.cfg target: Remove "-variant" argument 9 years ago
spear3xx.cfg target config files: Fix whitespace issues. 12 years ago
stellaris.cfg tcl/target/stellaris: Snowflake supports SYSRESETREQ too 9 years ago
stellaris_icdi.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f0x.cfg tcl: Add default hooks for STM32F0x 8 years ago
stm32f0x_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f1x.cfg armv7m: add generic trace support (TPIU, ITM, etc.) 9 years ago
stm32f1x_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f2x.cfg stm32xxx.cfg: Only touch IWDG and WWDG in DBGMCU_APB1_FZ. 8 years ago
stm32f2x_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f3x.cfg stm32xxx.cfg: Only touch IWDG and WWDG in DBGMCU_APB1_FZ. 8 years ago
stm32f3x_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f4x.cfg tcl/target/stm32f4: fix: reduce adapter speed before reset 8 years ago
stm32f4x_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32f7x.cfg stm32xxx.cfg: Only touch IWDG and WWDG in DBGMCU_APB1_FZ. 8 years ago
stm32l0.cfg cfg: add srst_nogate to the supported targets, remove from board configs 9 years ago
stm32l1.cfg stm32xxx.cfg: Only touch IWDG and WWDG in DBGMCU_APB1_FZ. 8 years ago
stm32l1x_dual_bank.cfg flash/nor/stm32lx: use 0 base to autodetect second bank location 9 years ago
stm32l4x.cfg stm32l4: Add cpu and stm32l4discovery board configuration. 8 years ago
stm32lx_stlink.cfg stm32l: split l0/l1 support no jtag, different HSI settings 9 years ago
stm32w108_stlink.cfg Allow transports to override the selected target (hla configs unification) 9 years ago
stm32w108xx.cfg cfg: add srst_nogate to the supported targets, remove from board configs 9 years ago
stm32xl.cfg cfg: update scripts to use new stm32 driver names 12 years ago
str710.cfg target: Remove "-variant" argument 9 years ago
str730.cfg target: Remove "-variant" argument 9 years ago
str750.cfg target: Remove "-variant" argument 9 years ago
str912.cfg target: Remove "-variant" argument 9 years ago
swj-dp.tcl transport: make 'transport select' auto-select the first available transport if not set 9 years ago
test_reset_syntax_error.cfg target: Remove "-variant" argument 9 years ago
test_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
ti-ar7.cfg cfg: add Netgear DG834v3 configuration 11 years ago
ti-cjtag.cfg tcl/target: add CC2538 and CC26xx target files (with cJTAG procedure) 9 years ago
ti_calypso.cfg target: Remove "-variant" argument 9 years ago
ti_dm355.cfg Remove jtag_rclk from target configs 10 years ago
ti_dm365.cfg Remove jtag_rclk from target configs 10 years ago
ti_dm6446.cfg Remove jtag_rclk from target configs 10 years ago
ti_rm4x.cfg target/ti_tms570.cfg: added several JTAG IDs for TMS570LS family 9 years ago
ti_tms570.cfg target/ti_tms570.cfg: added several JTAG IDs for TMS570LS family 9 years ago
ti_tms570ls20xxx.cfg TI TMS570 USB Kit board config 9 years ago
ti_tms570ls3137.cfg TI TMS570 USB Kit board config 9 years ago
tmpa900.cfg target config files: Fix whitespace issues. 12 years ago
tmpa910.cfg target config files: Fix whitespace issues. 12 years ago
u8500.cfg target: rename cortex_a8 to cortex_a 11 years ago
vybrid_vf6xx.cfg tcl/target: Add Freescale Vybrid VF6xx config 8 years ago
xmc1xxx.cfg flash/nor: Add Infineon XMC1000 flash driver 8 years ago
xmc4xxx.cfg flash: New driver for XMC4xxx microcontroller family 8 years ago
xmos_xs1-xau8a-10_arm.cfg tcl/target: Add config for XMOS XS1-XAU8A-10's ARM core 8 years ago
zynq_7000.cfg zynq_7000: Add expected ID 8 years ago
к1879xб1я.cfg tcl/target: add config for К1879ХБ1Я, a hybrid ARM11/DSP SoC by RC Module 9 years ago

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.