]> git.sur5r.net Git - openocd/commit
NOR: stellaris message tweaks
authorDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 3 Mar 2010 20:59:53 +0000 (12:59 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Wed, 3 Mar 2010 21:08:16 +0000 (13:08 -0800)
commit99939c3c75f3bef44d4cd176e90a6c5fe8b833da
tree118817302be98c3d887bdffa7b61c0d2106c027c
parent2119c0a7641d05ad8b6b8feb64d4c315716f6d3a
NOR: stellaris message tweaks

Give a more accurate failure message when trying to unprotect; don't
complain about pages being write protected, just say that unprotect is
not supported by the hardware ... referencing the new "recover" command,
which is the way to achieve that.

Likewise, when trying to protect, talk about "pages" (matching hardware
doc) not "sectors" (an concept that's alien to these chips).

Also make the helptext for the "recover" command mention that it
also erases the device.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/nor/stellaris.c