summaryrefslogtreecommitdiff
path: root/downloader/proto.txt
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2013-07-07 13:54:16 +0000
committerChristian Pointner <equinox@spreadspace.org>2013-07-07 13:54:16 +0000
commit51bc06787707feabd34fb909f009df50691023c9 (patch)
tree61acfa2b46609ce0b1cdcf2f68d35106bfb04df0 /downloader/proto.txt
parentbootloader now checks csum (diff)
added flash and eeprom sizes to identify
git-svn-id: https://svn.spreadspace.org/pic/trunk@48 a09c6847-51d9-44de-8ef2-e725cf50f3c7
Diffstat (limited to 'downloader/proto.txt')
-rw-r--r--downloader/proto.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/downloader/proto.txt b/downloader/proto.txt
index 98beebe..a53acc9 100644
--- a/downloader/proto.txt
+++ b/downloader/proto.txt
@@ -43,7 +43,7 @@ identify:
1 | len=3 | <csum>
answer:
- 1 | len=22 | <ret> | version | name | devid | fss | mess | supported | <csum>
+ 1 | len=22 | <ret> | version | name | devid | fs | fss | es | mess | supported | <csum>
version:
2bytes, protocol version
@@ -59,12 +59,20 @@ identify:
2bytes, device id of the PIC
The downlaoder may use this id to check if it talks to the right bootloader
+ fs:
+ 2bytes, flash size
+ The size of the flash in code words.
+
fss:
1byte, flash segment size
The number of words of one flash segment which has to be written at once.
If less than <fss> should be updated the downloader has to perform a read
operation first.
+ es:
+ 2bytes, eeprom size
+ The size of the eeprom in bytes.
+
mess:
1byte, maximum eeprom segment size
This represents the maximum number of eeprom bytes which may be written or