English
Language : 

MC68HC908AS32A Datasheet, PDF (255/280 Pages) Freescale Semiconductor, Inc – Microcontrollers
Monitor Module (MON)
A brief description of each monitor mode command is given in Table 18-4 through Table 18-9.
Table 18-4. 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
ECHO
DATA
RETURN
Table 18-5. 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
ECHO
DATA
Table 18-6. 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
MC68HC908AS32A Data Sheet, Rev. 2.0
Freescale Semiconductor
255