DSP56309EVM Freescale Semiconductor, DSP56309EVM Datasheet - Page 10

KIT EVALUATION FOR XC56309

DSP56309EVM

Manufacturer Part Number
DSP56309EVM
Description
KIT EVALUATION FOR XC56309
Manufacturer
Freescale Semiconductor
Type
DSPr
Datasheets

Specifications of DSP56309EVM

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Description/function
Audio DSPs
Product
Audio Modules
For Use With/related Products
DSP56309
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Flash Memory Programming Code Description
main_flash
_cmpsec
;----------------------------------------------------------------------------
; write the bootloader code into the FLASH
;----------------------------------------------------------------------------
; write the user code into the FLASH
_wrsec
;----------------------------------------------------------------------------
; Bootloader code
; The following code moves the user code from the FLASH to P:RAM.
; The users code starts in the 2nd sector of the FLASH at x:$040080
BOOT
bootgo
10
org
endif
if (DEVICE==56321)
org
endif
move
move
if (DEVICE==56321)
movep
movep
else
movep
endif
movep
movep
move
clr
inc
sub
bgt
move
move
move
move
move
jsr
move
move
move
dor
bsr
nop
dc
dc
movep
movep
p:$7F00
p:$7F00
#$100,r0
#$100,r1
#$000008,x:M1_PCTL_321
#$000005,x:M1_DSCR_321
#$040004,x:M1_PCTL
#AAR1V,x:M1_AAR1
#BCRV,x:M1_BCR
#>42,x0
b
b
x0,a
_cmpsec
b0,p:NUM_SEC
r0,p:CODE_START
r1,p:CODE_SIZE
#BOOT,r0
#$040000,r2
WR_FLASH
#$040080,r2
p:CODE_START,r0
p:NUM_SEC,r3
r3,_wrsec
<WR_FLASH
nop
debug
nop
BOOT_END-BOOT
bootgo
#AAR1V,x:M1_AAR1
#BCRV,x:M1_BCR
Using Symphony™ Studio with the DSP563xxEVM, Rev. 0
r1,a
; put flash code high in memory for DSP56311
; put flash code high in memory for DSP56321
; can go in low memory
; first word of user code at p:$100
; user code is 0x100 words long
; DSP56321 PLL enabled
; DSP56321 PLL = 5x19.6608MHz = ~100MHz
; PLL =(5/(1*1)) x 19.6608MHz = ~100MHz
; maps FLASH from x:$040000-x:$05ffff
; 21 wait states in AAR1 domain
; calculate number of flash sectors
; for user code
; save number of sectors
; save code start for user code
; save code size for user code
; starting location of data to write
; starting location of flash memory
; jump to flash write routine
; user code begins at flash address $80
; where to get the user code
; the number of sectors to write
; WR_FLASH loads 42 words each time
; program end
; storage for size of boot
; storage for address of boot
; maps FLASH from p:$040000-$05ffff
; 31 wait states in AAR1 domain
Freescale Semiconductor

Related parts for DSP56309EVM