READI Module
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
24-63
4. The specified address (stored in RWAD field) is incremented to the next word size and the number
in the CNT field is decremented. The SC field is not cleared.
5. The tool transmits the next upload/download information public message (TCODE = 19).
6. The upload/download information public message contains:
a) TCODE(19)
b) Write data (write data -> UDI)
7. After the completion of this write operation, the device ready for upload/download public message
(TCODE = 16) is transmitted to the tool indicating that the device is ready for next access.
8. The specified address (in RWAD field) is incremented to the next word size and the number in the
CNT field is decremented. The SC field is not cleared.
9. Steps 5 through 8 are repeated until the count value in the CNT field of RWA register equals zero.
The SC bit is cleared to indicate end of the block write access.
NOTE
For downloading write data to the device for block write operation, the
download request public message (TCODE = 18) should not be used to
write subsequent data to the UDI register. Data written to the UDI register
(via download request message, TCODE 18) is not used by the device for
any read/write operation.
24.10.3 Read Operation to Memory-Mapped Locations and SPR Registers
24.10.3.1 Single Read Operation
For a single read access to memory-mapped locations and SPR registers, the following sequence of
operations need to be performed via the auxiliary port:
1. The tool confirms that the device is ready before transmitting download request public message
(TCODE = 18).
2. The download request public message contains:
a) TCODE(18)
b) Access opcode 0xF which signals that subsequent data needs to be stored in the RWA register.
c) Configure the RWA fields as follows:
– Start/complete (1 to indicate start access) -> SC
– Read/write address (read address) -> RWAD
– Read/write (0 to indicate a read access) -> RW
– Word size (32 bits, 16 bits, 8 bits) -> SZ
– Write data (0xXXXXXXXX-> WD [don’t care])
– Privilege (user data/instruction, supervisor data/instruction) > PRV
– Map select (select memory map, 00 or 01) -> MAP
– Access count (0 to indicate single access) -> CNT
3. Data read from the specified address is stored in the UDI register.
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...