diff options
Diffstat (limited to 'software/pic.bootloader/proto.txt')
-rw-r--r-- | software/pic.bootloader/proto.txt | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/software/pic.bootloader/proto.txt b/software/pic.bootloader/proto.txt index 61975cf..7353f9c 100644 --- a/software/pic.bootloader/proto.txt +++ b/software/pic.bootloader/proto.txt @@ -43,7 +43,7 @@ identify: 1 | len=3 | <csum> answer: - 1 | len=19 | <ret> | version | name | devid | fs | fss | es | mess | cfg | supported | <csum> + 1 | len=19 | <ret> | version | name | devid | fs | fss | es | mess | cfg | <csum> version: 2bytes, protocol version @@ -82,21 +82,6 @@ identify: cfg: 1byte, number of configuration words. - supported: - 2bytes, a bitmap showing supported commands - The commands 'identify' and 'boot' are always supported by the bootloader, - others may not (i.e.: not all PICs allow to update the configurtion words) - - bit | command - -----+---------- - 0 | reset - 1 | read flash - 2 | write flash - 3 | read eeprom - 4 | write eeprom - 5 | read config - 6 | write config - boot: ~~~~~ @@ -161,7 +146,7 @@ read eeprom: 6 | len=4+<len> | <ret> | data | <csum> The bootloader reads <len> bytes from eeprom at address <addr> and returns it as - <data>. len is 1byte long. + <data>. len is 1byte long and it's value must not exceed <mess> bytes. write eeprom: @@ -174,7 +159,7 @@ write eeprom: 7 | len=4 | <ret> | <csum> 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. + <addr> inside the eeprom. len is 1byte long and it's value must not exceed <mess> bytes. read config: |