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.
您好!
我正在尝试切换 CPU1内核中的引脚、当我进行全运行时、它会在以下错误函数处停止、
我无法理解为什么会发生这种情况、以及参数 filename 和 line 到底是什么。
void __error__(字符*文件名,uint32_t 行)
{
ESTOP0;
}
谢谢、此致
K.Aravind、
9848992750。
尊敬的 K.Aravind:
感谢您的提问。 我将首先解释这些参数、这将有助于调试__error__调用的原因。
如果将参数"filename"和"line"添加到"Watch Expressions"窗口、您将看到哪个文件名导致错误、以及该文件名中的哪个行号导致错误。 如果您不想将它们添加到"Watch Expression"窗口、也可以将鼠标悬停在 Code Composer Studio 中的每个窗口上以查看它们。
这将有助于您调试问题所在。
此致、
Vince
谢谢 Vince、
这对我有所帮助。