From c07e4b37829067a872e2a52f9a490bd8903e66da Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Sat, 20 Nov 2021 13:36:00 +0100 Subject: [PATCH] doc: document 'atsamv gpnvm' command Change-Id: I922c75e2d074447558f85bfda5421aa24a850be1 Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/6729 Tested-by: jenkins Reviewed-by: Antonio Borneo --- doc/openocd.texi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/openocd.texi b/doc/openocd.texi index 4b93a896c7..ccad381b26 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -6184,6 +6184,21 @@ USER PAGE: 0xAEECFF80FE9A9239 All members of the ATSAMV7x, ATSAMS70, and ATSAME70 families from Atmel include internal flash and use ARM's Cortex-M7 core. This driver uses the same command names/syntax as @xref{at91sam3}. + +@example +flash bank $_FLASHNAME atsamv 0x00400000 0 0 0 $_TARGETNAME +@end example + +@deffn {Command} {atsamv gpnvm} [@option{show} [@option{all}|number]] +@deffnx {Command} {atsamv gpnvm} (@option{clr}|@option{set}) number +With no parameters, @option{show} or @option{show all}, +shows the status of all GPNVM bits. +With @option{show} @var{number}, displays that bit. + +With @option{set} @var{number} or @option{clear} @var{number}, +modifies that GPNVM bit. +@end deffn + @end deffn @deffn {Flash Driver} {at91sam7} -- 2.30.2