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.

AM3357: CC-Link fails in CPSW mode

Genius 5785 points

Part Number: AM3357

Hello,

I'm evaluating CCLINK Master & Slave using two ICEv2AM3359s and PDK1.0.8 (PSDK-RTOS). ICSS mode worked but CPSW mode doesn't work.

The each project name is :
- NIMU_CCLinkMaster_icev2AM335x_armExampleproject
- NIMU_CCLinkSlave_icev2AM335x_armExampleproject

I set J18 (and also J19) in switched for CPSW and use port 0 (J2). When the each program is executed, LED D4 (orange) beside PHY goes out even though the ethernet cable is connected to the switching hub.

What does the following mean? I made CCS PC a fixed address of 192.168.3.10 and connected to the switching hub, but it doesn't work.

"NIMU for CPSW test tests require connection of configured Ethernet port under test to external PC on same subnet."
http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_CCLINK

I attached log of master and slave application. Please give me some advice.

Regards,
Kazu

<< Master >>
 Clock synthesizer: Read: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: FailedSetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
SetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
ENETPHY_FindingState: PhyNum: 1
ENETPHY_FindingState: PhyNum: 3
ENETPHY_DisablePhy(1)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
ENETPHY_DisablePhy(3)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10

Start CC-Link IE Field Basic Master Station!

Show master parameter!

    Master:
      IP Address:                       192.168.3.100 (Master ID:0xc0a80364)
      Subnet mask:                      255.255.255.0
      Default GW IP address:            192.168.3.1

    Total Number of Group:              1
      Group No.1:
      Disconnection Time[ms]:           500 (0:500[ms])
      Disconnection Timeout Count:      3 (0:3)
      Constant Link Scan Time[ms]:      Not use

    Total Number of Slave:              1
      Slave No.1:
        IP Address:                     192.168.3.4 (Slave ID:0xc0a80304)
        Occupied Station Number:        1
        Group Number:                   1

Start cyclic of all the slaves!

Start the application!

Please input the following key values if you want any action.

    '1'   - Start the cyclic.
    '2'   - Stop the cyclic.
    '3'   - Start the application.
    '4'   - Stop the application.
    '5'   - Show information of the slave.
    '6'   - Show information of the master.
    '7'   - Show the parameter.
    '8'   - Show the disconnected slave status.
    'Esc' - Exit the application.


<< Slave >>

 Clock synthesizer: Read: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: Failed
 Clock synthesizer: Write: FailedSetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
SetPhyMode:000021e1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
ENETPHY_FindingState: PhyNum: 1
ENETPHY_FindingState: PhyNum: 3
ENETPHY_DisablePhy(1)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
ENETPHY_DisablePhy(3)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10

Start CC-Link IE Field Basic Slave Station!

    IP Address:                         192.168.3.4
    Subnet mask:                        255.255.255.0
    Default GW IP address:              192.168.3.1
    Number of Occupied Stations:        4
    Cyclic response wait time:          0[ms] (0:Not wait)

  Show the cyclic information at 5-second intervals.

    Master | Cyclic Data | Link scan time | Time Data

      Master         - The control master station.(Master ID / Group Number)
      Cyclic Data    - Count of the receive Cyclic Data at intervals.
      Link scan time - The link scan time at intervals.[ms]
      Time Data      - The time from the master information data.

CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |
CCIEF-BASIC: Master(Unknown) | Cyclic Data=0 | 0.000[ms] |

 All tests have passed.