4.2.4.9 QBLANK Command

Table 4-10 provides the description for the QBLANK command.

Table 4-10. Command Description
FieldDescription

Opcode

0xE

Length

0x5

Size

Length of program memory to check

(in 24-bit words) + Addr_MS

Addr_MSB

Most Significant Byte of the 24-bit address

Addr_LSW

Least Significant 16 bits of the 24-bit address

The QBLANK command queries the Programming Executive to determine if the contents of code memory are blank (contain all ‘1’s). The size of code memory to check must be specified in the command.

The Blank Check for code memory begins at [Addr] and advances toward larger addresses for the specified number of instruction words.

QBLANK returns a QE_Code of 0xF0 if the specified code memory is blank; otherwise, QBLANK returns a QE_Code of 0x0F.

Expected Response (2 words for blank device):

0x1EF0

0x0002

Expected Response (2 words for non-blank device):

0x1E0F

0x0002

Note: The QBLANK command does not check the system operation Configuration bits, since these bits are not set to ‘1’ when a Chip Erase is performed.