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.
工具/软件:Code Composer Studio
根据以下跟踪结果、我在 Memory_alloc 的 SPIn 循环中结束:
我在文档中看不到关于 Memory_alloc 可以在自旋环路中结束的任何内容。 我是从普通的 malloc 调用它。
感谢您的建议。
您好、Robert、
根据跟踪结果、我觉得在 malloc 期间会遇到一些错误(或异常)。 是否尝试使用 ROV (运行时对象查看器)来查看是否存在 Hwi 异常和/或对错误块进行解码(这是调试此类问题的典型第一步)。
您好、Robert、
您可以与我分享您的 TI-RTOS 配置文件吗? 我假设有一些实际内核配置会使您处于此状态。 我还看到您使用"Memory_alloc"调用、如果您还想在代码中具有一些可移植性、您还可以使用通用"malloc"和"free"。