]> git.sur5r.net Git - openocd/blobdiff - doc/openocd.texi
flash/nor: implement protection blocks of different size than erase sector
[openocd] / doc / openocd.texi
index cef1cae08175874735c9a9bbb9df033730bf97b0..74e5e8872e8a9c8f4ef884673990b9040225481f 100644 (file)
@@ -4746,8 +4746,10 @@ and display that status.
 The @var{num} parameter is a value shown by @command{flash banks}.
 @end deffn
 
-@deffn Command {flash info} num
-Print info about flash bank @var{num}
+@deffn Command {flash info} num [sectors]
+Print info about flash bank @var{num}, a list of protection blocks
+and their status. Use @option{sectors} to show a list of sectors instead.
+
 The @var{num} parameter is a value shown by @command{flash banks}.
 This command will first query the hardware, it does not print cached
 and possibly stale information.