Motorola DSP56367 User Manual page 385

24-bit digital signal processor
Table of Contents

Advertisement

start_dram
equ
length_dram
equ
else
start_xram
equ
length_xram
equ
start_yram
equ
length_yram
equ
endif
start_pram
equ
length_pram
equ
BURN
;; get PATTERN pointer
clr b
move
;; configure SCKT as gpio output.
movep
bclr
bset
lua
burnin_loop
;;----------------------------
;; test RAM
;;
;;----------------------------
move
move
move
;; write pattern to all memory locations
if
(EQUALDATA)
;; write x and y memory
clr a
move
rep
mac x0,x1,a x,l:(r0)+
else
;; write x memory
clr a
move
rep
mac x0,y0,a x1,x:(r0)+
MOTOROLA
0
;;
$1600
;; same addresses
0
;; 13k XRAM
$3400
0
;; 7k YRAM
$1c00
0
;; 3k PRAM
$C00
#PATTERNS,r6
#<(NUM_PATTERNS-1),m6
b,x:M_PDRC
#SCKT,x:M_PCRC
#SCKT,x:M_PRRC
(r5)-,r7
do #9,burn1
each pass checks 1 pattern
p:(r6)+,x1
p:(r6)+,x0
p:(r6)+,y0
#start_dram,r0
#>length_dram,n0
n0
#start_xram,r0
#>length_xram,n0
n0
DSP56367
Bootstrap ROM Contents
;; b is the error accumulator
;; program runs forever in
;; cyclic form
;; clear GPIO data register
;; Define SCKT as output GPIO pin
;; SCKT toggles means test pass
;; r5 = test fail flag = $000000
;; r7 = test pass flag = $FFFFFF
;; pattern for x memory
;; pattern for y memory
;; pattern for p memory
;; x/y ram symmetrical
;; start of x/y ram
;; length of x/y ram
;; exercise mac, write x/y ram
;; x/y ram not symmetrical
;; start of xram
;; length of xram
;; exercise mac, write xram
A-11

Advertisement

Table of Contents
loading

Table of Contents