English
Language : 

DSP56309UM Datasheet, PDF (327/424 Pages) Motorola, Inc – 24-Bit Digital Signal Processor
Freescale Semiconductor, Inc.
Bootstrap Programs
move a1,r1
; save starting address
_LOOP8
_LOOP7
do a0,_LOOP7
do #3,_LOOP8
jclr #2,X:M_SSR,*
movep X:M_SRXL,A2
jclr #1,X:M_SSR,*
movep a2,X:M_STXL
asr #8,a,a
movem a1,p:(r0)+
nop
bra <FINISH
; Receive program words
; Wait for RDRF to go high
; Put 8 bits in A2
; Wait for TDRE to go high
; echo the received byte
; Store 24-bit result in P mem.
; pipeline delay
; Boot from SCI done
;========================================================================
; This is the routine that loads from external EPROM.
; MD:MC:MB:MA=1001
EPROMLD
move #BOOT,r2
movep #AARV,X:M_AAR1
; r2 = address of external EPROM
; aar1 configured for SRAM types of access
_LOOP9
do #6,_LOOP9
movem p:(r2)+,a2
asr #8,a,a
move a1,r0
move a1,r1
; 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
do a0,_LOOP10
; read program words
do #3,_LOOP11
; Each instruction has 3 bytes
movem p:(r2)+,a2
; Get the 8 LSB from ext. P mem.
asr #8,a,a
; Shift 8 bit data into A1
_LOOP11
; Go get another byte.
movem a1,p:(r0)+
; Store 24-bit result in P mem.
nop
; pipeline delay
_LOOP10
; and go get another 24-bit word.
; Boot from EPROM done
;========================================================================
FINISH
; This is the exit handler that returns execution to normal
; expanded mode and jumps to the RESET vector.
andi #$0,ccr
jmp (r1)
; Clear CCR as if RESET to 0.
; Then go to starting Prog addr.
;========================================================================
; The following modes are reserved, some of which are used for internal testing
MOTOROLA
DSP56309UM/D
A-9
For More Information On This Product,
Go to: www.freescale.com