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.
 
 
 
 
 
 
Øyvind Harboe e7269e32a7 stm32f2xxx: comments about frequency choice 13 years ago
..
aduc702x.cfg TCL scripts: replace "puts" with "echo" 13 years ago
amdm37x.cfg beagleboard: add support for various icepick versions 13 years ago
ar71xx.cfg TCL: fix non TCL comments 13 years ago
at32ap7000.cfg at32ap7000 config file 13 years ago
at91r40008.cfg AT91R40008/Ethernut 3 configuration 14 years ago
at91rm9200.cfg at91rm9200 : reset_config should go to the board config file 14 years ago
at91sam3XXX.cfg at91sam3s* support 14 years ago
at91sam3sXX.cfg at91sam3s* support 14 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 scripts: update flash bank names 14 years ago
at91sam3uXX.cfg at91sam3s* support 14 years ago
at91sam7se512.cfg rename some target scripts to be consistent with the rest 13 years ago
at91sam7sx.cfg config scripts: remove useless reference to OpenOCD docs 13 years ago
at91sam7x256.cfg rename some target scripts to be consistent with the rest 13 years ago
at91sam9.cfg at91sam9: factorise cpu support 13 years ago
at91sam9g10.cfg at91: add at91sam9g10 support 13 years ago
at91sam9g20.cfg at91sam9: factorise cpu support 13 years ago
at91sam9g45.cfg at91: add at91sam9g45 support 13 years ago
at91sam9rl.cfg at91sam9: factorise cpu support 13 years ago
at91sam9260.cfg at91sam9260: update sram information 13 years ago
at91sam9260_ext_RAM_ext_flash.cfg at91sam9: factorise cpu support 13 years ago
at91sam9261.cfg at91: add at91sam9261 support 13 years ago
at91sam9263.cfg at91: add at91sam9263 support 13 years ago
atmega128.cfg rename some target scripts to be consistent with the rest 13 years ago
avr32.cfg avr32: basic target script 13 years ago
c100.cfg rename jtag_khz as adapter_khz 14 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
cs351x.cfg target.cfg: remove "-work-area-virt 0" 14 years ago
davinci.cfg TCL scripts: collect duplicated procedures 13 years ago
dragonite.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
dsp56321.cfg rename jtag_khz as adapter_khz 14 years ago
dsp568013.cfg flash support (only full erase/write) for 568013 and 568037 13 years ago
dsp568037.cfg flash support (only full erase/write) for 568013 and 568037 13 years ago
epc9301.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
faux.cfg target.cfg: update to use new flash configuration syntax 14 years ago
feroceon.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
hilscher_netx10.cfg Add support for Hilscher netX controllers 13 years ago
hilscher_netx50.cfg Add support for Hilscher netX controllers 13 years ago
hilscher_netx500.cfg Add support for Hilscher netX controllers 13 years ago
icepick.cfg Remove vim editor commands from TCL files. 15 years ago
imx.cfg Tcl and doc: update to match new 'arm mcr ...' etc 14 years ago
imx21.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
imx25.cfg iMX2* + ETB targets: hook up ETM and ETB 14 years ago
imx27.cfg iMX2* + ETB targets: hook up ETM and ETB 14 years ago
imx31.cfg TCL scripts: replace "puts" with "echo" 13 years ago
imx35.cfg TCL scripts: replace "puts" with "echo" 13 years ago
imx51.cfg CortexA8: Introduce Freescale i.MX51 variant 13 years ago
imx53.cfg Add preliminary support for Freescale iMX53 13 years ago
is5114.cfg testing/examples/.../*cfg: rm jtag_device calls 14 years ago
ixp42x.cfg update IXP42x target / XBA board config 13 years ago
lpc2xxx.cfg Make the lpc2xxx generic driver support romless parts 13 years ago
lpc1768.cfg Remove srst_pulls_trst from LPC1768 target 13 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.cfg: update to use new flash configuration syntax 14 years ago
lpc3131.cfg TCL: fix non TCL comments 13 years ago
lpc3250.cfg Add the REV A tap id to the LPC3250 configuration 13 years ago
mc13224v.cfg rename jtag_khz as adapter_khz 14 years ago
nuc910.cfg cfg: add Avalue RSC-W910 config 14 years ago
omap2420.cfg OMAP2420: define reset-assert event 14 years ago
omap3530.cfg Fix omap3_dbginit to write to physical memory. 13 years ago
omap4430.cfg pandaboard: use new -dbgbase option to workaround broken ROM table 13 years ago
omap5912.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
omapl138.cfg cfg: add omapl138 support and da850evm preliminary support 13 years ago
pic32mx.cfg config scripts: remove useless reference to OpenOCD docs 13 years ago
pxa3xx.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
pxa255.cfg rename jtag_khz as adapter_khz 14 years ago
pxa270.cfg board scripts: Marvell PXA270M processor has a new TAPID: 0x89265013 13 years ago
readme.txt rename jtag_khz as adapter_khz 14 years ago
samsung_s3c2410.cfg target.cfg: remove "-work-area-virt 0" 14 years ago
samsung_s3c2440.cfg target.cfg: remove "-work-area-virt 0" 14 years ago
samsung_s3c2450.cfg rename jtag_khz as adapter_khz 14 years ago
samsung_s3c4510.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
samsung_s3c6410.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
sharp_lh79532.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
smp8634.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
spear3xx.cfg TCL scripts: add support for ST SPEAr310 13 years ago
stellaris.cfg config: fix luminary jtag config 13 years ago
stm32.cfg stm32: add ID for medium density device Rev Z 13 years ago
stm32f2xxx.cfg stm32f2xxx: comments about frequency choice 13 years ago
stm32xl.cfg stm32: add stm32 xl family flash support 13 years ago
str710.cfg config scripts: remove useless reference to OpenOCD docs 13 years ago
str730.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
str750.cfg FLASH/NOR: rename from spearsmi to stmsmi 13 years ago
str912.cfg config scripts: remove useless reference to OpenOCD docs 13 years ago
swj-dp.tcl swj-dp.tcl (SWD infrastructure #1) 13 years ago
test_reset_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
test_syntax_error.cfg Remove annoying end-of-line whitespace from tcl/* files 14 years ago
ti_dm355.cfg Add a new JTAG "setup" event; use for better DaVinci ICEpick support. 14 years ago
ti_dm365.cfg Add a new JTAG "setup" event; use for better DaVinci ICEpick support. 14 years ago
ti_dm6446.cfg Add a new JTAG "setup" event; use for better DaVinci ICEpick support. 14 years ago
tmpa900.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
tmpa910.cfg rename jtag_nsrst_delay as adapter_nsrst_delay 14 years ago
u8500.cfg u8500.cfg : ste u8500 support 13 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.