Freescale Semiconductor DSP56366 User Manual
Page 265

DSP56366 Bootstrap Program
DSP56366 24-Bit Digital Signal Processor User Manual, Rev. 4
Freescale Semiconductor
A-13
BURN_END
ORG PL:,PL:
PATTERNS dsm 4 ;; align for correct modulo addressing
ORG PL:BURN_END,PL:BURN_END
dup PATTERNS-* ; write address in unused Boot ROM location
dc *
endm
ORG PL:PATTERNS,PL:PATTERNS ;; Each value is written to all memories
dc $555555
dc $AAAAAA
dc $333333
dc $F0F0F0
NUM_PATTERNS equ *-PATTERNS
;========================================================================
; This code fills the unused bootstrap rom locations with their address
dup $FF00C0-*
dc *
endm
;========================================================================
; Reserved Area in the Program ROM: upper 128 words.
; Address range: $FFAF80 - $FFAFFF
;========================================================================
ORG PL:$FFAF80,PL:$FFAF80
; This code fills the unused rom locations with their address
dup $FFB000-$14-*
dc *
endm
; Code segment for testing of ROM Patch
; This code segment is located in the uppermost addresses of the Program ROM
ORG PL:$FFB000-$14,PL:$FFB000-$14
move #$80000,r0
move #$0,x0