Motorola DSP96002 User Manual page 160

32-bit digital signal processor
Table of Contents

Advertisement

; BOOTSTRAP CODE FOR DSP96002 -
;
; Host algorithm
;
; This is the Bootstrap program contained in the DSP96002. This program
; can load the internal program memory from one of 4 external sources.
; The program reads the OMR bits MA and MB to decide which external
; source to access.
; If MB:MA = 0X - load from 4,096 consecutive byte-wide P: memory
; locations (starting at P:$FFFF0000).
; If MB:MA = 10 - load internal PRAM thru Host Interface in Port A.
; If MB:MA = 11 - load internal PRAM thru Host Interface in Port B.
EQU
$FFFF0000
M_HCRA
EQU
M_HSRA
EQU
M_HRXA
EQU
M_HCRB
EQU
M_HSRB
EQU
M_HRXB
EQU
ORG
START
MOVE
MOVEI
; If this program is entered by changing the OMR to bootstrap mode,
; make certain that registers M0 and M1 have been set to $FFFFFFFF.
; Make sure the appropriate BCR register is set to $xxxxxxFx since
; EPROMs are slow.
; Make sure that the Port Selection Register is set to permit program
; memory accesses thru the required memory expansion port (Port A or B).
;
; The first routine will load 4,096 bytes from the external P memory
; space beginning at P:$FFFF0000 (bits 7-0).
; into 1,024 32-bit words and stored in contiguous internal PRAM memory
; locations starting at P:$0.
; starting with the least significant byte of P:$0 first.
; The Port Selection Register is not set by this program. It is set
; by HW Reset.
Figure 9-3. Assembler Source for DSP96002 Bootstrap Program (1 of 3)
9 - 4
PAGE 132,50,0,10
Copyright 1988 Motorola Inc.
/ AND / external bus method.
$FFFFFFEC
$FFFFFFED
$FFFFFFEF
$FFFFFFE4
$FFFFFFE5
$FFFFFFE7
PL:$0
#BOOT,R1
#0,R0
Note that the first routine loads data
DSP96002 USER'S MANUAL
; The location in P: memory
; where the external byte-wide
; EPROM is expected to be mapped
; Port A Host Control Register
; Port A Host Status Register
; Port A Host Rec. Data Register
; Port B Host Control Register
; Port B Host Status Register
; Port B Host Rec. Data Register
; bootstrap code starts at P:$0
; R1 = External P: address of
; bootstrap byte-wide ROM
; R0 = starting P: address of
; internal memory where program
; will begin loading.
These will be condensed
BOOT
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents