Flash Memory System and Programming 283 May 03, 2004
Philips Semiconductors Preliminary User Manual
LPC2119/2129/2194/2292/2294ARM-based Microcontroller
Blank check sector(s)
Read Part ID
Read Boot code version
Table 218: IAP Blank check sector(s) command description
Command Blank check sector(s)
Input
Command code: 53
Param0: Start Sector Number
Param1: End Sector Number: Should be greater than or equal to start sector number.
Status Code
CMD_SUCCESS |
BUSY |
SECTOR_NOT_BLANK |
INVALID_SECTOR
Result
Result0: Offset of the first non blank word location if the Status Code is SECTOR_NOT_BLANK.
Result1: Contents of non blank word location.
Description
This command is used to blank check a sector or multiple sectors of on-chip Flash memory. To blank
check a single sector use the same "Start" and "End" sector numbers.
Table 219: IAP Read Part ID command description
Command Read Part ID
Input
Command Code: 54
parameters: None
Status Code CMD_SUCCESS
Result Result0: Part Identification Number
Description This command is used to read the part identification number.
Table 220: IAP Read Boot Code version command description
Command Read boot code version
Input
Command code: 55
Parameters: None
Status Code CMD_SUCCESS
Result
Result0: 2 bytes of boot code version number. It is to be interpreted as
<byte1(Major)>.<byte0(Minor)>
Description This command is used to read the boot code version number.