openocd/src/target/target
mifi d78df28121 Added jtag_nsrst_delay 200 and jtag_ntrst_delay 200 to the LPC2294 target.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1838 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-05-19 17:57:44 +00:00
..
aduc702x.cfg Fix support for ADuC702x flash. Courtesy of Michael Ashton <data@gtf.org> 2009-01-20 03:49:31 +00:00
at91eb40a.cfg correct CPU ID 2008-12-01 13:20:59 +00:00
at91r40008.cfg Typos in config files found by Sergey Lapin 2008-12-08 11:23:04 +00:00
at91rm9200.cfg - fix incorrect svn props from last commit 2008-12-01 15:52:56 +00:00
at91sam9260_ext_RAM_ext_flash.cfg R.Doss <doss@gmx.de> AT91SAM9260 2009-04-26 20:03:41 +00:00
at91sam9260.cfg AT91SAM9260 and Olimex changes by Dean Glazeski <dnglaze@gmail.com> 2009-01-20 04:29:46 +00:00
epc9301.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
feroceon.cfg - add missing svn props from previous commit 2009-03-02 12:51:42 +00:00
imx21.cfg imx21 config provided by Alan Carvalho de Assis <acassis@gmail.com> 2009-01-20 03:42:24 +00:00
imx27.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
imx31.cfg arm11 wip 2009-01-14 15:25:45 +00:00
imx35.cfg - add missing svn props from previous commit 2009-03-20 14:08:03 +00:00
is5114.cfg More fixes thanks to Kees Jongenburger 2008-12-10 11:44:45 +00:00
ixp42x.cfg - update str9 and stm32 comstick configs 2009-03-24 09:40:03 +00:00
lm3s811.cfg - cleanup target config scripts 2008-12-03 12:02:46 +00:00
lm3s3748.cfg - cleanup target config scripts 2008-12-03 12:02:46 +00:00
lm3s6965.cfg - cleanup target config scripts 2008-12-03 12:02:46 +00:00
lpc2103.cfg - add svn props from previous commit 2009-04-03 08:16:47 +00:00
lpc2124.cfg - fix at91rm9200 warning. Thanks Zach Welch <zw@superlucidity.net> 2009-04-20 22:38:27 +00:00
lpc2129.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
lpc2148.cfg use jtag_rclk 500 to avoid proliferation of target scripts 2009-04-30 06:26:22 +00:00
lpc2294.cfg Added jtag_nsrst_delay 200 and jtag_ntrst_delay 200 to the LPC2294 target. 2009-05-19 17:57:44 +00:00
lpc2378.cfg - fix at91rm9200 warning. Thanks Zach Welch <zw@superlucidity.net> 2009-04-20 22:38:27 +00:00
lpc2478.cfg lpc2478 target config 2009-04-30 09:50:14 +00:00
mega128.cfg eol-style native 2009-04-28 06:28:39 +00:00
netx500.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
omap3530.cfg Zach Welch <zw@superlucidity.net> fix typo 2009-04-26 20:05:08 +00:00
omap5912.cfg Uwe Hermann <uwe@hermann-uwe.de> typo 2009-03-23 07:38:38 +00:00
pic32mx.cfg - added mips software breakpoint support 2009-01-13 11:33:19 +00:00
pxa255.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
pxa270.cfg Wookey <wookey@wookware.org> update syntax 2009-05-19 11:53:05 +00:00
readme.txt Uwe Hermann <uwe@hermann-uwe.de> typos 2009-03-12 14:48:51 +00:00
sam7se512.cfg - fix incorrect svn props from last commit 2008-12-01 15:52:56 +00:00
sam7x256.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
samsung_s3c2410.cfg Fix from Kees Jongenburger (Part Duex) 2008-12-10 01:18:10 +00:00
samsung_s3c2440.cfg Updates and fixes from Kees Jongenburger 2008-12-13 13:11:15 +00:00
samsung_s3c4510.cfg - fix incorrect svn props from last commit 2008-12-01 15:52:56 +00:00
samsung_s3c6410.cfg More fixes thanks to Kees Jongenburger 2008-12-10 11:44:45 +00:00
sharp_lh79532.cfg - fix incorrect svn props from last commit 2008-12-01 15:52:56 +00:00
smdk6410.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
smp8634.cfg - add missing svn props from r1299 commit 2009-01-05 13:45:16 +00:00
stm32.cfg stm32.cfg can expect one of 4 id's. 2009-04-23 14:03:42 +00:00
str710.cfg Typos found by miceal catudal 2008-12-24 23:22:22 +00:00
str730.cfg Typos found by miceal catudal 2008-12-24 23:22:22 +00:00
str750.cfg Typos found by miceal catudal 2008-12-24 23:22:22 +00:00
str912.cfg - incorrect str9 irmask used in config files 2008-12-03 16:38:52 +00:00
test_reset_syntax_error.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +00:00
test_syntax_error.cfg Rick Altherr <kc8apf@kc8apf.net> - update syntax 2008-10-30 08:04:11 +00:00
ti_dm355.cfg Consolidate target selection code into single get_target() that handles both names and numbers. Provided by David Brownell <david-b@pacbell.net> 2009-05-18 04:44:28 +00:00
ti_dm6446.cfg David Brownell <david-b@pacbell.net> DaVinci dm6446 2009-05-08 20:27:19 +00:00
xba_revA3.cfg jtag newtap change & huge manual update 2008-11-30 22:25:43 +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. jtag_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 jtag_khz in interface/xxx.cfg will be overridden by
target/xxx.cfg. jtag_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.