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.

[参考译文] SK-AM64B:CAN##39;不能在 SK-AM64B 板中运行工业通信 SDK 09.02.00中的 Profinet 或以太网 IP 示例

Guru**** 2465890 points
Other Parts Discussed in Thread: SK-AM64B, TMDS64EVM

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1475002/sk-am64b-can-t-run-the-profinet-or-ethernet-ip-examples-from-industrial-communications-sdk-09-02-00-in-a-sk-am64b-board

器件型号:SK-AM64B
主题中讨论的其他器件: TMDS64EVM

工具与软件:

我正在尝试在 AM64 SKEVM 代码 SK-AM64B SL#27231000580 ASSY PROC100A (002)中启动 Profinet 示例

我已经完成了电路板的初始化、以便从 CCS12.8中连接它。

我可以运行基本示例"Hello_word_Am64x"

我遇到的问题是、Profinet 示例无法正常运行。 它似乎锁定了某个位置。

我还尝试了以太网 IP 示例(MII 和 RGMII)、但也使用了以下函数终止:

void EI_APP_TASK_osErrorHandlerCb (uint32_t errorCode,      //!< [in] Error code
                                      bool     fatal,          //!< [in] Is Error fatal
                                      uint8_t  paraCnt,        //!< [in] Parameter counter
                                      va_list  argptr)         //!< [in] Error arguments
{
    globalError = errorCode;

    OSAL_printf ("\nError: 0x%8.8x, Fatal: %s", errorCode, fatal ? "yes" : "no");

#if (defined CMN_MEM_TRACE) && (1==CMN_MEM_TRACE)
        extern uint32_t __HEAP_START;
        extern uint32_t __HEAP_END;

        uint32_t heapStart = (uint32_t) &__HEAP_START;
        uint32_t heapSize  = (uint32_t) &(__HEAP_END) - (uint32_t) &(__HEAP_START);

        CMN_MEM_traceHeapCheck(heapStart, heapSize);

        void* ptr = OSAL_MEMORY_calloc(1078, 1);

        if (ptr != NULL)
        {
            OSAL_MEMORY_free(ptr);
        }

        while(1);
#endif

    if (fatal == true)
    {
        while(1);
    }
}

我不知道是电路板问题(也许这些示例只在 EVM 电路板中运行?) 或者配置问题。

我已经一步一步地进行了介绍

适用于 AM64x Sitara 处理器的 AM64B 入门套件

AM64x 工业通信 SDK  09.02.00入门

但没有机会。

有人能给我提示吗?

非常感谢。

P.S:我使用 AM64x SK、因为我了解由于内存限制、Profinet 示例无法在 Am243 SK 中运行。