Design Checklist
F-2
MC68360 USER’S MANUAL
MOTOROLA
spec (see spec 32), or the total system reset may not be terminated correctly and un-
usual behavior may occur. Also, when using the RESET instruction to reset the
MC68302 internal peripherals, a strong pullup (such as 1.2K ohms) may be required
for proper rise times.
Chip Select, DTAC
K
Generation
If unexpected behavior is occurring on the DTACK line, such as early or late assertion
or negation, then often the problem is traced to another component on the board that
is generating DTACK at the same time as the IMP DTACK generator. An often over-
looked source for DTACK generation is the emulator overlay memory (if an emulator
is used), which may have been inadvertently configured to overlap with a chip-select
area of the IMP. Very unusual behavior can result, especially if the number of wait
states programmed for the chip select is different from that of the overlay memory.
Chip Select, Option Register
When setting up the chip select option register to operate as an address mask, the val-
ue programmed into the base address mask field should normally have all ones at the
left end and all zeros at the right end. Any zeros mixed between ones in the option reg-
ister base address mask field will cause multiple responses of the chip-select pin
throughout the MC68302 address space. In most applications, this is undesirable and
confusing.
A0–A7, D0–D7, Initialize, Reset
The M68000 registers A0–A7 and D0–D7 do not have predefined values upon a total
system reset. The use of uninitialized (or partially uninitialized) registers can cause in-
termittent and erratic software behavior since the initialized register values may vary
from reset to reset.
BSET Instruction, Byte
To use the bit set instruction (BSET) to set a bit in the lower half of a word-sized reg-
ister or memory location, one MUST perform a byte operation on the byte address, i.e.,
word_address + 1. For example, to set bit zero of a word address $3000, one must
issue BSET.B #0,#$3001. There is no BSET.W instruction available in the MC68000.
This also applies to the BTST instruction.
Exception Vector Table, Initialize, Reset
Failure to provide the M68000 core exception vector table with vectors can cause er-
ratic behavior when an exception (such as bus error) occurs. Make sure that the boot
ROM/EPROM has exception vectors initialized, and that the initial reset vector causes
the program to start at an address above the vector table.
Stack Pointer, Initialize, Reset
The stack pointer must be initialized to an EVEN address; otherwise, address errors
will occur when the stack is first used.
Parameter RAM, Initialize, Reset
To use SCCs with specific protocols, both general-purpose parameters and protocol-
specific parameters must be initialized. Failure to initialize the parameter RAM will re-
sult in erratic behavior since the parameter RAM does not have predefined values
upon a total system reset.
EQU, Parameter RAM
Very unusual problems with the SCCs are often traced to the fact that the source code
9.
10.
11.
12.
13.
14.
15.
16.