Hi All!
For some reason (see this thread http://e2e.ti.com/support/embedded/bios/f/355/p/223029/835523.aspx#835523) I decided to restart NDK stack and I found out that NDK stack successfully restarts only once.
My configuration:
while(1)
{
TSK_sleep(30000);
printf("NDKRestart\n");
NC_NetStop(1);
}
}
So, the system does nothing except restarting NDK stack every 30 seconds.
To test if NDK is OK I ping the board from a PC.
After the first restart the board continues responding to ping but after the second restart it stops responding. Other restarts don't improve situation an even make it worse. See the log from CCS console:
[C64XP_0]
[C64XP_0] TCP/IP Stack 'Hello World!' Application
[C64XP_0]
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] Network Added: If-1:192.168.1.100
[C64XP_0] Link Status: 1000Mb/s Full Duplex on PHY 0
[C64XP_0] NDKRestart
[C64XP_0] Network Removed: If-1:192.168.1.100
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] Network Added: If-1:192.168.1.100
[C64XP_0] Link Status: 1000Mb/s Full Duplex on PHY 0
[C64XP_0] NDKRestart
[C64XP_0] Network Removed: If-1:192.168.1.100
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] Network Added: If-1:192.168.1.100
[C64XP_0] Link Status: 1000Mb/s Full Duplex on PHY 0
30 restarts happened here
[C64XP_0] NDKRestart
[C64XP_0] Network Removed: If-1:192.168.1.100
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] Network Added: If-1:192.168.1.100
[C64XP_0] Link Status: 1000Mb/s Full Duplex on PHY 0
[C64XP_0] NDKRestart
[C64XP_0] Network Removed: If-1:192.168.1.100
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] NDKRestart
[C64XP_0] Using MAC Address: 7c-8e-e4-d5-52-0d
[C64XP_0] 00000.000 TimerNew: OOM
[C64XP_0] 00000.000 TimerNew: OOM
[C64XP_0] 00000.000 TimerNew: OOM
[C64XP_0]
[C64XP_0] 129:48 ( 67%) 33:96 ( 51%) 1:128 ( 4%) 0:256
[C64XP_0] 62:512 ( 93%) 0:1536 0:3072
[C64XP_0] (49152/49152 mmAlloc: 1123/3/908, mmBulk: 0/0/0)
[C64XP_0]
[C64XP_0] 5 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 29 blocks alloced in 96 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 62 blocks alloced in 48 byte page
[C64XP_0] (E033D454) (E48E7C00) (E033D4B4) (E48E7C00) (E033D514) (E48E7C00) (E033D574) (E48E7C00) (E033D5D4) (E48E7C00) (E033D694) (E033D664) (E48E7C00) (E
[C64XP_0] 48E7C00) (E033D6F4) (E48E7C00) (E033D754) (E48E7C00) (E033D7B4) (E48E7C00) (E033D814) (E48E7C00) (E033D874) (E48E7C00) (E033D8D4) (E48E7C00) (E03
[C64XP_0] 3D934) (E48E7C00) (E033D994) (E48E7C00) (E033D9F4) (E48E7C00) (E033DA54) (E48E7C00) (E033DAB4) (E48E7C00) (E033DB14) (E48E7C00) (E033DB74) (E48E7
[C64XP_0] C00) (E033DBD4) (E48E7C00) (E033DC34) (E48E7C00) (E033DC94) (E48E7C00) (E033DCF4) (E48E7C00) (E033DD54) (E48E7C00) (E033DDB4) (E48E7C00) (E033DE1
[C64XP_0] 4) (E48E7C00) (E033DE74) (E48E7C00) (E033DED4) (E48E7C00) (E033DF34) (E48E7C00) (E033DF94) (E48E7C00)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 60 blocks alloced in 48 byte page
[C64XP_0] (E0341BF4) (E48E7C00) (E0341C54) (E48E7C00) (E48E7C00) (E0341E04) (E0341D14) (E48E7C00) (E0341D74) (E48E7C00) (E0341DD4) (E48E7C00) (E48E7C00) (E
[C64XP_0] 0341E64) (E48E7C00) (E0341EF4) (E48E7C00) (E0341FB4) (E0341F84) (E48E7C00) (E48E7C00) (E0342194) (E03420A4) (E0342074) (E48E7C00) (E48E7C00) (E03
[C64XP_0] 42164) (E0342134) (E48E7C00) (E48E7C00) (E48E7C00) (E0342284) (E48E7C00) (E03422E4) (E48E7C00) (E03426A4) (E0342374) (E48E7C00) (E0342674) (E0342
[C64XP_0] 524) (E0342434) (E48E7C00) (E0342494) (E48E7C00) (E03424F4) (E48E7C00) (E48E7C00) (E0342584) (E48E7C00) (E03425E4) (E48E7C00) (E0342644) (E48E7C0
[C64XP_0] 0) (E48E7C00) (E48E7C00) (E0342704) (E48E7C00) (E0342764) (E48E7C00) (E0341C84)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 6 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000) (0000) (0000) (0000) (0000)
[C64XP_0] 2 blocks alloced in 512 byte page
[C64XP_0] (0000) (0000)