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.

DM648 one 88e1111 NDK PING FAIL

Other Parts Discussed in Thread: SYSBIOS

Dear FAE:

      Our custom borad used DM648 + 88E1111,

      And the development tools we used CCS Version 5.2.00069,NDK version 2.21.1.38,and sysbios version 6.33.4.39

     We use the NSP for dm648 and created a project used NDK and added the ICMP module to our configuration.but we cant ping the IP address what we set.

     We have checked the PSC module settings and the REFCLK frequency of CLKIN1,and the MDIO registers can be read and write correctly.

     The logs of CCS as below:

[C64XP_0] enter main()
[C64XP_0] Using MAC Address: 00-0e-99-02-aa-23
[C64XP_0] cpsw_MDIO_Init
[C64XP_0] SetPhyMode:000021E1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
[C64XP_0] cpsw_MDIO_Init
[C64XP_0] SetPhyMode:00000000 Auto:0, FD10:0, HD10:0, FD100:0, HD100:0, FD1000:0 LPBK:0
[C64XP_0] Using MAC Address = 00-0e-99-02-aa-23
[C64XP_0] esw0 has been started successfully
[C64XP_0] Registeration of interface esw0 Successful
[C64XP_0] Network Added: If-1:192.161.1.168
[C64XP_0] enter taskFxn()
[C64XP_0] exit taskFxn()
[C64XP_0] Phy: 0, State: 2/FINDING, Speed: 0, Dup: 0, Tim: 1, SMode: 63, Chng: 1
[C64XP_0] cpsw_MDIO_FindingState: PhyNum: 0
[C64XP_0] Phy: 0, State: 3/FOUND, Speed: 0, Dup: 0, Tim: 0, SMode: 63, Chng: 1
[C64XP_0] 0>: 1140 796d 0141 0cc2 01e1 cde1
[C64XP_0] PhyControl: 1140, Lookback=Off, Speed=1000, Duplex=Full
[C64XP_0] PhyStatus: 796D, AutoNeg=Complete, Link=Up
[C64XP_0] PhyMyCapability: 01E1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] PhyPartnerCapability: CDE1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] cpsw_MDIO_PhYReset(0)
[C64XP_0] Enable Phy to negotiate external connection
[C64XP_0] NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
[C64XP_0] Phy: 0, State: 4/NWAY_START, Speed: 0, Dup: 0, Tim: 50, SMode: 63, Chng: 1
[C64XP_0] 0>: 1140 7949 0141 0cc2 01e1 0000
[C64XP_0] PhyControl: 1140, Lookback=Off, Speed=1000, Duplex=Full
[C64XP_0] PhyStatus: 7949, AutoNeg=NotComplete, Link=Down
[C64XP_0] PhyMyCapability: 01E1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] PhyPartnerCapability: 0000, 1000FD=No, 100FD=No, 100HD=No, 10FD=No, 10HD=No
[C64XP_0] Phy: 0, State: 5/NWAY_WAIT, Speed: 0, Dup: 0, Tim: 80, SMode: 63, Chng: 1
[C64XP_0] 0>: 1140 7949 0141 0cc2 01e1 0000
[C64XP_0] PhyControl: 1140, Lookback=Off, Speed=1000, Duplex=Full
[C64XP_0] PhyStatus: 7949, AutoNeg=NotComplete, Link=Down
[C64XP_0] PhyMyCapability: 01E1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] PhyPartnerCapability: 0000, 1000FD=No, 100FD=No, 100HD=No, 10FD=No, 10HD=No
[C64XP_0] Negotiated connection: FullDuplex 1000 Mbs
[C64XP_0] Phy: 0, State: 7/LINKED, Speed: 0, Dup: 1, Tim: 58, SMode: 63, Chng: 1
[C64XP_0] 0>: 1140 796d 0141 0cc2 01e1 cde1
[C64XP_0] PhyControl: 1140, Lookback=Off, Speed=1000, Duplex=Full
[C64XP_0] PhyStatus: 796D, AutoNeg=Complete, Link=Up
[C64XP_0] PhyMyCapability: 01E1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] PhyPartnerCapability: CDE1, 1000FD=Yes, 100FD=Yes, 100HD=Yes, 10FD=Yes, 10HD=Yes
[C64XP_0] Link Status: 1000Mb/s Full Duplex on PHY 0

Now after we connect the network and can't ping the address ,

Could you tell me the check points about the hardware or software to make it work well?

Thanks a lot!

Jian Wang

http://www.colorsort.cn/

  • hi Wang

    I can't find NSP for dm814x. I see you use NSP for DM648.Can you tell me where are you download NSP for Dm648?

    Thank you! 

  • Hi!

    It seems that I have the same problem.

    Earlier, we used NDK 2.0, DSP/BIOS 5 and ethss_dm638 from NDK2.0 and everything worked well. 

    Now, we use NDK 2.21.01.38, SYS/BIOS 6.32.05.54 and the same ethss_dm648 (I haven't found anything else) on the same board and the situation is the following:

    1. The system reports connecting/disconnecting a cable for both Phys

    2. Using Wireshark we can see one ARP message when the system starts (TexasIns_e2:50:0c Broadcast ARP Gratuitous ARP for 192.168.1.1 (Request)). This is the only message from the board, caught on the interface.

    3. ping 127.0.0.1 on the board goes well

    4. ping from the board to a PC says: "failed sento (64)   Reply timeout ". Nothing happens on the interface.

    What can be the reason?

    Thanks a lot!

    Victor

  • The same problem is with NDK 2.20.06.35