diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-02-02 10:53:13 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-02-02 10:53:13 -0800 |
commit | 5750e899e03aa3312202be3ff217645c5f69304d (patch) | |
tree | 96af266bc651300336f696b72c84b85b8636ab13 | |
parent | cc440ca1d44f0aaaf34daa365966b7b092126913 (diff) | |
download | openocd+libswd-5750e899e03aa3312202be3ff217645c5f69304d.tar.gz openocd+libswd-5750e899e03aa3312202be3ff217645c5f69304d.tar.bz2 openocd+libswd-5750e899e03aa3312202be3ff217645c5f69304d.tar.xz openocd+libswd-5750e899e03aa3312202be3ff217645c5f69304d.zip |
NOR: User's Guide updates
Remove long-obsolete text about "erase_check" affecting "flash info" output.
Move parts of that text to "protect_check", where it's still relevant; and
update the "flash info" description to mention the issue.
(This is still awkward. It might be best to make "protect_check" mirror
"erase_check" by dumping what it finds, so "flash info" doesn't dump any
potentially-stale cache info.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r-- | doc/openocd.texi | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index 38fa92f6..957c79c5 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4033,17 +4033,14 @@ it has been removed by the @option{unlock} flag. Check erase state of sectors in flash bank @var{num}, and display that status. The @var{num} parameter is a value shown by @command{flash banks}. -This is the only operation that -updates the erase state information displayed by @option{flash info}. That means you have -to issue a @command{flash erase_check} command after erasing or programming the device -to get updated information. -(Code execution may have invalidated any state records kept by OpenOCD.) @end deffn @deffn Command {flash info} num Print info about flash bank @var{num} The @var{num} parameter is a value shown by @command{flash banks}. -The information includes per-sector protect status. +The information includes per-sector protect status, which may be +incorrect (outdated) unless you first issue a +@command{flash protect_check num} command. @end deffn @anchor{flash protect} @@ -4060,6 +4057,8 @@ The @var{num} parameter is a value shown by @command{flash banks}. Check protection state of sectors in flash bank @var{num}. The @var{num} parameter is a value shown by @command{flash banks}. @comment @option{flash erase_sector} using the same syntax. +This updates the protection information displayed by @option{flash info}. +(Code execution may have invalidated any state records kept by OpenOCD.) @end deffn @anchor{Flash Driver List} |