Motorola DSP56156 Manual page 270

Table of Contents

Advertisement

;
; Bootstrap from the parallel host interface
;
_HOSTLD
BFSET
_LBLA
BFTSTH
BRKCS
;
BFTSTL
BCS
MOVEP
_STORE
MOVE
;
_LOOP1
;
ANDI
ORI
AND
BRA
END
Figure A-1 Listing of the DSP56156 Bootstrap Program (Continued)
MOTOROLA
BOOTSTRAP MODE — OPERATING MODE 0 OR 1
BOOTSTRAP ROM
#1,X:(R2)
#8,X:<<M_HSR
#1,X:M_HSR
_LBLA
X:M_HRX,A
A,P:(R0)+
#FE, OMR
#$2,OMR
#$0,CCR
<$0
; Configure Port B as Host Interface.
; Test HF0.
; Stop loading if HF0=1.
; Test HRDF flag
; Wait for HRDF to go high
; (meaning the data is present)
; Put 16-bit host data in X0
; Store 16-bit result in PRAM
; Clear OMR bit 0
; Set the operating mode to 2
; (and trigger an exit from
; bootstrap mode).
; Clear SR as if HW reset and
; introduce delay needed for
; operating mode change.
; Start fetching from PRAM.
A - 7

Advertisement

Table of Contents
loading

Table of Contents