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.

How to work on cc2510 using keil uVision3 IDE?

Other Parts Discussed in Thread: CC2510

Hi,

I want to use keil with the cc2510. Now the simplest code won't work....I think it has to do with the target option...e.g. the "use on chip xram (0x0000-0x1FFF) while the datasheet states the xram to be (0xF000-0xFFFF). Can anyone explain me the what are the steps to define a memory layout in the BL51 Locate? I tried to configure it but it just won't work. Does anyone have any idea what am I doing wrong..?What are the steps to configure keil to be compatible with the cc2510?

Thanks

  • I have used Keil uVision to program the CC1110 and can try to help you get things configured right.

    What error are you receiving?  Is it during compiling or debugging?  What is the size of your code, data, and xdata?  Do you have a full version of uVision or a code restricted one?

    Are you using a SmartRF eval board to debug the CC2510?  Have you downloaded and installed the appropriate software to allow the uVision to communicate with the SmartRF (found on Keil website)?  Have you set up the compile and debug options so that the SmartRFEV and its settings are used?

    BTW, the target option regarding on chip ram that you think may be causing the error is not.

  • I am using the SmartRF eval board. All I want to do is to cause led1 (or led3 - none work) to blink.

    the code is the following (based partially on the example software):

    void main(int argc, char* argv[])

               P1SEL &= ~0x1;

               P1DIR |= 0x1;

               while(TRUE)

               {

                                P1_0 = 0; //I understand that output low turns the led on, 1 doesn't work as well

                                halWait(255); //a few of these in the real code so I could clearly see the blinks

                                P1_0 = 1;

                                halWait(255); 

               }

    }

     

    I really dont think that this has to do with this code. I have been working for a few months now on the cc1110. I think it has something to do with not configuring the target options correctly or maybe the other gpio aren't configured correctly interfering with the board elctronics.

    Any ideas will be appreciated very much. Thanks.