hello all,
i have a bt2450 board with cc debuger, the smartrf detecting the cc2540 on the board and correctly can program it.
bu i'm using iar 7 version has a lot of differences with 8.11. my samples all on ble based on iar 8.11 and i dont know how to do to be able to load on iar ver 7.xx .
I have connected directly an LED to Po_0 and trying to run simple LED test with 8051 program on C this is the c program
#include <iocc2540.h>
//#include <stdio.h>
int main(void)
{
int i , j ;
P0 = 0x00;
P1 = 0x00 ;
while(1)
{
for (i = 0; i<255; i++)
for (j = 0; j<255; j++);
P0 = 0x00;
P1 = 0x00;
for (i = 0; i<255; i++)
for (j = 0; j<255; j++) ;
P0 = 0xff;
P1 = 0xff;
}
return 0;
}
I've generated the HEX code and load it to cc2550 and LED is not funcitonig. I have done a lot of changes on the memory model and other linker and compiler setting but the LED blinking on P0 is not functioning .
What is the solutiion ?
Abbas