EasyManua.ls Logo

Grow R503 - Page 38

Grow R503
50 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 33 -
www.hzgrow.com
3.Packet Bytes N is determined by Packet Length. The value is 128 Bytes before
delivery.
4: The instruction doesn’t affect buffer contents.
Data package format:
2 bytes
4bytes
1 byte
2 bytes
N byte
2 bytes
Header
Module
address
Package identifier
Package
length
Package
content
Checksum
0xEF01
xxxx
0x02- have
following packet
0x08 - end packet
N+2
Information
page
sum
To write note pad WriteNotepad
Description: for upper computer to write data to the specified Flash page.Also see ReadNotepad;
Input Parameter: NotePageNum, user content (or data content)
Return Parameter: Confirmation code (1 byte)
Instruction code: 18H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1byte
32 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Page
number
Data
content
Checksum
0xEF01
xxxx
01H
0x0024
18H
0x00-0
x0F
content
sum
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: write success;
Confirmation code=01H: error when receiving package;
Confirmation code=18H: error when write FLASH
To read note pad ReadNotepad
Description: to read the specified page’s data content;Also see WriteNotepad.
Input Parameter: NotePageNum
Return Parameter: Confirmation code (1 byte) + User content
Instruction code: 19H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Page
number
Checksum
0xEF01
xxxx
01H
04H
19H
0x00-0x
0F
Sum

Table of Contents