summaryrefslogtreecommitdiff
path: root/downloader/proto.txt
diff options
context:
space:
mode:
Diffstat (limited to 'downloader/proto.txt')
-rw-r--r--downloader/proto.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/downloader/proto.txt b/downloader/proto.txt
index 17dec93..98beebe 100644
--- a/downloader/proto.txt
+++ b/downloader/proto.txt
@@ -157,12 +157,12 @@ write eeprom:
~~~~~~~~~~~~~
command:
- 7 | len=4+2<len(data) | addr | data | <csum>
+ 7 | len=4+len(data) | addr | data | <csum>
answer:
7 | len=4 | <ret> | <csum>
- The bootloader writes <data> (which has to contain exactly <len> bytes) to address
+ The bootloader writes <data> (which has to contain exactly <len>-4 bytes) to address
<addr> inside the eeprom. len is 1byte long and the value must not exceed <mess> bytes.