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.

LAUNCHXL-F28P65X: Intermittent EtherCAT connection failure after reboot

Part Number: LAUNCHXL-F28P65X
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello,

I have a question while using the C2000Ware_5_04_00_00 SDK.

( Example location: C:\ti\c2000\C2000Ware_5_04_00_00\libraries\communications\Ethercat\f28p65x\examples\f28p65x_cpu1_echoback_solution )


I am using the f28p65x_cpu1_echoback_solution example to test the basic operation of the EtherCAT Slave, and I am running only the provided example without any code modifications.


Currently, I have confirmed that it operates in the Operation state using TwinCAT as the EtherCAT Master.


While rebooting the board, I am monitoring the operation in the Operation state, but occasionally, the EtherCAT connection fails, and it remains in the Init state.


Has this issue occurred in the basic example, and were any modifications made to resolve it? Could you please advise on which areas I should check?

thanks.

  • Hi,

    While rebooting the board, I am monitoring the operation in the Operation state, but occasionally, the EtherCAT connection fails, and it remains in the Init state.

    You mean you are power cycling the board without re-programming? Things to make sure of if trying to run standalone from Flash memory:

    1. Verify project is built and loaded for Flash (check build config in CCS)
    2. Verify boot mode pins are configured for Flash boot (set by a switch on your LaunchPad, set to 1:1)

    Best,

    Kevin

  • I built and loaded the program using Flash. After turning the power off and on, the EtherCAT program starts immediately, but the EtherCAT state does not change to the Operation state

  • Hi,

    Can you try the process below? I recall the below worked for me before

    1. Power cycle the board
    2. Press S1 (XRSn) reset button on Launchpad a few times
      1. Will cause C2000 P65x device to reset after power rails are stablized
    3. Re-scan device / box in TwinCAT, should say config is identical
    4. Then try putting device in free-run mode to see if it can get to OP

    Best,

    Kevin