4.4.4 Reading Executive Memory
Reading from executive memory is performed by executing a series of
TBLRD instructions and clocking out the data using the
REGOUT command.
Table 4-17 provides the ICSP programming details for reading executive memory.
To minimize reading time, the same packed data format that the PE uses is utilized. See Programming Executive Commands for more details on the packed data format.
| Command (Binary) | Data (Hex) | Description |
|---|---|---|
|
Step 1: Exit the Reset vector. | ||
|
|
|
|
|
Step 2: Initialize the TBLPAG register and the Read Pointer (W6) for the TBLRD instruction. | ||
|
|
|
|
|
Step 2: Initialize the TBLPAG register for writing to the latches. | ||
|
|
|
|
|
Step 3: Initialize the Write Pointer (W7) and store the next four locations of code memory to W0:W5. | ||
|
|
|
|
|
Step 4: Output W0:W5 using the VISI register and
| ||
|
|
|
Clock out contents of the VISI register.
Clock out contents of the VISI register.
Clock out contents of the VISI register.
Clock out contents of the VISI register.
|
|
Step 6: Repeat Steps 3-5 until all desired code memory is read. | ||
