lpc2148 fixes from Edgar Grimberg
[fw/openocd] / src / target / target / readme.txt
1 Prerequisites:
2 The users of OpenOCD as well as computer programs interacting with OpenOCD are expecting that certain commands 
3 do the same thing across all the targets.
4
5 Rules to follow when writing scripts:
6
7 1. The configuration script should be defined such as , for example, the following sequences are working:
8         reset
9         flash info <bank>
10 and
11         reset 
12         flash erase_address <start> <len>
13         
14 In most cases this can be accomplished by specifying the default startup mode as reset_init (target command 
15 in the configuration file).
16  
17 2. If the target is correctly configured, flash must be writable without any other helper commands. It is 
18 assumed that all write-protect mechanisms should be disabled.
19
20 3. The configuration scripts should be defined such as the binary that was written to flash verifies
21 (turn off remapping, checksums, etc...) 
22
23 flash write_image [file] <parameters>
24 verify_image [file] <parameters>