Other Parts Discussed in Thread: C2000WARE
Tool/software:
The upper computer TwinCAT cannot scan the slave device. The DSP runs the f28p65x_cpu1_echoback_solution program (SSC generates code and XML file), and connects port P0 to the power cable

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.
Tool/software:
The upper computer TwinCAT cannot scan the slave device. The DSP runs the f28p65x_cpu1_echoback_solution program (SSC generates code and XML file), and connects port P0 to the power cable

Hi,
Our expert is currently unavailable. Please expect delay of 2-3 days in the response.
Regards,
Divyansh
Hi,
Please make sure the LaunchPad pin config is being used in the example, i.e. add _LAUNCHXL_F28P65X to project pre-define list if not already.

If issue still exists, check below post:
Best,
Kevin





Operation phenomenon:



1-I am C2000ware,5.01. Go to e and run F28p65x_cpu1_pdi_hal_test_app project. Program cannot run error
2-What are the communication methods and protocols corresponding to this Ethercat history -f28p65x_cpu1_echoback_solution
3-ethercat_slave_cpu1_hal_PHY_check.c This file is repeatedly defined
Hello expert, I have an important question to ask you. You said that this board has a hardware BUG, our company uses the phy chip on this board, may I ask whether the chip has a bug or the board has a bug? We are about to draw the core board schematic, how to avoid this bug?
If the master uses QT, does the Ethercat EEPROM hardware of the slave DSP need it, if so, how to use it, if not, what additional work is required?
Hi,
Your LaunchPad board's serial number is CL652307, so it has the PHY issue described in that E2E.
3-ethercat_slave_cpu1_hal_PHY_check.c This file is repeatedly defined
To resolve the error you have you should just need to exclude the 'ethercat_subdevice_cpu1_hal.c' file per instruction below:

Hello expert, I have an important question to ask you. You said that this board has a hardware BUG, our company uses the phy chip on this board, may I ask whether the chip has a bug or the board has a bug? We are about to draw the core board schematic, how to avoid this bug?
The board is fine, it's just the Rev0 DP83826 PHYs assembled onto some boards had an issue. Any newer DP83826 PHYs will be Rev1, so you won't have this issue.
If the master uses QT, does the Ethercat EEPROM hardware of the slave DSP need it, if so, how to use it, if not, what additional work is required?
What is QT mean in this context?
Best,
Kevin
Hello expert, QT in this case means Ethercat's master device,Can it be realized?
When I tried to use QT as the primary device and DSP Ethercat as the secondary device, I could identify the network card on the computer, but could not communicate with it. What should I do
Hello expert, I have an important question to ask you. You said that this board has a hardware BUG, our company uses the phy chip on this board, may I ask whether the chip has a bug or the board has a bug? We are about to draw the core board schematic, how to avoid this bug?Experts say
The board is fine, it's just the Rev0 DP83826 PHYs assembled onto some boards had an issue. Any newer DP83826 PHYs will be Rev1, so you won't have this issue
Hello expert, how to identify the version of phy?



Currently, writing EEPROM fails, and reading EEPROM is incorrect. 28p65x_cpu1_echoback_solution Code has been generated using the SSC tool, executing 6a,6b according to the EtherCAT User Guide

Hi,
Hello expert, how to identify the version of phy?
The PHY has a register that can be checked over MI interface for version.
Currently, writing EEPROM fails, and reading EEPROM is incorrect. 28p65x_cpu1_echoback_solution Code has been generated using the SSC tool, executing 6a,6b according to the EtherCAT User Guide
For your board that has the PHY revision issue you will need to follow the procedure at the page below for programming the EEPROM.
Best,
Kevin

Add the code according to the information you provided, then run the EtherCAT writing guide,

Start with this step




The current status is ERROR
Hi,
Are the PHY register writes that you added working properly? And were you able to re-program the EEPROM using TwinCAT at this point?
If you have DC sync enabled in twinCAT can you try with it disabled and using Free Run mode.
Best,
Kevin
Adding PHY register operation is to run program_i2c_ESC_eeprom_F28P65x file, I can't write EPROM in Twincat,



Set slave station operation mode DC in twincat.The object dictionary content was not retrieved

Hi,
You should be able program the ESC I2C EEPROM using TwinCAT without issues after programming the EEPROM using the 'program_i2c_ESC_eeprom_F28P65x' project the first time.
However you will need to write to the PHY registers with the code in 'ethercat_slave_cpu1_hal_PHY_check.c' every time due to the Rev0 DP83826 PHYs. Please make sure you are doing this.
Best,
Kevin