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.

The CCStudio Scripting interface with its gap(s)

Other Parts Discussed in Thread: CCSTUDIO

Hi!

I would like to use CCStudio Scripting interface for testing, testing with simulator and testing with emulator.

I use this interface throug Perl.

There is a function, that can determine the start position in the memory of a symbol.

  • If the symbol means a simple variable (scalar) it works correct.
  • If the symbol means an array with simple type than it works correct with address calculation.
  • But if the symbol means structure or class and etc... than I can not use it, because I can determine the start address of an object only, however, the Code Composer can work with next expression: 'filename.cpp'::variable or ClassInstant.publicVar.

Is there anybody, how can give me some tips or hints?

Thank you in advice.

  • That is a known limitation. For structures I also use some address calculation to get to the member I wish to access. I believe with most devices (though not sure), members are word aligned so it is fairly easy to figure out the offset.

    FYI: CCScripting is obsolete. We are encouraging people to move to DSS, which is a much better automation environment. You can also use it with Perl.

    Thanks

    ki