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.
 
 
 
 
 
 
Paul Fertser de9ebc5ce6 tcl/target: make milandr configs swd-compatible 9 years ago
..
1986ве1т.cfg tcl/target: make milandr configs swd-compatible 9 years ago
aduc702x.cfg target: remove legacy target events 10 years ago
altera_fpgasoc.cfg Remove jtag_rclk from target configs 9 years ago
am335x.cfg tcl: target: icepick: add icepick_d_tapenable procedure 9 years ago
am437x.cfg cfg: add TI am43xx devices 9 years ago
amdm37x.cfg Update URLs and names in amdm37x.cfg, no functional changes. 9 years ago
ar71xx.cfg TCL: fix non TCL comments 12 years ago
armada370.cfg armada370: initial support for Marvell Armada 370 family 9 years ago
at32ap7000.cfg at32ap7000 config file 12 years ago
at91r40008.cfg target config files: Fix whitespace issues. 11 years ago
at91rm9200.cfg target config files: Fix whitespace issues. 11 years ago
at91sam3XXX.cfg Make the Atmel SAM3 family SWD-aware 9 years ago
at91sam3ax_4x.cfg Added tcl config scripts for SAM3A/X targets and devboard 11 years ago
at91sam3ax_8x.cfg Added tcl config scripts for SAM3A/X targets and devboard 11 years ago
at91sam3ax_xx.cfg Added tcl config scripts for SAM3A/X targets and devboard 11 years ago
at91sam3nXX.cfg target: rename cortex_m3 to cortex_m 10 years ago
at91sam3sXX.cfg at91sam3s* support 12 years ago
at91sam3u1c.cfg update 'flash bank' usage in scripts 13 years ago
at91sam3u1e.cfg update 'flash bank' usage in scripts 13 years ago
at91sam3u2c.cfg update 'flash bank' usage in scripts 13 years ago
at91sam3u2e.cfg update 'flash bank' usage in scripts 13 years ago
at91sam3u4c.cfg scripts: update flash bank names 13 years ago
at91sam3u4e.cfg Fix remaining incorrect reference to target/at91sam3uXX.cfg 11 years ago
at91sam3uxx.cfg make sure file name case of at91sam3uxx matches what other files include 11 years ago
at91sam4XXX.cfg cfg: add initial Atmel xplained kit support 9 years ago
at91sam4lXX.cfg cfg: change default SAM4L cortex_m reset_config 9 years ago
at91sam4sXX.cfg cfg: add initial Atmel xplained kit support 9 years ago
at91sam4sd32x.cfg cfg: add initial Atmel xplained kit support 9 years ago
at91sam7se512.cfg target config files: Fix whitespace issues. 11 years ago
at91sam7sx.cfg at91sam7sx.cfg: fix use $_TARGETNAME as target identifier, not '0' warning 9 years ago
at91sam7x256.cfg target config files: Fix whitespace issues. 11 years ago
at91sam7x512.cfg at91sam7: add a new target config file for at91sam7x512 11 years ago
at91sam9.cfg Remove jtag_rclk from target configs 9 years ago
at91sam9g10.cfg at91: add at91sam9g10 support 12 years ago
at91sam9g20.cfg Remove jtag_rclk from target configs 9 years ago
at91sam9g45.cfg at91: add at91sam9g45 support 12 years ago
at91sam9rl.cfg target config files: Fix whitespace issues. 11 years ago
at91sam9260.cfg at91sam9260: update sram information 12 years ago
at91sam9260_ext_RAM_ext_flash.cfg Remove jtag_rclk from target configs 9 years ago
at91sam9261.cfg at91: add at91sam9261 support 12 years ago
at91sam9263.cfg at91: add at91sam9263 support 12 years ago
at91samdXX.cfg add support for Atmel SAMD NOR Flash 9 years ago
at91samg5x.cfg Add support for the Atmel SAMG53 9 years ago
atmega128.cfg target config files: Fix whitespace issues. 11 years ago
avr32.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 11 years ago
bcm47xx.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 9 years ago
bcm281xx.cfg bcm281xx: Add bcm281xx SoC and bcm28155_ap board 9 years ago
bcm4718.cfg tcl: add bcm47xx config and Asus RT-N16 board using it 9 years ago
bcm5352e.cfg tcl/board: add Linksys WRT54GL v1.1 board config 9 years ago
c100.cfg target config files: Fix whitespace issues. 11 years ago
c100config.tcl TCL scripts: replace "puts" with "echo" 12 years ago
c100helper.tcl TCL scripts: replace "puts" with "echo" 12 years ago
c100regs.tcl TCL scripts: replace "puts" with "echo" 12 years ago
cs351x.cfg target config files: Fix whitespace issues. 11 years ago
davinci.cfg target config files: Fix whitespace issues. 11 years ago
dragonite.cfg target config files: Fix whitespace issues. 11 years ago
dsp56321.cfg target config files: Fix whitespace issues. 11 years ago
dsp568013.cfg target config files: Fix whitespace issues. 11 years ago
dsp568037.cfg target config files: Fix whitespace issues. 11 years ago
efm32_stlink.cfg cfg: EFM32 supports SYSRESETREQ so use it 9 years ago
epc9301.cfg target config files: Fix whitespace issues. 11 years ago
faux.cfg target config files: Fix whitespace issues. 11 years ago
feroceon.cfg target config files: Fix whitespace issues. 11 years ago
fm3.cfg target: rename cortex_m3 to cortex_m 10 years ago
hilscher_netx10.cfg target config files: Fix whitespace issues. 11 years ago
hilscher_netx50.cfg target config files: Fix whitespace issues. 11 years ago
hilscher_netx500.cfg target config files: Fix whitespace issues. 11 years ago
icepick.cfg tcl: target: icepick: add icepick_d_tapenable procedure 9 years ago
imx.cfg target config files: Fix whitespace issues. 11 years ago
imx6.cfg target/imx6: Fix typo in setting _SJC_TAPID from SJC_TAPID variable 9 years ago
imx21.cfg target config files: Fix whitespace issues. 11 years ago
imx25.cfg target config files: Fix whitespace issues. 11 years ago
imx27.cfg target config files: Fix whitespace issues. 11 years ago
imx28.cfg cfg: remove whitespace 10 years ago
imx31.cfg target config files: Fix whitespace issues. 11 years ago
imx35.cfg target config files: Fix whitespace issues. 11 years ago
imx51.cfg target: Pull out the jtag_rtck from iMX5x files 9 years ago
imx53.cfg target: Pull out the jtag_rtck from iMX5x files 9 years ago
is5114.cfg Remove jtag_rclk from target configs 9 years ago
ixp42x.cfg target config files: Fix whitespace issues. 11 years ago
k40.cfg target: rename cortex_m3 to cortex_m 10 years ago
k60.cfg target: rename cortex_m3 to cortex_m 10 years ago
kl25.cfg cmsis-dap: add initial cmsis-dap support 9 years ago
kl25z_hla.cfg target: add kl25z HLA (stlink) config 9 years ago
kl46.cfg cfg: add Freescale FRDM-KL46Z Board 9 years ago
lpc2xxx.cfg Export _TARGETNAME from generic LPC2xxx script 11 years ago
lpc11uxx.cfg cmsis-dap: add initial cmsis-dap support 9 years ago
lpc17xx.cfg cfg: LPC17xx default to using SYSRESETREQ to reset target 9 years ago
lpc1751.cfg added target configs for the lpc17xx devices 10 years ago
lpc1752.cfg added target configs for the lpc17xx devices 10 years ago
lpc1754.cfg added target configs for the lpc17xx devices 10 years ago
lpc1756.cfg added target configs for the lpc17xx devices 10 years ago
lpc1758.cfg added target configs for the lpc17xx devices 10 years ago
lpc1759.cfg added target configs for the lpc17xx devices 10 years ago
lpc1763.cfg added target configs for the lpc17xx devices 10 years ago
lpc1764.cfg added target configs for the lpc17xx devices 10 years ago
lpc1765.cfg added target configs for the lpc17xx devices 10 years ago
lpc1766.cfg added target configs for the lpc17xx devices 10 years ago
lpc1767.cfg added target configs for the lpc17xx devices 10 years ago
lpc1768.cfg lpc1768.cfg abstracted and moved to lpc17xx.cfg 10 years ago
lpc1769.cfg added target configs for the lpc17xx devices 10 years ago
lpc1788.cfg target: rename cortex_m3 to cortex_m 10 years ago
lpc1850.cfg target: rename cortex_m3 to cortex_m 10 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. 12 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. 12 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. 12 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. 12 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. 12 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. 12 years ago
lpc2460.cfg Add support for the lpc2460 target 12 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. 12 years ago
lpc2900.cfg target config files: Fix whitespace issues. 11 years ago
lpc3131.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 11 years ago
lpc3250.cfg target config files: Fix whitespace issues. 11 years ago
lpc4350.cfg target: rename cortex_m3 to cortex_m 10 years ago
mc13224v.cfg Remove jtag_rclk from target configs 9 years ago
mdr32f9q2i.cfg tcl/target: make milandr configs swd-compatible 9 years ago
nds32v2.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 9 years ago
nds32v3.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 9 years ago
nds32v3m.cfg nds32: add new target type nds32_v2, nds32_v3, nds32_v3m 9 years ago
nrf51_stlink.tcl nrf51: Add UICR writing support 9 years ago
nuc910.cfg target config files: Fix whitespace issues. 11 years ago
omap2420.cfg target config files: Fix whitespace issues. 11 years ago
omap3530.cfg Remove jtag_rclk from target configs 9 years ago
omap4430.cfg target: rename cortex_a8 to cortex_a 10 years ago
omap4460.cfg target: rename cortex_a8 to cortex_a 10 years ago
omap5912.cfg target config files: Fix whitespace issues. 11 years ago
omapl138.cfg Remove jtag_rclk from target configs 9 years ago
or1k.cfg topic: Support for the Xilinx BSCAN_* Virtual JTAG in Openrisc 9 years ago
pic32mx.cfg pic32mx: 0 wait state option 10 years ago
pxa3xx.cfg target config files: Fix whitespace issues. 11 years ago
pxa255.cfg target config files: Fix whitespace issues. 11 years ago
pxa270.cfg target config files: Fix whitespace issues. 11 years ago
quark_x10xx.cfg quark_x10xx: add new target quark_x10xx 9 years ago
readme.txt rename jtag_khz as adapter_khz 13 years ago
samsung_s3c2410.cfg target config files: Fix whitespace issues. 11 years ago
samsung_s3c2440.cfg target config files: Fix whitespace issues. 11 years ago
samsung_s3c2450.cfg target config files: Fix whitespace issues. 11 years ago
samsung_s3c4510.cfg target config files: Fix whitespace issues. 11 years ago
samsung_s3c6410.cfg target config files: Fix whitespace issues. 11 years ago
sharp_lh79532.cfg target config files: Fix whitespace issues. 11 years ago
smp8634.cfg target config files: Fix whitespace issues. 11 years ago
spear3xx.cfg target config files: Fix whitespace issues. 11 years ago
stellaris.cfg target: rename cortex_m3 to cortex_m 10 years ago
stellaris_icdi.cfg icdi: add TI icdi interface 10 years ago
stm32_stlink.cfg stm32 configs: use 4kB working area size by default 10 years ago
stm32f0x.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32f0x_stlink.cfg cfg: increase stm32f0 default working area 11 years ago
stm32f1x.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32f1x_stlink.cfg stm32 configs: use 4kB working area size by default 10 years ago
stm32f2x.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32f2x_stlink.cfg cfg: allow stm32discovery parameter override 11 years ago
stm32f3x.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32f3x_stlink.cfg cfg: fix incorrect stm32f3 TAPID 10 years ago
stm32f4x.cfg cfg: Make stm32f4x usable with SWD transport 9 years ago
stm32f4x_stlink.cfg cfg: allow stm32discovery parameter override 11 years ago
stm32l.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32lx_dual_bank.cfg stm32lx_dual_bank.cfg: fix typo in file path 9 years ago
stm32lx_stlink.cfg stm32: add support for the STM32Lx 384kb dual bank flash 10 years ago
stm32w108_stlink.cfg stm32w: Added sample target configuration for STM32W108 with STLink-V2 10 years ago
stm32w108xx.cfg cfg: add stm32 cmsis-dap compliant config 9 years ago
stm32xl.cfg cfg: update scripts to use new stm32 driver names 11 years ago
str710.cfg target config files: Fix whitespace issues. 11 years ago
str730.cfg cfg: fix typo in str730.cfg 11 years ago
str750.cfg target config files: Fix whitespace issues. 11 years ago
str912.cfg Remove jtag_rclk from target configs 9 years ago
swj-dp.tcl cmsis-dap: add initial cmsis-dap support 9 years ago
test_reset_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 13 years ago
test_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 13 years ago
ti-ar7.cfg cfg: add Netgear DG834v3 configuration 10 years ago
ti_calypso.cfg config: Add TI Calypso CPU configuration 10 years ago
ti_dm355.cfg Remove jtag_rclk from target configs 9 years ago
ti_dm365.cfg Remove jtag_rclk from target configs 9 years ago
ti_dm6446.cfg Remove jtag_rclk from target configs 9 years ago
ti_tms570.cfg add TI TMS570 support scripts 9 years ago
tmpa900.cfg target config files: Fix whitespace issues. 11 years ago
tmpa910.cfg target config files: Fix whitespace issues. 11 years ago
u8500.cfg target: rename cortex_a8 to cortex_a 10 years ago
zynq_7000.cfg tcl: add Zynq-7000 target and Zedboard board configs 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.