We have an eZ430-RF2500 wireless development tool for the MSP430 and CC2500. We are using Code Composer Studio Version: 6.1.2.00015 to run the code for eZ430-RF2500 Wireless Sensor Monitor. When running the ED code (main_ED.c) the function SMPL_Init(0) never obtain the result SMPL_SUCCESS:
/* Keep trying to join (a side effect of successful initialization) until
* successful. Toggle LEDS to indicate that joining has not occurred.
*/
while (SMPL_SUCCESS != SMPL_Init(0))
{
BSP_TOGGLE_LED1();
BSP_TOGGLE_LED2();
/* Go to sleep (LPM3 with interrupts enabled)
* Timer A0 interrupt will wake CPU up every second to retry initializing
*/
__bis_SR_register(LPM3_bits+GIE); // LPM3 with interrupts enabled
}
Therefore, all other code is never executed.