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.

RTOS/TMS320C6678: Random ping failures in NDK example

Part Number: TMS320C6678


Tool/software: TI-RTOS

hi

we have a custom board with 6678 which from Ethernet and PHY point of view is similar to emv6678 board. c6x linux Ethernet have no problem on this board and we alway can ping it's Eth interface.

problem start when we decide to move to NDK. we start with "Hello World" example.

we test connectivity this way:

1- start a ping command and let it run forever

2- we turn on and off board and check it's output log as well as ping result


we alway see output log as below:

QMSS successfully initialized
CPPI successfully initialized
PA successfully initialized
 
TCP/IP Stack 'Hello World!' Application
 
 
TCP/IP Stack 'Hello World!' Application
 
PASS successfully initialized
Ethernet subsystem successfully initialized
Ethernet eventId : 48 and vectId (Interrupt) : 7
Registration of the EMAC Successful, waiting for link up ..
Network Added: If-1:192.168.12.100

but out of 5 times "Turn-on and Turn-off" sequence, at least one time happens that PC can't ping our board (which is not true in case of c6x-linux - PC always can ping c6x-linux)

we already tried to activate L2 cache but it has no effect and also we moved everything even part that supposed to be in L2 to DDR3 but none of this made any difference.

does anyone have any idea of what's going Wrong?

also we test this for two versions of NDK 2.21.1.38 and NDK 2.25.01.11 on CCS 5.3