4.1.3 Time-outs
The Programming Executive uses no Watchdog Timer or time-out for transmitting responses to the programmer. If the programmer does not follow the flow control mechanism using PGECx, as described in Communication Interface and Protocol, it is possible that the Programming Executive will behave unexpectedly while trying to send a response to the programmer. Since the PE has no time-out, it is imperative that the programmer correctly follows the described communication protocol.
As a safety measure, the programmer should use the command time-outs identified in Table 4-1. If the command time-out expires, the programmer should reset the PE and start programming the device again.
| Opcode | Mnemonic | Length (16-bit words) | Time-out | Description |
|---|---|---|---|---|
|
0x0 |
|
1 |
1 ms |
Sanity check |
|
0x1 |
Reserved |
N/A |
N/A |
— |
|
0x2 |
|
4 |
1 ms/row |
Read ‘N’ 24-bit instruction words of the user Flash memory, Configuration Word, or Device ID register, starting from the specified address. |
|
0x3 |
|
6 |
5 ms |
Program a double instruction word of code memory at the specified address and verify it. |
|
0x4 |
Reserved |
N/A |
N/A |
This command is reserved; it will return a NACK. |
|
0x5 |
|
195 |
5 ms |
Program 128 words of program memory at the specified starting address, then verify. |
|
0x6 |
Reserved |
N/A |
N/A |
This command is reserved; it will return a NACK. |
|
0x7 |
|
1 |
125 ms |
Bulk Erase user memory. |
|
0x8 |
Reserved |
N/A |
N/A |
This command is reserved; it will return a NACK. |
|
0x9 |
|
3 |
25 ms |
Command to erase a page. |
|
0xA |
Reserved |
N/A |
N/A |
This command is reserved; it will return a NACK. |
|
0xB |
|
1 |
1 ms |
Query the Programming Executive software version. |
|
0xC |
|
5 |
1s |
Perform a CRC-16 on the specified range of memory. |
|
0xD |
Reserved |
N/A |
N/A |
This command is reserved; it will return a NACK. |
|
0xE |
|
5 |
700 ms |
Query to check whether the code memory is blank. |
