Bootstrap Code
MOTOROLA
DSP56305 User’s Manual
A-9
move #$5a,b ; b1=$5a0000
movep b1,X:M_DCTR ; Configure HI32 as Self-Config
movep #$00002f,X:M_DPMC ; write to DPMC
rep #4
movep X0,X:M_DPAR ; write DPAR (CSTR+CCMR,CCCR+CRID,CLAT,CBMA)
; completing 32 bit write
; Switch to ISA mode
movep X0,X:M_DCTR ; Software personal reset
move #$010020,y1 ; width 16, offset 32
; (also as replacment to NOP after sw reset!)
movep #$3a0000,X:M_DCTR ; HM=$3 (UB)
; HIRD=1 (HIRQ_ pin - drive high enabled)
; HIRH=0 (HIRQ_ pin - handshake disabled)
; HRSP=1 (HRST pin - active low)
; HDRP=0 (HDRQ pin - active high)
; HTAP=0 (HTA pin - active high)
; HDSM=0 (Data-strob pin mode enabled)
; read the “magic sequence” 32 consecutive words with value $37
_LBLC
do #32,_LOOP3 ;
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
movep X:M_DRXR,A1 ; Store 24-bit data into A1
and #$00ffff,A ; Mask upper byte
cmp #$37,A ; Compare the 24-bit dat to $000037
beq <_LBLD ; If dat = $37 then go back to loop
enddo ; else break the loop and retry
bra <_LBLC
_LBLD
nop
_LOOP3
; read new CBMA value (“ISA base address”)
jclr #2,X:M_DSR,* ; Wait for SRRQ to go high (i.e. data ready)
movep X:M_DRXR,A1 ; Store 24-bit data into A1
; Switch to Self Configuration mode
movep X0,X:M_DCTR ; Software personal reset
movep A1,X:M_DPMC ; write to DPMC
; (also as replacment to NOP after sw reset!)
movep b1,X:M_DCTR ; Configure HI32 as Self-Config
rep #4
movep X0,X:M_DPAR ; write DPAR (CSTR+CCMR,CCCR+CRID,CLAT,CBMA)
; Switch to ISA mode
movep X0,X:M_DCTR ; Software personal reset
move #$010010,x1 ; width 16, offset 16
; (also as replacment to NOP after sw reset!)
movep #$3a0010,x:M_DCTR ; HM=$3 (UB)
; HIRD=1 (HIRQ_ pin - drive high enabled)
; HIRH=0 (HIRQ_ pin - handshake disabled)
; HRSP=1 (HRST pin - active low)
; HDRP=0 (HDRQ pin - active high)
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 ...