Freescale-semiconductor DSP56366 User Manual Page 262

  • Download
  • Add to my manuals
  • Print
  • Page
    / 366
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 261
DSP56366 Bootstrap Program
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
A-10 Freescale Semiconductor
;========================================================================
; MD:MC:MB:MA=1001 is used for Burn-in code
BURN_RESER
jclr #MB,omr,BURN ; IF MD:MC:MB:MA=1001, go to BURN
;========================================================================
; The following modes are reserved, some of which are used for internal testing
; MD:MC:MB:MA=0011 is reserved
; MD:MC:MB:MA=1010 is reserved
; MD:MC:MB:MA=1011 is reserved
RESERVED
bra <*
;========================================================================
; Code for burn-in
;========================================================================
M_PCRC EQU $FFFFBF ;; Port C GPIO Control Register
M_PDRC EQU $FFFFBD ;; Port C GPIO Data Register
M_PRRC EQU $FFFFBE ;; Port C Direction Register
SCKT EQU $3 ;; SCKT is GPIO bit #3 in ESAI (Port C)
EQUALDATA equ 0 ;; 1 if xram and yram are of equal
;; size and addresses, 0 otherwise.
if (EQUALDATA)
start_dram equ 0 ;;
length_dram equ $1600 ;; same addresses
else
start_xram equ 0 ;; 13k XRAM
length_xram equ $3400
start_yram equ 0 ;; 7k YRAM
length_yram equ $1c00
endif
start_pram equ 0 ;; 3k PRAM
length_pram equ $C00
BURN
;; get PATTERN pointer
clr b #PATTERNS,r6 ;; b is the error accumulator
move #<(NUM_PATTERNS-1),m6 ;; program runs forever in
;; cyclic form
;; configure SCKT as gpio output.
movep b,x:M_PDRC ;; clear GPIO data register
bclr #SCKT,x:M_PCRC ;; Define SCKT as output GPIO pin
bset #SCKT,x:M_PRRC ;; SCKT toggles means test pass
Page view 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 365 366

Comments to this Manuals

No comments