Hello,
I am evaluating the network throughput of NDK 2.0. I am seeing lots of crashes.
I have already installed the DM648 patch.
My set up:
I connected my dm648 eval board and PC host to a 1 G NETGEAR swtich.
I ran the client.prj sample code with code composer. After a network connection is established, I ran the winapp "recv 192.168.14.53" on my PC host.
The winapp stopped running after a while and the DSP kernel seemed to crash and stuck in a loop(see below):
.......--------Message from DOS window------------------
510 Requesting 46720 bytes...receive...passed ---23827200 bytes/s
520 Requesting 46720 bytes...receive...passed ---24294400 bytes/s
--------------------------------------------------------------------------------------------
I also tried runnng the iperf application and I also see the crashes.
I ran client.prj with code composer and ran "iperf -c 192.168.14.53 -p 1001 -n 81920000" from my PC host.
DSP also stucks in the same loop after I tried the same command for 5 -30 times.
My question: What causes the DSP code to stop working?
---------------------------DSP start up message ----------------
TCP/IP Stack
colorMnmtNetBase NC_NetStart
Using MAC Address: 00-21-ba-2e-0a-12
cpsw_MDIO_Init
SetPhyMode:000021E1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
cpsw_MDIO_Init
SetPhyMode:000021E1 Auto:1, FD10:64, HD10:32, FD100:256, HD100:128, FD1000:8192 LPBK:0
EMAC should be up and running
EMAC has been started successfully
Registeration of the EMAC Successful
cpsw_MDIO_FindingState: PhyNum: 0
cpsw_MDIO_FindingState: PhyNum: 1
cpsw_MDIO_PhYReset(0)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
cpsw_MDIO_PhYReset(1)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
Network Added: If-1:192.168.14.53
Service Status: Telnet : Enabled : : 000
Service Status: HTTP : Enabled : : 000
Negotiated connection: FullDuplex 1000 Mbs
Link Status: 1000Mb/s Full Duplex on PHY 1
----------------------------DSP stucks in the following loop-------------------
E40FAFE4 1FFF3C12 || CALLP.S2 _HWI_disable (PC-1568 = 0xe40fa9c0),B3
E40FAFE8 C$L1:
E40FAFE8 0002A120 BNOP.S1 C$L1 (PC+8 = 0xe40fafe8),5
E40FAFEC 00000000 NOP
E40FAFF0 00000000 NOP
E40FAFF4 00000000 NOP
E40FAFF8 00000000 NOP
E40FAFFC 00000000 NOP
E40FB000 CLK_TIMEFXN, _CLK_gethtime, CLK_F_gethtime:
E40FB000 000C0362 B.S2 B3
E40FB004 022803E2 MVC.S2 TSCL,B4
E40FB008 021018F0 OR.D1X 0,B4,A4
E40FB00C 00004000
-------