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.
 
 
 
 
 
 
Mathias K d6334188ec config: Add TI Calypso CPU configuration 10 years ago
..
aduc702x.cfg target: remove legacy target events 10 years ago
am335x.cfg cfg: Beaglebone/AM335x refactor 10 years ago
amdm37x.cfg target config files: Fix whitespace issues. 10 years ago
ar71xx.cfg TCL: fix non TCL comments 11 years ago
at32ap7000.cfg at32ap7000 config file 11 years ago
at91r40008.cfg target config files: Fix whitespace issues. 10 years ago
at91rm9200.cfg target config files: Fix whitespace issues. 10 years ago
at91sam3XXX.cfg Added tcl config scripts for SAM3A/X targets and devboard 10 years ago
at91sam3ax_4x.cfg Added tcl config scripts for SAM3A/X targets and devboard 10 years ago
at91sam3ax_8x.cfg Added tcl config scripts for SAM3A/X targets and devboard 10 years ago
at91sam3ax_xx.cfg Added tcl config scripts for SAM3A/X targets and devboard 10 years ago
at91sam3nXX.cfg target config files: Fix whitespace issues. 10 years ago
at91sam3sXX.cfg at91sam3s* support 12 years ago
at91sam3u1c.cfg update 'flash bank' usage in scripts 12 years ago
at91sam3u1e.cfg update 'flash bank' usage in scripts 12 years ago
at91sam3u2c.cfg update 'flash bank' usage in scripts 12 years ago
at91sam3u2e.cfg update 'flash bank' usage in scripts 12 years ago
at91sam3u4c.cfg scripts: update flash bank names 12 years ago
at91sam3u4e.cfg Fix remaining incorrect reference to target/at91sam3uXX.cfg 10 years ago
at91sam3uxx.cfg make sure file name case of at91sam3uxx matches what other files include 10 years ago
at91sam4XXX.cfg topic: Added support for the SAM4S variants 10 years ago
at91sam4sXX.cfg topic: Added support for the SAM4S variants 10 years ago
at91sam7se512.cfg target config files: Fix whitespace issues. 10 years ago
at91sam7sx.cfg target config files: Fix whitespace issues. 10 years ago
at91sam7x256.cfg target config files: Fix whitespace issues. 10 years ago
at91sam7x512.cfg at91sam7: add a new target config file for at91sam7x512 10 years ago
at91sam9.cfg target config files: Fix whitespace issues. 10 years ago
at91sam9g10.cfg at91: add at91sam9g10 support 11 years ago
at91sam9g20.cfg at91sam9: factorise cpu support 11 years ago
at91sam9g45.cfg at91: add at91sam9g45 support 11 years ago
at91sam9rl.cfg target config files: Fix whitespace issues. 10 years ago
at91sam9260.cfg at91sam9260: update sram information 11 years ago
at91sam9260_ext_RAM_ext_flash.cfg target config files: Fix whitespace issues. 10 years ago
at91sam9261.cfg at91: add at91sam9261 support 11 years ago
at91sam9263.cfg at91: add at91sam9263 support 11 years ago
atmega128.cfg target config files: Fix whitespace issues. 10 years ago
avr32.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 10 years ago
c100.cfg target config files: Fix whitespace issues. 10 years ago
c100config.tcl TCL scripts: replace "puts" with "echo" 11 years ago
c100helper.tcl TCL scripts: replace "puts" with "echo" 11 years ago
c100regs.tcl TCL scripts: replace "puts" with "echo" 11 years ago
cs351x.cfg target config files: Fix whitespace issues. 10 years ago
davinci.cfg target config files: Fix whitespace issues. 10 years ago
dragonite.cfg target config files: Fix whitespace issues. 10 years ago
dsp56321.cfg target config files: Fix whitespace issues. 10 years ago
dsp568013.cfg target config files: Fix whitespace issues. 10 years ago
dsp568037.cfg target config files: Fix whitespace issues. 10 years ago
epc9301.cfg target config files: Fix whitespace issues. 10 years ago
faux.cfg target config files: Fix whitespace issues. 10 years ago
feroceon.cfg target config files: Fix whitespace issues. 10 years ago
fm3.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 10 years ago
hilscher_netx10.cfg target config files: Fix whitespace issues. 10 years ago
hilscher_netx50.cfg target config files: Fix whitespace issues. 10 years ago
hilscher_netx500.cfg target config files: Fix whitespace issues. 10 years ago
icepick.cfg target config files: Fix whitespace issues. 10 years ago
imx.cfg target config files: Fix whitespace issues. 10 years ago
imx21.cfg target config files: Fix whitespace issues. 10 years ago
imx25.cfg target config files: Fix whitespace issues. 10 years ago
imx27.cfg target config files: Fix whitespace issues. 10 years ago
imx28.cfg topic: Add support for i.MX28EVK 10 years ago
imx31.cfg target config files: Fix whitespace issues. 10 years ago
imx35.cfg target config files: Fix whitespace issues. 10 years ago
imx51.cfg target config files: Fix whitespace issues. 10 years ago
imx53.cfg target config files: Fix whitespace issues. 10 years ago
is5114.cfg target config files: Fix whitespace issues. 10 years ago
ixp42x.cfg target config files: Fix whitespace issues. 10 years ago
k40.cfg target config files: Fix whitespace issues. 10 years ago
k60.cfg configuration for Freescale TWRK60N512 board 10 years ago
lpc2xxx.cfg Export _TARGETNAME from generic LPC2xxx script 10 years ago
lpc1768.cfg scripts: use adapter_khz not deprecated jtag_khz 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. 11 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. 11 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. 11 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. 11 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. 11 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. 11 years ago
lpc2460.cfg Add support for the lpc2460 target 11 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. 11 years ago
lpc2900.cfg target config files: Fix whitespace issues. 10 years ago
lpc3131.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 10 years ago
lpc3250.cfg target config files: Fix whitespace issues. 10 years ago
lpc4350.cfg Add new configuration files for the Diolan LPC-4350-DB1 development 10 years ago
mc13224v.cfg target config files: Fix whitespace issues. 10 years ago
nuc910.cfg target config files: Fix whitespace issues. 10 years ago
omap2420.cfg target config files: Fix whitespace issues. 10 years ago
omap3530.cfg target config files: Fix whitespace issues. 10 years ago
omap4430.cfg target config files: Fix whitespace issues. 10 years ago
omap4460.cfg omap4460: add initial TCL support for the omap4460 es1.0 10 years ago
omap5912.cfg target config files: Fix whitespace issues. 10 years ago
omapl138.cfg target config files: Fix whitespace issues. 10 years ago
pic32mx.cfg cfg: correct pic32mx config typo's 10 years ago
pxa3xx.cfg target config files: Fix whitespace issues. 10 years ago
pxa255.cfg target config files: Fix whitespace issues. 10 years ago
pxa270.cfg target config files: Fix whitespace issues. 10 years ago
readme.txt rename jtag_khz as adapter_khz 12 years ago
samsung_s3c2410.cfg target config files: Fix whitespace issues. 10 years ago
samsung_s3c2440.cfg target config files: Fix whitespace issues. 10 years ago
samsung_s3c2450.cfg target config files: Fix whitespace issues. 10 years ago
samsung_s3c4510.cfg target config files: Fix whitespace issues. 10 years ago
samsung_s3c6410.cfg target config files: Fix whitespace issues. 10 years ago
sharp_lh79532.cfg target config files: Fix whitespace issues. 10 years ago
smp8634.cfg target config files: Fix whitespace issues. 10 years ago
spear3xx.cfg target config files: Fix whitespace issues. 10 years ago
stellaris.cfg cfg: change default stellaris working area 10 years ago
stm32.cfg cfg: support calling legacy stm32 scripts 10 years ago
stm32_stlink.cfg cfg: add ST-LINK TRANSPORT config override 10 years ago
stm32f0x_stlink.cfg cfg: increase stm32f0 default working area 10 years ago
stm32f1x.cfg cfg: use consistent chipname 10 years ago
stm32f1x_stlink.cfg cfg: allow stm32discovery parameter override 10 years ago
stm32f2x.cfg scripts: use adapter_nsrst_delay not deprecated jtag_nsrst_delay 10 years ago
stm32f2x_stlink.cfg cfg: allow stm32discovery parameter override 10 years ago
stm32f2xxx.cfg cfg: support calling legacy stm32 scripts 10 years ago
stm32f4x.cfg cfg: add STM32F4x and STM3241G-EVAL config files 10 years ago
stm32f4x_stlink.cfg cfg: allow stm32discovery parameter override 10 years ago
stm32l.cfg target config files: Fix whitespace issues. 10 years ago
stm32lx_stlink.cfg cfg: allow stm32discovery parameter override 10 years ago
stm32xl.cfg cfg: update scripts to use new stm32 driver names 10 years ago
str710.cfg target config files: Fix whitespace issues. 10 years ago
str730.cfg cfg: fix typo in str730.cfg 10 years ago
str750.cfg target config files: Fix whitespace issues. 10 years ago
str912.cfg target config files: Fix whitespace issues. 10 years ago
swj-dp.tcl swj-dp.tcl (SWD infrastructure #1) 11 years ago
test_reset_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 12 years ago
test_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 12 years ago
ti_calypso.cfg config: Add TI Calypso CPU configuration 10 years ago
ti_dm355.cfg target config files: Fix whitespace issues. 10 years ago
ti_dm365.cfg target config files: Fix whitespace issues. 10 years ago
ti_dm6446.cfg target config files: Fix whitespace issues. 10 years ago
tmpa900.cfg target config files: Fix whitespace issues. 10 years ago
tmpa910.cfg target config files: Fix whitespace issues. 10 years ago
u8500.cfg u8500: linux rtos config 10 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.