aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-09-19 12:07:06 +0100
committerSpencer Oliver <spen@spen-soft.co.uk>2013-10-07 19:28:19 +0000
commit1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3 (patch)
treea5352260d013eb75ee04c864ba2c2ea2c2f6ee56 /doc
parent53ca124a754fd0d2bb18fb26ac69c5654c81117d (diff)
flash: add padded_value cmd
This adds support for setting the default value used when padding image sections. Previously 0xff was used but some targets have an erased value of 0x00. Change-Id: If3df6fea3abf95b09daa3ff7be362acf991070ce Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/1635 Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 003ec4ff..a2bcaf85 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -4862,6 +4862,12 @@ specifies "to the end of the flash bank".
The @var{num} parameter is a value shown by @command{flash banks}.
@end deffn
+@deffn Command {flash padded_value} num value
+Sets the default value used for padding any image sections, This should
+normally match the flash bank erased value. If not specified by this
+comamnd or the flash driver then it defaults to 0xff.
+@end deffn
+
@anchor{program}
@deffn Command {program} filename [verify] [reset] [offset]
This is a helper script that simplifies using OpenOCD as a standalone