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.

RTOS/CC2650STK: CC2650STK

Part Number: CC2650STK
Other Parts Discussed in Thread: CC2650

Tool/software: TI-RTOS

Hi I have compiled ble stack 2.2.1 for cc2650

I ran the stack code and then trying to run the app code.

in app code, its getting to following exceptional handler instead of going to SensorTag_taskFxn

Void Hwi_excHandler(UInt *excStack, UInt lr)

{

    Hwi_module->excActive[0] = TRUE;

    /* spin here if no exception handler is plugged */

    while (Hwi_excHandlerFunc == NULL) {

;

    }

    Hwi_excHandlerFunc(excStack, lr);

}

can you please help..Its really urgent,we have some deadline coming up

  • Hi Sneha,

    You are getting an exception. You can look in Tools->ROV->Hwi->Exceptions. There will be a back-trace of the callstack here (the usefulness depending on the tool-chain, compiler, and device exception).

    Todd
  • Thanks for the prompt response.I did that and got the attached snapshot but I am not able to decode it

    can you help  me in understanding this

    thanks and Regards

    sneharov_snapshot.pdf

  • i did that and realise my stack is not getting initialized properly.I am just running blestack 2.2.1 code.Its getting stuck here

    ICall_enrollService(ICall_ServiceEnum service,

    ICall_ServiceFunc fn,

    ICall_EntityID *entity,

    ICall_SyncHandle *msgSyncHdl)

    {

    ICall_EnrollServiceArgs args;

    ICall_Errno errno;

    args.hdr.service = ICALL_SERVICE_CLASS_PRIMITIVE;

    args.hdr.func = ICALL_PRIMITIVE_FUNC_ENROLL;

    args.service = service;

    args.fn = fn;

    errno = ICall_dispatcher(&args.hdr);

    this errno gets hanged and in . assembly view I am seeing its stuck at

    1001bbd6: 2A00 cmp r2, #0
    1001bbd8: D0FD beq #0x1001bbd6

    would appreciate your help in debugging this