A-10
DSP56309UM/D MOTOROLA
Bootstrap Programs
; Can be implemented in future.
;
OMR0XXX
jclr #2,omr,EPRSCILD ; If MD:MC:MB:MA=00xx, default to EPROM/SCI
jclr #1,omr,OMR1IS0 ; IF MD:MC:MB:MA=010x, default to ISA/HC11
jclr #0,omr,I8051HOSTLD ; If MD:MC:MB:MA=0110, default to 8051 Host
; If MD:MC:MB:MA=0111, execute burnin test
;========================================================================
; This mode is reserved for internal testing purposes
; MD:MC:MB:MA=0111
;;---------------------------------------------------------
;;
;; burnin mode
;;
;; Intended to be used for burn-in test. Wake up from reset
;; with PINIT set for execution in maximum frequency.
;; All RAM locations are validated, arithmetic/logic operations
;; are validated (add, eor) and exercised (mac).
;; While all tests pass, the SCK0 pin will continue to toggle.
;; When the test fails the DSP enters DEBUG and stops execution.
;;
;;---------------------------------------------------------
;; get PATTERN pointer
clr b #PATTERNS,r6 ;; b is the error accumulator
move #<(NUM_PATTERNS-1),m6 ;; program runs forever in
;; cyclic form
;; configure SCK0 as gpio output. PRRC register is cleared at reset.
movep b,x:M_PDRC ;; clear GPIO data register
bset #SCK0,x:M_PRRC ;; Define SCK0 as output GPIO pin
;; SCK0 toggles means test pass
do #9,burn1
;;----------------------------
;; test RAM
;; each pass checks 1 pattern
;;----------------------------
move p:(r6)+,x1 ;; pattern for x memory
move p:(r6)+,x0 ;; pattern for y memory
move p:(r6)+,y0 ;; pattern for p memory
;; write pattern to all memory locations
if (EQUALDATA) ;; x/y ram symmetrical
;; write x and y memory
clr a #start_dram,r0 ;; start of x/y ram
move #>length_dram,n0 ;; length of x/y ram
rep n0
mac x0,x1,a x,l:(r0)+ ;; exercise mac, write x/y ram
Содержание DSP56309
Страница 25: ...xxii DSP56309UM D MOTOROLA Figure D 25 Port E Registers PCRE PRRE PDRE D 39 ...
Страница 30: ...MOTOROLA DSP56309UM D 1 1 SECTION 1 DSP56309 OVERVIEW ...
Страница 47: ...1 18 DSP56309UM D MOTOROLA DSP56309 Overview DSP56309 Architecture Overview ...
Страница 48: ...MOTOROLA DSP56309UM D 2 1 SECTION 2 SIGNAL CONNECTION DESCRIPTIONS ...
Страница 85: ...2 38 DSP56309UM D MOTOROLA Signal Connection Descriptions OnCE JTAG Interface ...
Страница 86: ...MOTOROLA DSP56309UM D 3 1 SECTION 3 MEMORY CONFIGURATION ...
Страница 104: ...MOTOROLA DSP56309UM D 4 1 SECTION 4 CORE CONFIGURATION ...
Страница 124: ...MOTOROLA DSP56309UM D 5 1 SECTION 5 GENERAL PURPOSE I O ...
Страница 125: ...5 2 DSP56309UM D MOTOROLA General Purpose I O 5 1 INTRODUCTION 5 3 5 2 PROGRAMMING MODEL 5 3 ...
Страница 128: ...MOTOROLA DSP56309UM D 6 1 SECTION 6 HOST INTERFACE HI08 ...
Страница 166: ...MOTOROLA DSP56309UM D 7 1 SECTION 7 ENHANCED SYNCHRONOUS SERIAL INTERFACE ESSI ...
Страница 212: ...MOTOROLA DSP56309UM D 8 1 SECTION 8 SERIAL COMMUNICATION INTERFACE SCI ...
Страница 241: ...8 30 DSP56309UM D MOTOROLA Serial Communication Interface SCI GPIO Signals and Registers ...
Страница 242: ...MOTOROLA DSP56309UM D 9 1 SECTION 9 TRIPLE TIMER MODULE ...
Страница 269: ...9 28 DSP56309UM D MOTOROLA Triple Timer Module Timer Operational Modes ...
Страница 270: ...MOTOROLA DSP56309UM D 10 1 SECTION 10 ON CHIP EMULATION MODULE ...
Страница 302: ...MOTOROLA DSP56309UM D 11 1 SECTION 11 JTAG PORT ...
Страница 369: ...C 22 DSP56309UM D MOTOROLA DSP56309 BSDL Listing ...
Страница 370: ...MOTOROLA DSP56309UM D D 1 APPENDIX D PROGRAMMING REFERENCE ...
Страница 405: ......
Страница 409: ......