Motorola DSP56824ADM User Manual page 27

Table of Contents

Advertisement

Example 2-1 shows the code that burns the contents of SRAM into flash.
org
move
nop
move
move
nop
move
move
nop
move
move
nop
move
move
nop
move
move
nop
move
debug
To implement a recall from the flash to the SRAM on the SIMTEK, perform the following
steps.
• Modify fl_prog.asm as shown in Example 2-2 by changing the sixth p memory
address to $8c63, and name the new program fl_recall.asm.
• Assemble the program using "asm56800 -a -b fl_recall.asm".
• Load the fl_recall.cld file using the ADS "load fl_recall.cld".
• Enter "change pc 0" and "go" at the ADS to execute the program on the 56824.
• The transfer of data from flash to SRAM is complete when execution of fl_recall
reaches the debug statement.
MOTOROLA
Example 2-1 SRAM Store to Flash Code
p:0
#$8e38,r0
p:(r0)+,x0
#$b1c7,r0
p:(r0)+,x0
#$83e0,r0
p:(r0)+,x0
#$bc1f,r0
p:(r0)+,x0
#$b03f,r0
p:(r0)+,x0
#$8fc0,r0
p:(r0)+,x0
DSP56824ADM User's Manual
DSP56824ADM Technical Summary
Jumper Configuration
2-11

Advertisement

Table of Contents
loading

Table of Contents