Download Target Settings

Transcript
Porting Issues
Porting DSP56811 to DSP56824 Projects
Now, create a new target project, add the sources, and modify your
main function. Your main function looks like the one in Listing 12.3
and retrieves your assembly program’s F_START function (Listing
12.2). The default linker command file in the project stationery is
used for this example.
Listing 12.3
Calling an Assembly Program from main
int main( void ){
Start();
return 0;
}
Porting DSP56811 to DSP56824 Projects
Refer to the following document for issues relating to porting
DSP56811 designs to DSP56824 designs:
Converting DSP56L811-Based Designs to the DSP56824. October 1,
1998. Motorola, Inc.
Using XDEF and XREF Directives
The XDEF and XREF directives are not used with the CodeWarrior
assembler. Use the GLOBAL directive to make symbols visible
outside of a section.
Using the ORG Directive
Memory space and location counters cannot be updated with the
ORG directive. You must use the linker command file to specify
exact memory addresses rather than in the assembler. For example,
if you declare:
ORG P:$0020
SECTION myISR_20
rti
ENDSEC
SECTION myISR_30
Targeting DSP56800
DSP–277