|ISP-IAP API / ISP|
|Input||Address1 (DST): Starting flash or
RAM address of data bytes to be compared. This address should be
a word boundary.
Address2 (SRC): Starting flash or RAM address of data bytes to be compared. This address should be a word boundary.
Number of Bytes: Number of bytes to be compared; should be a multiple of 4.
|Return Code||CMD_SUCCESS | (Source and destination data are equal)
COMPARE_ERROR | (Followed by the offset of first mismatch)
COUNT_ERROR (Byte count is not a multiple of 4) |
|Description||This command is used to compare the memory contents at two locations.|
|Example||"M 8192 268468224 4<CR><LF>" compares 4 bytes from the RAM address 0x1000 8000 to the 4 bytes from the flash address 0x2000.|
© NXP N.V. 2014. All rights reserved.