6-4
DSP56367
MOTOROLA
Core Configuration
Operating Mode Register (OMR)
list
START
equ
$100
; main program starting
address
PATCH_OFSET
equ
128
; patch offset
M_PAE
equ
23
; Patch Enable
M_PROMS
equ
$ffafec
; ROM area Start
M_PROME
equ
$ffafff
; ROM area End
org
P:START
move
#M_PROMS,r0
bset
#M_CE,sr
; CacheEnable = 1
bset
#M_PAE,omr
; PatchEnable = 1
move
#$800000,r1
; any external address
move
#128,n1
; 128 for 1K ICACHE,
sector size
move
#(PATCH_OFSET),r2
dup
8
punlock
(r1)+n1
; initialize TAGs to
different
; values
endm
plock
(r2)
; lock patch’s sector
; (start/mid/end)
move
#PATCH_DATA_START,r1
;
; replace ROM code by PATCH
;
do #(PATCH_DATA_END-PATCH_DAT1),PATCH_LOOP
movem
p:(r1)+,x0
movem
x0,p:(r2)+
nop
; Do-loop restriction
PATCH_LOOP
jsr
#M_PROMS
; start ROM code
execution
ENDTEST
jmp
ENDTEST
nop
nop
nop
nop
;
; patch data
;
Summary of Contents for DSP56367
Page 16: ...xvi MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 22: ...xxii MOTOROLA List of Figures Figure Number Title Page Number ...
Page 26: ...xxvi MOTOROLA List of Tables Table Number Title Page Number ...
Page 148: ...4 6 DSP56367 MOTOROLA Design Considerations PLL Performance Issues ...
Page 248: ...9 30 DSP56367 MOTOROLA Serial Host Interface SHI Programming Considerations ...
Page 306: ...10 58 DSP56367 MOTOROLA Enhanced Serial Audio Interface ESAI ESAI Initialization Examples ...
Page 389: ...Bootstrap ROM Contents MOTOROLA DSP56367 A 15 end ...
Page 390: ...A 16 DSP56367 MOTOROLA Bootstrap ROM Contents ...
Page 432: ...C 8 DSP56367 MOTOROLA JTAG BSDL ...
Page 484: ...D 52 DSP56367 MOTOROLA Programmer s Reference ...
Page 490: ...E 6 DSP56367 MOTOROLA Power Consumption Benchmark ...
Page 516: ...F 26 DSP56367 MOTOROLA IBIS Model ...
Page 522: ...Index 6 MOTOROLA Index ...
Page 523: ......