A-10
DSP56305 User’s Manual
MOTOROLA
Bootstrap Code
; HTAP=0 (HTA pin - active high)
; HDSM=0 (Double-strob pin mode enabled)
; HF4 =1 (turn on flag 4 for handshake)
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
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,x0 ; Store starting address
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
movep X:M_DRXR,y0 ; Store starting address
insert x1,x0,a ; concatenate next 16-bit word
insert y1,y0,a ; concatenate next 16-bit word
move a1,r0 ; start to p-mem
move a0,a1 ; number of words to transfer
; Download P memory through UB
lsr a r0,r1 ; divide loop count by 2 and save r0
do a1,_LOOP4 ; Load instruction words
_LBLE
jset #2,X:M_DSR,_LBLF ; Wait for SRRQ to go high (i.e. data ready)
jclr #3,X:M_DSR,_LBLE ; If HF0=1, stop loading new data.
bra <TERMINATE ; Terminate loop (enddo) and finish
_LBLF
movep X:M_DRXR,a0 ; Store 16-bit data in accumulator
_LBLG
jset #2,X:M_DSR,_LBLH ; Wait for SRRQ to go high (i.e. data ready)
jclr #3,X:M_DSR,_LBLG ; If HF0=1, stop loading new data.
bra <TERMINATE ; Terminate loop (enddo) and finish
_LBLH
movep X:M_DRXR,x0 ; Store 16-bit data in register
_LBLI
jset #2,X:M_DSR,_LBLJ ; Wait for SRRQ to go high (i.e. data ready)
jclr #3,X:M_DSR,_LBLI ; If HF0=1, stop loading new data.
bra <TERMINATE ; Terminate loop (enddo) and finish
_LBLJ
movep X:M_DRXR,y0 ; Store 16-bit data in register
insert x1,x0,a ; concatenate next 16-bit word
insert y1,y0,a ; concatenate next 16-bit word
movem a0,p:(r0)+ ; Store 24-bit data in P mem.
movem a1,p:(r0)+ ; Store 24-bit data in P mem.
nop ; movem cannot be at LA.
_LOOP4 ; and go get another 24-bit word.
bra <FINISH ; finish bootstrap
;========================================================================
; This is the routine that loads from the Host Interface in PCI mode.
; MD:MC:MB:MA=1100 - Host PCI
PCIHOSTLD
bset #20,X:M_DCTR ; Configure HI32 as PCI
UB3_CONT
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
Summary of Contents for DSP56305
Page 34: ...xxxii DSP56305 User s Manual MOTOROLA ...
Page 40: ...xxxvi DSP56305 User s Manual MOTOROLA ...
Page 41: ...MOTOROLA DSP56305 User s Manual 1 1 SECTION 1 DSP56305 OVERVIEW ...
Page 58: ...1 18 DSP56305 User s Manual MOTOROLA DSP56305 Overview DSP56305 Architecture Overview ...
Page 59: ...MOTOROLA DSP56305 User s Manual 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Page 98: ...2 40 DSP56305 User s Manual MOTOROLA Signal Connection Descriptions JTAG OnCE Interface ...
Page 99: ...MOTOROLA DSP56305 User s Manual 3 1 SECTION 3 MEMORY CONFIGURATION ...
Page 119: ...MOTOROLA DSP56305 User s Manual 4 1 SECTION 4 CORE CONFIGURATION ...
Page 144: ...4 26 DSP56305 User s Manual MOTOROLA Core Configuration JTAG Boundary Scan Register BSR ...
Page 145: ...MOTOROLA DSP56305 User s Manual 5 1 SECTION 5 GENERAL PURPOSE I O ...
Page 149: ...HOST INTERFACE HI32 MOTOROLA DSP56305 User s Manual 6 1 SECTION 6 HOST INTERFACE HI32 ...
Page 150: ...6 2 DSP56305 User s Manual MOTOROLA HOST INTERFACE HI32 ...
Page 259: ...MOTOROLA DSP56305 User s Manual 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Page 315: ...MOTOROLA DSP56305 User s Manual 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Page 347: ...MOTOROLA DSP56305 User s Manual 9 1 SECTION 9 TIMER EVENT COUNTER ...
Page 376: ...9 30 DSP56305 User s Manual MOTOROLA Timer Event Counter Timer Modes of Operation ...
Page 377: ...MOTOROLA DSP56305 User s Manual 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Page 411: ...MOTOROLA DSP56305 User s Manual 11 1 SECTION 11 JTAG PORT ...
Page 430: ...11 20 DSP56305 User s Manual MOTOROLA JTAG Port DSP56305 Boundary Scan Register ...
Page 431: ...Filter Co Processor MOTOROLA DSP56305 User s Manual 12 1 SECTION 12 FILTER CO PROCESSOR ...
Page 471: ...VITERBI CO PROCESSOR MOTOROLA DSP56305 User s Manual 13 1 SECTION 13 VITERBI CO PROCESSOR ...
Page 522: ...13 52 DSP56305 User s Manual MOTOROLA VITERBI CO PROCESSOR References ...
Page 554: ...14 32 DSP56305 User s Manual MOTOROLA CYCLIC CODE CO PROCESSOR Configuration Examples ...
Page 555: ...MOTOROLA DSP56305 User s Manual A 1 APPENDIX A BOOTSTRAP CODE ...
Page 568: ...A 14 DSP56305 User s Manual MOTOROLA Bootstrap Code ...
Page 569: ...Equates MOTOROLA DSP56305 User s Manual B 1 APPENDIX B EQUATES ...
Page 589: ...MOTOROLA DSP56305 User s Manual C 1 APPENDIX C JTAG BSDL ...
Page 590: ...C 2 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Page 600: ...C 12 DSP56305 User s Manual MOTOROLA JTAG BSDL ...
Page 601: ...MOTOROLA DSP56305 User s Manual D 1 APPENDIX D PROGRAMMING REFERENCE ...
Page 602: ...D 2 DSP56305 User s Manual MOTOROLA PROGRAMMING REFERENCE ...
Page 661: ...Y MOTOROLA DSP56305 User s Manual Index 11 ...
Page 662: ...Y Index 12 DSP56305 User s Manual MOTOROLA ...