Motorola MCF5281 Operands are sent as 16 and 32 bits, respectively, Dump Memory Block Dump

Models: MCF5282 MCF5281

1 816
Download 816 pages 28.97 Kb
Page 699
Image 699

Command Sequence:

WRITE (B/W)

 

MS ADDR

 

LS ADDR

DATA

???

 

’NOT

 

’NOT READY’

’NOT

Background Debug Mode (BDM)

WRITE

XXX

MEMORY

’NOT READY’

LOCATION

 

 

NEXT CMD

 

’CMD COMPLETE’

 

XXX

 

BERR

WRITE (LONG)

 

MS ADDR

 

LS ADDR

???

 

 

 

 

NEXT CMD

’NOT READY’

MS DATA

’NOT

LS DATA

’NOT READY’

WRITE

XXX

MEMORY

’NOT READY’

LOCATION

 

 

NEXT CMD

 

COMPLETE’

 

XXX

 

BERR

 

 

NEXT CMD

 

 

’NOT READY’

 

 

Figure 29-24. WRITE Command Sequence

Operand Data

This two-operand instruction requires a longword absolute address

 

that specifies a location to which the data operand is to be written.

 

Byte data is sent as a 16-bit word, justified in the LSB; 16- and 32-bit

 

operands are sent as 16 and 32 bits, respectively

Result Data

Command complete status is indicated by returning 0xFFFF (with S

 

cleared) when the register write is complete. A value of 0x0001 (with

 

S set) is returned if a bus error occurs.

29.5.3.3.5 Dump Memory Block (DUMP)

DUMP is used with the READ command to access large blocks of memory. An initial READ is executed to set up the starting address of the block and to retrieve the first result. If an initial READ is not executed before the first DUMP, an illegal command response is returned. The DUMP command retrieves subsequent operands. The initial address is incremented by the operand size (1, 2, or 4) and saved in a temporary register. Subsequent DUMP commands use this address, perform the memory read, increment it by the current operand size, and store the updated address in the temporary register.

MOTOROLA

Chapter 29. Debug Support

29-27

Page 699
Image 699
Motorola MCF5281, MCF5282 Operands are sent as 16 and 32 bits, respectively, Set is returned if a bus error occurs