Bootstrap Code
MOTOROLA
DSP56305 User’s Manual
A-11
movep X:M_DRXR,a0 ; Store number of words
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
movep X:M_DRXR,r0 ; Store starting address
move r0,r1 ; save r0
do a0,_LOOP5 ; Load instruction words
_LBLK
jset #2,X:M_DSR,_LBLL ; Wait for SRRQ to go high (i.e. data ready)
jclr #3,X:M_DSR,_LBLK ; If HF0=1 stop loading data. Else check SRRQ.
bra <TERMINATE ; Terminate loop (enddo) and finish
_LBLL
movep X:M_DRXR,P:(R0)+ ; Store 24-bit data in P mem.
nop ; movem cannot be at LA.
_LOOP5 ; and go get another 24-bit word.
; finish bootstrap
bra <FINISH ;
;========================================================================
EPRSCILD
jclr #1,omr,EPROMLD ; If MD:MC:MB:MA=1001, go load from EPROM
jclr #0,omr,SCILD ; If MD:MC:MB:MA=1010, go load from SCI
; If MD:MC:MB:MA=1011, 56301-to-56301 boot
;========================================================================
; This is the routine for 56301-to-56301 boot.
; MD:MC:MB:MA=1011 - HI32 in UB mode, double strobe, HTA pin active low
UB3HOSTLD
movep #$268000,x:M_DCTR ; HM=$2 (UB)
; HIRD=0 (HIRQ_ pin - open drain)
; HIRH=1 (HIRQ_ pin - handshake enabled)
; HRSP=1 (HRST pin - active low)
; HDRP=0 (HDRQ pin - active high)
; HTAP=1 (HTA pin - active low)
; HDSM=0 (Double-strobe pin mode enabled)
bra <UB3_CONT ; continue
;========================================================================
; This is the routine that loads from the SCI.
; MD:MC:MB:MA=1010 - external SCI clock
SCILD
movep #$0302,X:M_SCR ; Configure SCI Control Reg
movep #$C000,X:M_SCCR ; Configure SCI Clock Control Reg
movep #7,X:M_PCRE ; Configure SCLK, TXD and RXD
do #6,_LOOP6 ; get 3 bytes for number of
; program words and 3 bytes
; for the starting address
jclr #2,X:M_SSR,* ; Wait for RDRF to go high
movep X:M_SRXL,A2 ; Put 8 bits in A2
Содержание DSP56305
Страница 34: ...xxxii DSP56305 User s Manual MOTOROLA ...
Страница 40: ...xxxvi DSP56305 User s Manual MOTOROLA ...
Страница 41: ...MOTOROLA DSP56305 User s Manual 1 1 SECTION 1 DSP56305 OVERVIEW ...
Страница 58: ...1 18 DSP56305 User s Manual MOTOROLA DSP56305 Overview DSP56305 Architecture Overview ...
Страница 59: ...MOTOROLA DSP56305 User s Manual 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Страница 98: ...2 40 DSP56305 User s Manual MOTOROLA Signal Connection Descriptions JTAG OnCE Interface ...
Страница 99: ...MOTOROLA DSP56305 User s Manual 3 1 SECTION 3 MEMORY CONFIGURATION ...
Страница 119: ...MOTOROLA DSP56305 User s Manual 4 1 SECTION 4 CORE CONFIGURATION ...
Страница 144: ...4 26 DSP56305 User s Manual MOTOROLA Core Configuration JTAG Boundary Scan Register BSR ...
Страница 145: ...MOTOROLA DSP56305 User s Manual 5 1 SECTION 5 GENERAL PURPOSE I O ...
Страница 146: ...5 2 DSP56305 User s Manual MOTOROLA General Purpose I O 5 1 Introduction 5 3 5 2 Programming Model 5 3 ...
Страница 149: ...HOST INTERFACE HI32 MOTOROLA DSP56305 User s Manual 6 1 SECTION 6 HOST INTERFACE HI32 ...
Страница 150: ...6 2 DSP56305 User s Manual MOTOROLA HOST INTERFACE HI32 ...
Страница 258: ...6 110 DSP56305 User s Manual MOTOROLA HOST INTERFACE HI32 EXAMPLES OF HOST TO HI32 CONNECTIONS ...
Страница 259: ...MOTOROLA DSP56305 User s Manual 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Страница 314: ...7 56 DSP56305 User s Manual MOTOROLA Enhanced Synchronous Serial Interface ESSI GPIO ESSI Selection and GPIO Usage ...
Страница 315: ...MOTOROLA DSP56305 User s Manual 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Страница 346: ...8 32 DSP56305 User s Manual MOTOROLA Serial Communication Interface SCI GPIO Signals and Registers ...
Страница 347: ...MOTOROLA DSP56305 User s Manual 9 1 SECTION 9 TIMER EVENT COUNTER ...
Страница 376: ...9 30 DSP56305 User s Manual MOTOROLA Timer Event Counter Timer Modes of Operation ...
Страница 377: ...MOTOROLA DSP56305 User s Manual 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Страница 410: ...10 34 DSP56305 User s Manual MOTOROLA On Chip Emulation Module Examples of JTAG and OnCE interaction ...
Страница 411: ...MOTOROLA DSP56305 User s Manual 11 1 SECTION 11 JTAG PORT ...
Страница 430: ...11 20 DSP56305 User s Manual MOTOROLA JTAG Port DSP56305 Boundary Scan Register ...
Страница 431: ...Filter Co Processor MOTOROLA DSP56305 User s Manual 12 1 SECTION 12 FILTER CO PROCESSOR ...
Страница 471: ...VITERBI CO PROCESSOR MOTOROLA DSP56305 User s Manual 13 1 SECTION 13 VITERBI CO PROCESSOR ...
Страница 520: ...13 50 DSP56305 User s Manual MOTOROLA VITERBI CO PROCESSOR Programming Examples dc 05d900 dc 000000 dc 000000 ...
Страница 522: ...13 52 DSP56305 User s Manual MOTOROLA VITERBI CO PROCESSOR References ...
Страница 523: ...CYCLIC CODE CO PROCESSOR MOTOROLA DSP56305 User s Manual 14 1 SECTION 14 CYCLIC CODE CO PROCESSOR ...
Страница 554: ...14 32 DSP56305 User s Manual MOTOROLA CYCLIC CODE CO PROCESSOR Configuration Examples ...
Страница 555: ...MOTOROLA DSP56305 User s Manual A 1 APPENDIX A BOOTSTRAP CODE ...
Страница 568: ...A 14 DSP56305 User s Manual MOTOROLA Bootstrap Code ...
Страница 569: ...Equates MOTOROLA DSP56305 User s Manual B 1 APPENDIX B EQUATES ...
Страница 570: ...B 2 DSP56305 User s Manual MOTOROLA Equates B 1 Internal I 0 Equates B 3 B 2 Interrupt Equates B 18 ...
Страница 589: ...MOTOROLA DSP56305 User s Manual C 1 APPENDIX C JTAG BSDL ...
Страница 590: ...C 2 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Страница 600: ...C 12 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Страница 601: ...MOTOROLA DSP56305 User s Manual D 1 APPENDIX D PROGRAMMING REFERENCE ...
Страница 602: ...D 2 DSP56305 User s Manual MOTOROLA PROGRAMMING REFERENCE ...
Страница 661: ...Y MOTOROLA DSP56305 User s Manual Index 11 ...
Страница 662: ...Y Index 12 DSP56305 User s Manual MOTOROLA ...
Страница 663: ...Y MOTOROLA DSP56305 User s Manual Index 13 ...
Страница 664: ...Y Index 14 DSP56305 User s Manual MOTOROLA ...