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.

TMS320F280049: Reading the value of a variable using DSS API

Part Number: TMS320F280049
Other Parts Discussed in Thread: MSP430F5529

Tool/software:

Hello,

I am trying to do Debugging Automation. I wish to read the value of a variable. Which class under DSS API can I use for the purpose.

While referring "getting started" document of TI, I have read about  readData and readRegister. Will any of this work? And can I get any example where they are being used?

Thanks,

Anil

  • Many of the memory read APIS like readData, readWord, etc require the address of the memory to read. You can use symbol.getAddress to get the address of the variable.

    See the msp430f5529_memory.js example in <CCS INSTALL DIR>\ccs\ccs_base\scripting\examples\DebugServerExamples

    Thanks

    ki