READI Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
24-19
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.
Refer to
Section 24.10, “Read/Write Access
,” for more details on read/write access protocol.
24.6.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.
2. The tool waits for device ready for upload/download message (TCODE 16) before initiating next
access.
To read control or status from READI tool mapped registers the following sequence would be required
1. The tool confirms that the device is ready. The tool transmits the upload request message (TCODE
17) which contains the target opcode.
2. When device reads data it transmits upload/download information message (TCODE 19)
containing read data. Device is now ready for next access.
Refer to
Section 24.10, “Read/Write Access
,” for more details on read/write access protocol.
24.6.4
Partial Register Updates
Registers may be updated via the auxiliary port using the download request message with the message
containing only N (where N is less than register width) most-significant bits of the register. In such cases
the bits not transmitted will be reset to 0b0. The bits transmitted will be aligned such that the last bit
transmitted will be the most significant bit of the register. Therefore a message size that is divisible by the
input port size should be transmitted.
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...