
To write note pad WriteNotepad
Description: for upper computer to write data to the specified Flash page (refer to 4.1 for more
about Note pad). Also see R
eadNotepad;
Input Parameter: NotePageNum, user content (or data content)
Return Parameter: Confirmation code (1 byte)
Instuction 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
36
18H 0~15
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;
To read note pad ReadNotepad
Description: to read the specified page’s data content; Refer to 4.1 for more about user note pad.
Also see
WriteNotepad
.
Input Parameter: none
Return Parameter: Confirmation code (1 byte) + data content
Instuction 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 0~15 xxH
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
32bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Confirmation
code
User content
Checksum
0xEF01 xxxx 07H 3+32 xxH
User
content sum
Note: Confirmation code=00H: read success;
Confirmation code=01H: error when receiving package;
- 19 -
Summary of Contents for R303A Series
Page 24: ...22...