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.

CCS/TMS320F28377D: Cannot load from non-primitive location

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE

Tool/software: Code Composer Studio

Hi

I have looked through previous threads on this subject and have simply found no solution. Some threads show resolved without in my opinion a definitive solution. Older threads suggest a bug in earlier CCS.

My 28377D code with CLA has been debugging fine and in both Flash and RAM. I use the .cmd files as given by TI for their CLA examples i.e., 2837xD_FLASH_CLA_lnk_cpu1.cmd for FLASH (from  C2000Ware_2_00_00_03).

At some point (code may be a bit longer) I just started getting in the debugger expression list  "cannot load from primitive location". I can load a variable to the list and it shows void* as type. If I type cast it to say float *, I can see the correct value during debugging. But I have to do that manually for every variable in the expression list and every time new when I start the debugger. It is only while executing out of FLASH. If I build in RAM it is not a problem, it recognizes the symbol types. I have tried changing Stack Size as one thread suggested to no avail.

I would add it happens whether I run the same project on CCS 8 on a Mac or CCS 9 on a PC. My colleagues who are programmers are also stumped. Any ideas?

Thanks

Andrew

  • Hi Andrew,

    Can provide a test case? I don't need your actual project - something stripped down that can reproduce the issue would be great. I would need the project and source files to buid. I do have C2000Ware so any files that you like to the project from there is fine.

    Thanks

    ki

  • Hi Ki

    Great.  Yes I can provide a test case. I cannot however post it here. I would make the unaltered project, available. We use our own 28377D target board and I have been using an Olimex XDS100 v3 debugger. 

    With thanks

    Andrew

  • Andrew Green1 said:
    Great.  Yes I can provide a test case. I cannot however post it here.

    Please start a private conversation with me.