Flash Memory System and Programming
239
Philips Semiconductors
Preliminary User Manual
LPC2119/2129/2292/2294
ARM-based Microcontroller
Blank check sector(s) <start sector number> <end sector number>
Read Part ID
Read Boot code version
Table 208: ISP Blank check sector(s) command description
Command
I
Input
Start Sector Number
End Sector Number: Should be greater than or equal to start sector number.
Return Code
CMD_SUCCESS |
SECTOR_NOT_BLANK (followed by <Offset of the first non blank word location> <Contents of non
blank word location>) |
INVALID_SECTOR |
PARAM_ERROR
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.
Example
"I 2 3<CR><LF>" blank checks the flash sectors 2 and 3.
Blank check on sector 0 always fails as
first 64 bytes are re-mapped to flash boot sector.
Table 209: ISP Read Part ID command description
Command
J
Input
None
Return Code
CMD_SUCCESS followed by part identification number in ASCII format.
Description
This command is used to read the part identification number.
Example
"J<CR><LF>".
Table 210: ISP Read Boot Code version command description
Command
K
Input
None
Return Code
CMD_SUCCESS followed by 2 bytes of boot code version number in ASCII format. It is to be
interpreted as <byte1(Major)>.<byte0(Minor)>
Description
This command is used to read the boot code version number.
Example
"K<CR><LF>".