Select Code And Data Model - Texas Instruments CC2545 User Manual

Table of Contents

Advertisement

swru318
A new window will appear (seen in Figure 20 - Select Device Configuration File) that allows you to
browse through the device configuration files to choose an appropriate device. Select the CC2543F32
file from the <ew8051_install_dir>\8051\devices\Texas Instruments folder. This .i51 device description
file contains basic information about the chip.
Figure 20 - Select Device Configuration File
Back in the General Options view, you will see that CC2543 is now the selected device. "CPU core"
should be set to Plain.
A.4 Select Code and Data Model
Next, select code model. Use "Near".
The default data model for the Near code model is Small. The data model determines how the
compiler & linker use the memory of the 8051 for storage of variables. With the small data model,
variables are typically stored in the DATA memory space. For the large data model, variables are
stored in XDATA. The CC254x User Guide and IAR 8051 C/C++ Compiler Reference Guide have
more information about the various memory spaces. The important thing to remember is that the 8051
core uses different instructions to access the various memory spaces. Access to DATA is, in general,
much quicker than accessing XDATA, but there is normally much more XDATA available than DATA.
32/37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cc2544Cc2543

Table of Contents