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/MSP430FR5994:MSP-EXP430FR5994

Guru**** 2560390 points
Other Parts Discussed in Thread: MSP430FR5994

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/908627/ccs-msp430fr5994-msp-exp430fr5994

器件型号:MSP430FR5994

工具/软件:Code Composer Studio

您好!

我在 MSP430FR5994 Launchpad 上运行软件时遇到问题。 如果我调用函数"Wandlung"、我会得到堆栈溢出。

int main (空)

Wandlung();//MSP430 -调试调用栈

返回0;

我已尝试使用断点分析来检测故障。 下一个断点在处设置

WDTCTL = WDTPW | WDTHOLD;//停止 WDT

可以帮帮我吗?

谢谢

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

    您好!

    嗯、你没有给我们提供太多的信息来评估这个问题。 首先要验证您的项目是否具有任何堆栈集-请查看 CCS 用户指南的第6.1.3.1.2节。

    https://software-dl.ti.com/ccs/esd/documents/users_guide/index.html 

    此外,使用 CCS Step into 函数精确定位 Wandlung()函数内的故障位置。 使用表达式和 Variables 视图记录变量的任何异常或无效值。 上述用户指南的第7.4节包含有关此调试过程的详细信息。

    希望这对您有所帮助、

    拉斐尔