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.

[参考译文] Starterware/AM3359:ICEv1上的 PRU EtherCAT

Guru**** 2558250 points
Other Parts Discussed in Thread: SYSBIOS

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/610352/starterware-am3359-pru-ethercat-on-icev1

器件型号:AM3359
Thread 中讨论的其他器件:SYSBIOS

工具/软件:Starterware

您好!  

使用 PRU ICSS EtherCAT 创建新 EtherCAT 工程时遇到一些问题。

我已安装"PRU-ICSS-ETHERCAT_Slave_01.00.02.01"和"PDK_AM335x_1_0_6"

我有 icev1板和 icev2板、r icev2我没有问题、程序运行良好、但我也在 icev1上移植。

我注意到、在 C:\ti\pdk_am335x_1_0_6\packages/ti\starterware\board\am335x 中、ICEv1有许多文件:am335x_icev1.c、am335x_icev1.h 和 am335x_icev1_pinmux_data.c、但在数据文件中不存在 PRU 配置。 通过引脚多路复用器工具、我修改了引脚多路复用器配置并集成了该配置。

现在、在使用新的修改重新编译 PDK 电路板库后、程序会编译但不起作用、因为程序在此函数中停止运行:

while (!Board_getPhyIdentifyStat (((((PRUICSS_HwAttrs *)(pruIcsHandle->hwAttrs))->prussMiMdioRegBase)、phy0addr)))


程序无法退出该函数并在其上继续循环。

当然有一些事情让我感到很不明白、如果您有任何想法、请告诉我。 谢谢你