
MOTOROLA
Chapter 23. READI Module
23-19
Programming Model
To write control or status to memory mapped locations the following sequence would be
required.
1. The tool confirms that the device is ready (so as to not cancel an ongoing read write
access). The tool transmits the download request public message (TCODE 18)
which contains write attributes, write data, and target address.
2. The tool waits for device ready for upload/download (TCODE 16) message before
initiating next access.
To read control or status from memory mapped locations the following sequence would be
required.
1. The tool confirms that the device is ready. The tool transmits the download request
public message (TCODE 18) which contains read attributes and target address.
2. When device reads data it transmits upload/download information message
(TCODE 19) containing read data. Device is now ready for next access.
For a block write to memory mapped locations the following sequence would be required.
1. The tool confirms that the device is ready. The tool transmits the download request
public message (TCODE 18) which contains block write attributes, first write data,
and target address.
2. The tool waits for device ready for upload/download message (TCODE 16). When
it is transmitted by device, tool transmits upload/download information message
(TCODE 19) containing next write data. This step is repeated until all data is
written
For a block read from memory mapped locations the following sequence would be
required.
1. The tool confirms that the device is ready. The tool transmits the download request
public message (TCODE 18) which contains block read attributes and target
address.
2. The tool waits for upload/download information message (TCODE 19) from
device, which contains read data. This step is repeated until all data is read.
23.2.3 Accessing READI Tool Mapped Registers Via the
Auxiliary Port
To write control or status data to READI tool mapped registers the following sequence
would be required.
1. The tool confirms that the device is ready. The tool transmits the download request
message (TCODE 18) which contains write data, and register opcode.