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.

SimpleBLEPeripheral not working with CC-Debugger/SmartRF05EB

Other Parts Discussed in Thread: CC-DEBUGGER, CC2541, CC2540

Hi,

I am having problems with the SimpleBLEPeripheral  application. I built the SimpleBLEPeripheral  and flashed it using CC-Debugger. After the flashing there is no display and debuger does not come to main code. On further debugging I understand the issue is with stack overflow. Program resets at this point:

001904 D0 83 POP DPH
001906 D0 82 POP DPL
001908 22 RET

Seems like some issue with XDATA initialization. Any idea why the SimpleBLEPeripheral  is not working and what change is needed to correct the issue.

Warm Regards,

Antoni

  • Which device are you using? It should work out of the box, make sure the configuration matches device used, CC2540 or CC2541.

     

  • Hi,

    Sorry for the delayed response. 

    The device was working out of box with the factory programmed firmware. The issue is with IAR build of the SimpleBLEPeripheral project. The device I am using is SmartRF05EB+CC2540. Seems like some build parameters issue. 

    I am unable to proceed to make any code changes as the flashing makes the target to loop in this initial code itself...

    Warm Regards,

    Antoni