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.

Code Composer Studio Version: 5.3.0.00090 watch window : *(_TIBIOSA_InnerTaskFunc) unknown Error: cannot load from non-primitive location

Other Parts Discussed in Thread: TMS320F28335

As title description:

Code Composer Studio Version: 5.3.0.00090 watch window : *(_TIBIOSA_InnerTaskFunc) unknown Error: cannot load from non-primitive location

Device Type : TMS320F28335

Debug Code as following:

static void _TIBIOSA_InnerTaskFunc(UArg arg0,UArg arg1)

{ ...... }

 Task_create(_TIBIOSA_InnerTaskFunc,&pTiBiosAdapter->TaskParam,NULL);

Debug Step:

1. Build code

2. Start Debug

3. when the program running to Task_create function, the CCS  watch window show:

*(_TIBIOSA_InnerTaskFunc) unknown Error: cannot load from non-primitive location

This description lead me to confuse, I had check the function define, implement, parameter and so on.

Not find useful message to resolve this issue.

I need a programmed to help me to resolve this issue.

Best Regards,

Roc

  • Now, I find same problem when debugging, all function show same message.

    As following screen show:

    The code was following method, as instance show:

    typedef int (*tfnWaiteForMsg)(int a);

    typedef struct _tag_structThread tThread,*tPThread;

    struct _tag_structThread
    {
        tfnWaiteForMsg fnWaitForMsg;
    };


    static int _Thread_WaitForMsg(int a)
    {
        // some code
    }

    void ThreadObj_Creat( tPThread *ppThread )
    {
        (*ppThread) = ((tPThread*)MALLOC(sizeof(tThread));
        if(*ppThread == NULL)
        {
            return;
        }
        Object_Create((tPObject *)ppThread);
        (*ppThread)->fnWaitForMsg = _Thread_WaitForMsg;    // the issue occur here
    }

    All function has same problem, where have error? Please help me.

    Best Reagrds,

    Roc

  • Roc,

    Please see this post for an explanation of the message: http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/3325/11696.aspx#11696

    It is only an issue with the display in the Expressions view and should not be an indication of any problems with the execution of the code itself.