Mon12 Monitor Commands; Mon12 Interrupt Support - Axiom MCU MC9S12DP256 User Manual

Single board computer for motorola mc9s12dp256
Table of Contents

Advertisement

C M L 1 2 S D P 2 5 6
A) Determine if Auto Start in enabled and proceed to vector if not a value of $FFFF.
B) Set Stack, Initialize memory map and SCI0 port and send prompt.
C) Receive first character from Console port and execute monitor if ASCII text / command,
else start utility mode for programming services.

Mon12 Monitor Commands

AUTO [<Address>]
NOAUTO
BF <StartAddress> <EndAddress>
[<data>]
BR [<Address>]
BULK
CALL [<Address>]
G [<Address>]
HELP
LOAD [P]
MD <StartAddress> [<EndAddress>]
MM <Address>
MW <Address>
MOVE <StartAddress> <EndAddress>
<DestAddress>
RD
RM
STOPAT <Address>
T
[<count>]

MON12 Interrupt Support

All interrupt services under MON12 are provided through the ram vector table, see Table 2.
Each location in the table is initialized to a value of $0000 to cause the trap of an unscheduled
interrupt. Any nonzero value will allow the interrupt to proceed to the user's service routine
that should be located at the provided address value. Interrupt service delay is plus 21 cycles
over standard interrupt service.
To use vectors specified in the table, the user must insert the address of the interrupt service
routine during software initialization into the ram interrupt table. For an example, for the IRQ
vector, the following is performed:
Example:
IRQ Service routine label = IRQ_SRV
Ram Vector Table address is defined in table below, IRQ vector definition:
VIRQ EQU $3EF2 ; define ram table vector location
Place IRQ service routine address in the table:
MOVW
Enable Auto start, address is the vector
Disable Auto start
Fill memory with data
Set/Display user breakpoints
Erase entire on-chip EEPROM contents
Call user subroutine at <Address>
Begin/continue execution of user code
Display the Mon12 command summary
Load S-Records into memory, P = Paged S2
Memory Display Bytes
Modify Memory Bytes (8 bit values)
Modify memory Words (16 bit values)
Move a block of memory
Display all CPU registers
Modify CPU Register Contents
Trace until address
Trace <count> instructions
#IRQ_SRV,VIRQ
10
0 7 / 1 7 / 0 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cml12s-dp256

Table of Contents