
- 20 -
www.hzgrow.com
Instruction code: 06H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
buffer
number
Location
number
Checksum
0xEF01
xxxx
01H
06H
06H
CharBuffer
ID
ModelID
sum
Note: CharBufferID is filled with 0x01
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
Xxxx
07H
03H
xxH
sum
Note: Confirmation code=00H: storage success;
Confirmation code=01H: error when receiving package;
Confirmation code=0bH: addressing ModelID is beyond the finger library;
Confirmation code=18H: error when writing Flash.
To read template from Flash library
LoadChar
Description: to load template at the specified location (PageID) of Flash library to template buffer
CharBuffer1/CharBuffer2
Input Parameter: CharBufferID, ModelID
Return Parameter: Confirmation code (1 byte)
Instruction code: 07H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
buffer
number
Page
number
Checksum
0xEF01
xxxx
01H
06H
07H
CharBuffer
ID
ModelID
sum
Note: CharBufferID is filled with 0x01
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
xxxx
07H
03H
XxH
sum
Note: Confirmation code=00H: load success;
Confirmation code=01H: error when receiving package;
Confirmation code=0cH: error when reading template from library or the readout template is
invalid;
Confirmation code=0BH: addressing ModelID is beyond the finger library;