riscv-openocd/src/target/target
oharboe ba29b4dc6b testing of syntax error in reset and at startup
git-svn-id: svn://svn.berlios.de/openocd/trunk@1054 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-10-14 08:38:36 +00:00
..
aduc702x.cfg - renamed x7926 driver to aduc702x to match other flash drivers 2008-09-24 22:15:22 +00:00
at91eb40a.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
at91r40008.cfg Duane Ellis: "target as an [tcl] object" feature. 2008-09-01 07:20:21 +00:00
at91sam9260.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
at91sam9260minimal.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
eir-sam7se512.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
epc9301.cfg retire daemon_startup 2008-07-24 10:17:42 +00:00
hammer.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
imx31.cfg - added svn props for newly added files 2008-08-19 20:34:36 +00:00
ipx42x.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
lm3s811.cfg remove obsolete reset_mode 2008-07-18 14:51:19 +00:00
lm3s3748.cfg - fix win32 build issues from previous jim patch 2008-08-22 12:51:48 +00:00
lm3s6965.cfg remove obsolete reset_mode 2008-07-18 14:51:19 +00:00
lpc2129.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
lpc2148.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
lpc2148_2mhz.cfg - added svn props for newly added files 2008-08-07 18:42:14 +00:00
lpc2148_rclk.cfg - added svn props for newly added files 2008-08-07 18:42:14 +00:00
lpc2294.cfg openocd.texi is the authoratitive source for documentation. Wiki is dead. 2008-08-18 07:23:54 +00:00
mx31.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
netx500.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
nslu2.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
omap5912.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
pic32mx.cfg openocd.texi is the authoratitive source for documentation. Wiki is dead. 2008-08-18 07:23:54 +00:00
pxa255.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
pxa255_sst.cfg fix comment w.r.t. start address for RAM 2008-08-19 10:22:05 +00:00
pxa270.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
readme.txt use reset init explicitly before "load". 2008-07-21 10:16:14 +00:00
s3c2440.cfg - added myself to copyright on files i remember adding large contributions for over the years 2008-09-20 10:50:53 +00:00
sam7x256.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
stm32.cfg openocd.texi is the authoratitive source for documentation. Wiki is dead. 2008-08-18 07:23:54 +00:00
stm32stick.cfg openocd.texi is the authoratitive source for documentation. Wiki is dead. 2008-08-18 07:23:54 +00:00
str9comstick.cfg retired reset run_and_init/halt 2008-07-28 06:08:05 +00:00
str710.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
str730.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
str750.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
str912.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
test_reset_syntax_error.cfg testing of syntax error in reset and at startup 2008-10-14 08:38:36 +00:00
test_syntax_error.cfg testing of syntax error in reset and at startup 2008-10-14 08:38:36 +00:00
wi-9c.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
xba_revA3.cfg reset cleanup. Remove obsolete events that are not needed for compatibility. 2008-10-14 07:30:45 +00:00
zy1000.cfg basic smoketest on lm3s3748.elf 2008-10-06 12:14:52 +00:00

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. 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, oscilator speeds differ and having a single
config file for the default/common settings.