English
Language : 

MC68HC908RK2 Datasheet, PDF (143/158 Pages) Motorola, Inc – Microcontroller Unit
Monitor Module
A brief description of each monitor mode command is given in Table 12-3 through Table 12-8.
Table 12-3. READ (Read Memory) Command
Description
Operand
Data Returned
Opcode
Read byte from memory
2-byte address in high-byte:low-byte order
Returns contents of specified address
$4A
Command Sequence
SENT TO MONITOR
READ
READ
ADDRESS ADDRESS ADDRESS ADDRESS
HIGH
HIGH
LOW
LOW
DATA
ECHO
RETURN
Table 12-4. WRITE (Write Memory) Command
Description
Operand
Data Returned
Opcode
FROM HOST
Write byte to memory
2-byte address in high-byte:low-byte order; low byte followed by data byte
None
$49
Command Sequence
WRITE
WRITE
ADDRESS ADDRESS ADDRESS ADDRESS
HIGH
HIGH
LOW
LOW
DATA
DATA
ECHO
Table 12-5. IREAD (Indexed Read) Command
Description
Operand
Data Returned
Opcode
Read next 2 bytes in memory from last address accessed
2-byte address in high byte:low byte order
Returns contents of next two addresses
$1A
Command Sequence
FROM HOST
IREAD
ECHO
IREAD
DATA
DATA
RETURN
MC68HC908RK2 Data Sheet, Rev. 5.1
Freescale Semiconductor
143