diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-07-07 02:46:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-07-07 02:46:24 +0000 |
commit | 82c90d70279c9522520f864daa72156fdacf38b1 (patch) | |
tree | b245570d048459da45e0f3bab27188f33104d9d7 /downloader/proto.txt | |
parent | added length field for messages (diff) |
bootloader now checks csum
git-svn-id: https://svn.spreadspace.org/pic/trunk@47 a09c6847-51d9-44de-8ef2-e725cf50f3c7
Diffstat (limited to 'downloader/proto.txt')
-rw-r--r-- | downloader/proto.txt | 4 |
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. |