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.

[参考译文] RTOS/TDA2SX:如何调试 XDC 置位问题

Guru**** 2611705 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/657262/rtos-tda2sx-how-to-debug-xdc-assert-issue

器件型号:TDA2Sx

工具/软件:TI-RTOS

您好!

  当我在 BIOS 上开发用例时、遇到 XDC 置为有效的问题。  

但断言信息仅显示如下回调函数 SP:

[主机] 139.970902 s:### XDC 断言-错误回调开始###
[主机] 139.970902:
[主机] 139.970963 s:E_spOutOfBounds:任务0x89335a10栈错误,SP = 0x899dba6c。
[主机] 139.970963:
[主机] 139.970963 s:### XDC 断言-错误回调结束###

我找不到任何其他函数调用堆栈、即使我使用 CCS 对其进行调试也是如此。

我只能获得 以下信息:

是否有其他方法可以调试此问题并找到函数调用栈?

然后、我可以找出哪个函数导致该断言。

请注意、

Junli

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

    您能否尝试在文件\vision_sdk\$(MAKEAPPNAME)\configs\$(MAKECONFIG)\ccfg.mk 中进行更改

    profile ?= release

    更改为

    profile ?= debug

    然后重建并运行您的用例、看看您是否在 CCS 中有符号?

    此致、
    Yordan