Appendixa bootstrap program, Chapter, Appendix a bootstrap program – Motorola DSP56301 User Manual
Page 297
DSP56301 User’s Manual
A
-1
Appendix A
Bootstrap Program
This appendix lists the bootstrap program for the DSP56301.
; BOOTSTRAP CODE FOR DSP56301 - (C) Copyright 1996,1999 Motorola Inc.
; Original June 18, 1996.
; Revised Februaury 1999 to add burnin and serial eprom.
;
; Bootstrap through the Host Interface, External EPROM or SCI.
;
; This is the Bootstrap program contained in the DSP56301
;
; 3K Boot ROM (K30A only).
;
; This program can load any program RAM segment from an external
;
; EPROM, from the Host Interface or from the SCI serial interface.
;
;
;;;;;;;;;;;;;;;;;;;; MEMORY EQUATES ;;;;;;;;;;;;;;;;;;;;;;;;
EQUALDATA equ 1 ;; 1 if xram and yram are of equal
;; size and addresses, 0 otherwise.
if (EQUALDATA)
start_dram equ 0 ;; 2k X and Y RAM
length_dram equ $0800 ;; same addresses
else
start_xram equ 0 ;; 2k XRAM
length_xram equ $0800
start_yram equ 0 ;; 2k YRAM
length_yram equ $0800
endif
start_pram equ 0 ;; 4k PRAM
length_pram equ $1000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; If MD:MC:MB:MA=x000, then the Boot ROM is bypassed and the DSP56301
; will start fetching instructions beginning with address $C00000 (MD=0)
; or $008000 (MD=1) assuming that an external memory of SRAM type is
; used. The accesses will be performed using 31 wait states with no
; address attributes selected (default area).
;
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; If MD:MC:MB:MA=x001, then it loads a program RAM segment from
; consecutive byte-wide P memory locations, starting at P:$D00000 (bits