User`s guide
Table of Contents
4
Targeting MC56F83xx/DSP5685x Controllers
C/C++ Preprocessor . . . . . . . . . . . . . . . . . . . . . . . 48
C/C++ Warnings . . . . . . . . . . . . . . . . . . . . . . . . . 50
M56800E Assembler . . . . . . . . . . . . . . . . . . . . . . . 54
M56800E Processor . . . . . . . . . . . . . . . . . . . . . . . 56
ELF Disassembler . . . . . . . . . . . . . . . . . . . . . . . . 59
M56800E Linker . . . . . . . . . . . . . . . . . . . . . . . . . 61
Remote Debugging . . . . . . . . . . . . . . . . . . . . . . . . 66
M56800E Target (Debugging) . . . . . . . . . . . . . . . . . . . 67
Remote Debug Options . . . . . . . . . . . . . . . . . . . . . . 71
5 Processor Expert Interface 75
Processor Expert Overview . . . . . . . . . . . . . . . . . . . . . . 75
Processor Expert Code Generation . . . . . . . . . . . . . . . . . . 76
Processor Expert Beans . . . . . . . . . . . . . . . . . . . . . . 78
Processor Expert Menu . . . . . . . . . . . . . . . . . . . . . . 79
Processor Expert Windows . . . . . . . . . . . . . . . . . . . . . . 83
Bean Selector . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Bean Inspector . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Target CPU Window . . . . . . . . . . . . . . . . . . . . . . . 86
Memory Map Window . . . . . . . . . . . . . . . . . . . . . . 91
CPU Types Overview . . . . . . . . . . . . . . . . . . . . . . . 92
Resource Meter . . . . . . . . . . . . . . . . . . . . . . . . . 93
Installed Beans Overview . . . . . . . . . . . . . . . . . . . . . 94
Peripherals Usage Inspector . . . . . . . . . . . . . . . . . . . . 95
Processor Expert Tutorial . . . . . . . . . . . . . . . . . . . . . . . 96
6 C for DSP56800E 113
Number Formats . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Calling Conventions and Stack Frames . . . . . . . . . . . . . . . . . 115
Passing Values to Functions . . . . . . . . . . . . . . . . . . . . 115
Returning Values From Functions . . . . . . . . . . . . . . . . . . 116
Volatile and Non-Volatile Registers . . . . . . . . . . . . . . . . . 116
Stack Frame and Alignment . . . . . . . . . . . . . . . . . . . . 119