User manual

Table Of Contents
USER CUSTOMIZATION
M68CPU32BUG REV 1 C-10
Table C-1. CPU32Bug Customization Area (continued)
Offset Default Value Mnemonic Description
Power On Branch Vectors (PWR_XXX)
$90-95 $60FF0000E056 PWR_TBL1 BRA.L to Initialization Table #1 routine. See INITTBL
below.
$96-9B $60FF0000DEE8 PWR_INI BRA.L to MCU (chip selects) initialization routine:
Exit: D7.L = power up status flags (bits 31-8)
Returns to PWR_TTL (no stack usage!).
$9C-A1 $60FF0000E070 PWR_TBL2 BRA.L to Initialization Table #2 routine. See INITTBL
below.
Exit: D7.L = preserved
$A2-A7 $60FF00000004 PWR_TTL BRA.L to title printing routine:
Returns to PWR_TST (no stack usage!).
Exit: D7.L = preserved
$A8-AD $60FF0000D8AA PWR_TST BRA.L to self-test routine:
Exit: D7.B = error code
D7:31-8 = power up status flags
Returns to PWR_GO (no stack usage!).
$AE-B3 $60FF0000D4B4 PWR_GO BRA.L to CPU32Bug start up routine:
Entry: D7.B = 0 for no self-test errors, else it equals
the error code number (see Appendix B).
D7:31-8 = power up status flags
Never returns.
$B4-B9 all $FF’s BRA.L <reserved>
$BA-BF all $FF’s BRA.L <reserved>
$C0-CF all $FF’s <reserved>
USER CUSTOMIZATION
M68CPU32BUG REV 1 C-7
Table C-1. CPU32Bug Customization Area (continued)
Offset Default Value Mnemonic Description
$70 $06 SYPCR_OR Value ORed with contents of SYPCR register at power-
up/reset.
$71 $FF SYPCR_AND Value ANDed with result value after SYPCR_OR and
stored back into SYPCR. This allows user control of the
write-once bits in the SYPCR, i.e., software watchdog,
halt monitor, and bus monitor.
NOTE
Enabling the software watchdog with a short timeout period may cause
CPU32Bug itself to fail when the watchdog is not serviced soon enough. The
failure is constant RESETing before the CPU32Bug> prompt appears, or
RESETing during execution of particular commands.
Disabling the bus monitor timeout period causes CPU32Bug to lock-up on
any unterminated bus cycle, i.e., accessing non-existant memory.
Changing the bus monitor timeout period to too small of a value can cause
problems with slow memory or if the 8-bit bus mode is enabled upon booting.
$72-73 $8000 FCRYSTAL Crystal frequency in Hz (8000 = 32,768). SCI baud
rates are calculated using this value.
$74-77 $FFFFFFFF FEXTAL External clock frequency (in hertz). Only used when
MODCK is held low during RESET to enable the
EXTAL pin. SCI baud rates are calculated using this
value.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...