X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=4430050eece3e94a6ab479b3e033cda53e3324a2;hp=140e86b406756acee46d22af62dadf8350153ef9;hb=3edcb941864d677e30d36ad77c22d86ec7ac8eb3;hpb=2d99a0defa8fde13d4f421d54dbb6246b908303d diff --git a/doc/openocd.texi b/doc/openocd.texi index 140e86b406..4430050eec 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -4644,6 +4644,18 @@ starting at @var{offset} bytes from the beginning of the bank. The @var{num} parameter is a value shown by @command{flash banks}. @end deffn +@deffn Command {flash read_bank} num filename offset length +Read @var{length} bytes from the flash bank @var{num} starting at @var{offset} +and write the contents to the binary @file{filename}. +The @var{num} parameter is a value shown by @command{flash banks}. +@end deffn + +@deffn Command {flash verify_bank} num filename offset +Compare the contents of the binary file @var{filename} with the contents of the +flash @var{num} starting at @var{offset}. Fails if the contents do not match. +The @var{num} parameter is a value shown by @command{flash banks}. +@end deffn + @deffn Command {flash write_image} [erase] [unlock] filename [offset] [type] Write the image @file{filename} to the current target's flash bank(s). Only loadable sections from the image are written.