Motorola DSP56309 User Manual page 324

24-bit digital signal processor
Table of Contents

Advertisement

AARV
equ
$D00409
;;
;;;;;;;;;;;;;;;;;;;; DSP I/O REGISTERS ;;;;;;;;;;;;;;;;;;;;;;;;
;;
M_PDRC EQU
$FFFFBD
M_PRRC EQU
$FFFFBE
M_SSR
EQU
$FFFF93
M_STXL EQU
$FFFF95
M_SRXL EQU
$FFFF98
M_SCCR EQU
$FFFF9B
M_SCR
EQU
$FFFF9C
M_PCRE EQU
$FFFF9F
M_AAR1 EQU
$FFFFF8
M_HPCR EQU
$FFFFC4
M_HSR
EQU
$FFFFC3
M_HRX
EQU
$FFFFC6
HRDF
EQU
$0
HF0
EQU
$3
HEN
EQU
$6
SCK0
EQU
$3
ORG PL:$ff0000,PL:$ff0000
START
clr a
jclr #3,omr,OMR0XXX
jclr #2,omr,EPRSCILD
jclr #1,omr,OMR1IS0
jclr #0,omr,I8051HOSTLD ; If MD:MC:MB:MA=1110, load from 8051 Host
;========================================================================
; This is the routine which loads a program through the HI08 host port
; The program is downloaded from the host MCU with the following rules:
; 1) 3 bytes - Define the program length.
; 2) 3 bytes - Define the address to which to start loading the program to.
; 3) 3n bytes (while n is any integer number)
; The program words will be stroed in contiguous PRAM memory locations starting
; at the specified starting address.
; After reading the program words, program execution starts from the same
; address where loading started.
; The host MCU may terminate the loading process by setting the HF1=0 and HF0=1.
; When the downloading is terminated, the program will start execution of the
; loaded program from the specified starting address.
; The HI08 boot ROM program enables the following busses to download programs
; through the HI08 port:
;
MOTOROLA
; AAR1 selects the EPROM as CE~
; mapped as P from $D00000 to
; $DFFFFF, active low
;; Port C GPIO Data Register
;; Port C Direction Register
; SCI Status Register
; SCI Transmit Data Register (low)
; SCI Receive Data Register (low)
; SCI Clock Control Register
; SCI Control Register
; Port E Control register
; Address Attribute Register 1
; Host Polarity Control Register
; Host Status Rgister
; Host Recceive Register
; Host Receive Data Full
; Host Flag 0
; Host Enable
;; SCK0 is bit #3 as GPIO
; bootstrap code starts at $ff0000
; clear a
; If MD:MC:MB:MA=0xxx, go to OMR0XXX
; If MD:MC:MB:MA=10xx, load from EPROM/SCI
; IF MD:MC:MB:MA=110x, look for ISA/HC11
; If MD:MC:MB:MA=1111, load from MC68302 Host
DSP56309UM/D
Bootstrap Programs
A-5

Advertisement

Table of Contents
loading

Table of Contents