Motorola DSP56367 User Manual page 380

24-bit digital signal processor
Table of Contents

Advertisement

Bootstrap ROM Contents
bra
SHI_CF
bset
bset
bset
bset
jset
bra
;========================================================================
; This is the routine that loads from external EPROM.
; MD:MC:MB:MA=0001
EPROMLD
move #BOOT,r2
movep #AARV,X:M_AAR1
do #6,_LOOP9
movem p:(r2)+,a2
asr #8,a,a
_LOOP9
move a1,r0
move a1,r1
do a0,_LOOP10
do #3,_LOOP11
movem p:(r2)+,a2
asr #8,a,a
_LOOP11
movem a1,p:(r0)+
nop
_LOOP10
bra
<FINISH
OMR1XXX
jclr #MC,omr,BURN_RESER ; IF MD:MC:MB:MA=101x, go to RESERVED
jclr #MB,omr,OMR1IS0
jclr #MA,omr,I8051HOSTLD ; If MD:MC:MB:MA=1110, go load from 8051 Host
;========================================================================
; This is the routine which loads a program through the HDI08 host port
; The program is downloaded from the host MCU with the following rules:
; 1) 3 bytes - Define the program length.
; 2) 3 bytes - Define the address to which to start loading the program to.
A-6
<FINISH
#HI2C,r1
#HCKFR,r1
#HFM0,x:M_HCKR
#HFM1,x:M_HCKR
#MB,omr,shi_loop
<RESERVED
; r2 = address of external EPROM
; aar1 configured for SRAM types of access
; read number of words and starting address
; Get the 8 LSB from ext. P mem.
; Shift 8 bit data into A1
;
; starting address for load
; save it in r1
; a0 holds the number of words
; read program words
; Each instruction has 3 bytes
; Get the 8 LSB from ext. P mem.
; Shift 8 bit data into A1
; Go get another byte.
; Store 24-bit result in P mem.
; pipeline delay
; and go get another 24-bit word.
; Boot from EPROM done
; IF MD:MC:MB:MA=1001, go to BURN
; IF MD:MC:MB:MA=110x, go to look for ISA/HC11
; If MD:MC:MB:MA=1111, go load from MC68302 Host
DSP56367
; select I2C mode.
; enable clock freeze in I2C mode.
; enable 100ns noise filter
; enable 100ns noise filter
; If MD:MC:MB:MA=0110, go to I2C load
; If MD:MC:MB:MA=0100, go to reserved
MOTOROLA

Advertisement

Table of Contents
loading

Table of Contents