Download Software User Manual

Transcript
Software User Manual - EPC610-ToF-Module
Addr
0C
0E
0D
0F
3.1.4.7
Len
2
1
2
Field
PacketNumber
Status
DataCrc16
Last change: 30 June 2014
Version 2
Value
<packetNr>
<status>
<CRC16 sum>
Description
Refer to table “Flash Update Status Codes”
Checksum over data
Flash Update – Get Max Packet Size
Addr
00
02
03
04
05
06
08
09
0A
Len
2
1
1
1
1
2
1
1
1
Field
Preamble
ProtocolVersion
Receiver
Transmitter
Command
Length
HeaderCrc
Version
FlashCommand
0B
0F
4
2
XX
DataCrc16
Value
0xa1ef
1
<id>
<id>
5
6
<CRC8 sum>
1
3
XX
<CRC16
sum>
Description
Unique identifier, start of header
This document refers to version V1.0
ID of communication target
ID of communication source
Command code for flash update
Length of payload
Checksum over 6 bytes of header: 0x2 – 0x7
This document refers to version V1.0
Command code for flash update get max packet
size
Ignored
Checksum over data
11
3.1.4.8
Flash Update – Get Max Packet Size Response
Addr
00
02
03
04
05
06
08
Len
2
1
1
1
1
2
1
Field
Preamble
ProtocolVersion
Receiver
Transmitter
Command
Length
HeaderCrc
09
0A
0B
1
1
1
CommandOfResponse
Version
FlashCommand
0C
0E
2
1
XX
Status
0F
11
13
2
2
MaxPacketSize
DataCrc16
3.1.4.9
Addr
00
02
03
04
05
06
Value
0xa1ef
1
<id>
<id>
4
8
<CRC8 sum>
5
1
3
XX
<status>
<maxPacketSize>
<CRC16 sum>
Description
Unique identifier, start of header
This document refers to version V1.0
ID of communication target
ID of communication source
Command code for response
Length of response + header
Checksum over 6 bytes of header: 0x2 –
0x7
Command code for flash update
This document refers to version V1.0
Command code for flash update get
max packet size
Ignored
Refer to table “Flash Update Status
Codes”
Checksum over data
Flash Update – Finalize
Len
2
1
1
1
1
2
Field
Preamble
ProtocolVersion
Receiver
Transmitter
Command
Length
© Bluetechnix 2014
Value
0xa1ef
1
<id>
<id>
5
6
Description
Unique identifier, start of header
This document refers to version V1.0
ID of communication target
ID of communication source
Command code for flash update
Length of payload
Page 12 | 31