From 29a01c10473e44526de192e3e65cb26313e29d06 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Fri, 18 Mar 2022 23:42:32 +0100 Subject: [PATCH] Terminal mode: fix documentation of second version of "write" Right after start_addr, the next element is the number of bytes to be written. --- src/doc/avrdude.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/avrdude.texi b/src/doc/avrdude.texi index 4fa92c2e..8996f754 100644 --- a/src/doc/avrdude.texi +++ b/src/doc/avrdude.texi @@ -1326,11 +1326,11 @@ A specific size can be denoted by appending one of these suffixes: Similarly, floating-point constants can have an @code{F} or @code{f} appended, but only 32-bit floating-point values are supported. -@item write @var{memtype} @var{start_addr} @var{data1} @var{data2} @var{dataN} @dots{} +@item write @var{memtype} @var{start_addr} @var{length} @var{data1} @var{data2} @var{dataN} @dots{} -Similar to the above, but the entire memory region is written to. +Similar to the above, but @var{length} byte of the memory are written. For that purpose, after writing the initial items, @var{dataN} is -replicated as many times as needed to fill the memory area. +replicated as many times as needed. @item erase Perform a chip erase.