操作系统:ubuntu kylin 20.04 LTS
CCS 20 : Version: 20.0.2.5__1.6.2
SSC 5.12
SDK:C2000Ware_5_04_00_00
硬件批号:CL65240900244
开发板:LAUNCHXL-F28P65X
DEMO程序:f28p65x_cpu1_foe_download_solution
1.使用 f28p65x_cpu1_foe_download_solution DEMO,根据 EtherCAT_Slave_Controller_User_Guide.pdf ,编译下载。
2.此时网口绿灯不断闪烁,黄灯插入网口后常量,使用Twincat3扫描扫不到设备。随后购买成品ethercat从站测试,排除了上位机问题。
3.使用CCS DEBUG,发现程序断在:ESC_initHW 的 ESC_loadedCheckEEPROM函数中ESC_readWord(ESC_O_DL_STATUS)函数,与此贴现象类似:LAUNCHXL-F28P65X: ETHERCAT例程
4.查看随后贴文,发现是由于硬件版本问题。但所波及范围只有23年的板,我这块LAUNCHXL-F28P65X是24年9月的(见上面批号)
1.由于实在搞不定,遂死马当活马医,使用23年硬件BUG对应的补丁给程序打上:https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1302651/launchxl-f28p65x-unable-to-scan-for-the-device-by-twincat?tisearch=e2e-sitesearch&keymatch=F28P65X
2.结果这次情况更加糟糕,网口都不亮了。
3.经过DEBUG,发现这次在ESC_initHW 的 SysCtl_setClock就卡住了。
4.随后用git恢复所有修改,还尝试过删除工程重新导入配置,但无论如何,网口都再也亮不起来。
5.是不是打了上面那个23年硬件BUG的软件补丁导致某些地方发生了硬件损坏?
如果使用P65x LP,请将'_LAUNCHXL_F28P65X'预定义添加到项目中,如下所示。 这是使用正确的设备针脚所必需的。
1.使用 f28p65x_cpu1_foe_download_solution DEMO,根据 EtherCAT_Slave_Controller_User_Guide.pdf ,编译下载。
对于首次测试,请尝试回滚示例,而不是FOE示例。 如果你在ESC_loadedCheckEEPROM ()函数中遇到问题,你可以使用
首次按照以下E2E进行EEPROM编程:
然后再跑这个例程吗?https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1039/program_5F00_i2c_5F00_ESC_5F00_eeprom_5F00_F28P65x.zip (这个例程附件我好像没有访问权限,能否在本贴转发一下?)
---
我现在跑了https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1325322/faq-launchxl-f28p65x-how-do-i-fix-the-ethercat-issue-where-the-launchpad-cannot-be-scanned-in-twincat 这个例程,由于没有另一个的访问权限,跑回主题帖中所说的例程(添加_LAUNCHXL_F28P65X之后)依然是现象二的情况,网口依旧不亮。
---
PS:is it more accuracy to communicate with English? It's OK for my side.
Yeah, cool , if we can reach out via in English.
OK, before other achievements can be accessed, I have trouble with this:
I click on it , but get only get some words :"You do not have permission to view this directory or page."
whether it is possible to transport this link to this tips or somewhere else? (I have access to such as google driver, github ... just for your convenient)
I have attached the .zip file. Can you try with this.
4263.program_i2c_ESC_eeprom_F28P65x.zip
Thanks, I can got it. And I have a try, but the problem remains unresolved.
(I have reconstruct the project with SDK C2000Ware_5_04_00_00.)
The phenomenon as same as the 'phenomenon 2' in the top floor tip. (The LED of Network Phy interface remain extinguish).
The led of Network Phy interface never light up since I use this (https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1302651/launchxl-f28p65x-unable-to-scan-for-the-device-by-twincat?tisearch=e2e-sitesearch&keymatch=F28P65X) in the second try in top tip.
Considering For the version of my hardware, that is made in 2024, but all this solutions above are for the hardware of 2023.
I wonder whether shall I buy another LAUNCHXL and try again?