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:使用 DSS API 读取变量的值

Guru**** 2834805 points

Other Parts Discussed in Thread: MSP430F5529

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1410684/tms320f280049-reading-the-value-of-a-variable-using-dss-api

器件型号:TMS320F280049
主题中讨论的其他器件:MSP430F5529

工具与软件:

您好!

我正在尝试进行调试自动化。 我希望读取变量的值。 我可以在 DSS API 下使用哪个类来执行该操作。

在提及 TI 的"入门"文档时、我已经阅读了  ReadData readRegister。 其中的任何一项工作会起作用吗? 我能举个例子吗?

谢谢!

Anil

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    许多存储器读取 API (如 ReadData、readWord 等)需要读取存储器地址。 您可以使用 symbol.getAddress 来获取变量地址。

    请参阅 中的 msp430f5529_memory.js 示例 \ccs\ccs_base\scripting\examples\DebugServerExamples

    谢谢

    Ki