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.

[参考译文] LP-AM243:使用共享存储器跨多个内核进行 UART 日志记录

Guru**** 2460850 points
Other Parts Discussed in Thread: SYSCONFIG

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1476359/lp-am243-uart-logging-across-multiple-cores-using-shared-memory

器件型号:LP-AM243
主题中讨论的其他器件:SysConfig

工具与软件:

您好!

我遇到了无法在多个内核上同时通过调试器进行 UART 日志记录的问题。 在 SysConfig 中、当我将用于调试日志记录的 USART0接口分配给内核0-0时、由于冲突、我无法按预期将相同的接口分配给其他内核。

或者、我想使用"LOG_SHARED_MEMORY" 区域从每个内核写入日志、然后仅从内核1-0将这些日志输出到 UART。 但是、我不确定应该使用哪种方法来应对这种情况。 我已经查看了 DPL 中的 DebugP 方法、但找不到直接将字符串写入共享存储器的函数。 (仅发送字符)

是否有任何示例或建议的方法可以实现这一点? 我应该大致遵循哪些步骤、应该使用哪些方法?

感谢您的帮助。

此致、
Abdulkadir Mirik