![Maxim Integrated MAX31782 Скачать руководство пользователя страница 165](http://html1.mh-extra.com/html/maxim-integrated/max31782/max31782_user-manual_1744481165.webp)
MaximIntegrated
MAX31782 User’s Guide
Revision 0; 8/11
18.3.20Command50h—LoadandVerifyCode
This command provides the combined functionality of the Load Code and Verify Code commands . After each word of
data is written to flash memory, the loader reads this memory location and verifies that the data matches the input data .
If the verification fails, the status code is set to reflect this failure . All the guidelines that are listed for the Load Code
command must be followed for the Load and Verify Code command . This command is password protected .
18.3.21Command51h—LoadandVerifyData
This command provides the combined functionality of the Load Data and Verify Data commands . After each word of
data is written to SRAM memory, the loader reads this memory location and verifies that the data matches the input
data . If the verification fails, the status code is set to reflect this failure . The guidelines that are listed for the Load Data
command must be followed for the Load and Verify Data command . This command is password protected .
18.3.22CommandE0h—CodePageErase
This command erases (programs to FFFFh) all words in a 256 word (512 byte) page of the program flash memory . The
MAX31782 has 128 pages of flash . The input PageNum indicates which page to erase . For example, PageNum = 1
would erase byte addresses 000h through 1FFh and PageNum = 2 would erase byte addresses 200h through 3FFh .
This command requires approximately 40ms to complete . Polling can be performed during this execution time to deter-
mine when the page erase has completed . This command is password protected .
Byte1
Byte2
Byte3
Byte4
(Length)Bytes
Byte
5
Byte
6
Byte
7
Command
DataIn
DataIn
DataIn
DataIn
NOP
Return
DummyRX
Input
50h
Length
AddrL
AddrH
Data to load and verify
00h
00h
00h
Output
X
X
X
X
X
X
3Eh
X
Byte1
Byte2
Byte3
Byte4
(Length)Bytes
Byte
5
Byte
6
Byte
7
Command
DataIn
DataIn
DataIn
DataIn
NOP
Return
DummyRX
Input
51h
Length
AddrL
AddrH
Data to load and verify
00h
00h
00h
Output
X
X
X
X
X
X
3Eh
X
Byte1
Byte2
Byte3
Byte4
Byte5
Byte6
Byte7
Command
DataIn
DataIn
DataIn
NOP
Return
DummyRX
Input
E0h
0
PageNum
0
00h
00h
00h
Output
X
X
X
X
X
3Eh
X