This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IAR settings for CC2510F32 chip

Other Parts Discussed in Thread: CC2510

Hi all,

I am sandeep. I am doing a wireless project by using the CC2510 tranceivers. I am using the IAR systems IDE. In that in general options have selected the target as CC2510. But i dont know what to select the core model and data model for that. I have selected CPU core as plain model. Can you tell me what should be selected.

Thanks & Regards,

N S S Sandeep

  • Select "Plain" for CPU core.

    Select "Near" for Code model (makes no sense to choose banked, as the chip only has 32 kB of flash)

    For the memory model, you can choose any of the model. To keep it very simple: Select "Small" if you don't use much RAM, such that all of the variable you declare and the stack is located in DATA (gives you in total 256 kB of RAM for you app). Use "Large" if you need more ram, such that the stack and variables are placed in XDATA (i.e. gives access to the whole 4 kB of SRAM of the CC2510 device).

    In order to learn more about the 8051 memory models, please refer to e.g. the help document "8051 C/C++ Compiler Reference Guide", the chapter about "Understanding Memory Architecture". This document is included with IAR (go to Help on the menu-bar).

     

  • Hi Sandeep

    Here is a snapshot of how the general options tab for IAR Workbench  with CC2510 as device target should look like.

    Hope this helps. 

    Best regards

    Martin

  • Hi,

    Thank you. I have made my settings as plain, near and small. now it is working.

    Thanks & Regards

    N S S Sandeep