Part Number:AM3358
Tool/software: TI-RTOS
Hi,
I think I got the same problem as this url described: https://e2e.ti.com/support/processors/f/791/t/701299?tisearch=e2e-sitesearch&keymatch=%20user:290018
I have a customized am335x board, almost same to bbb.
With my own Application, or the official examples such as 'NIMU_BasicExample_evmAM335x_armExampleproject' and 'NIMU_FtpExample_evmAM335x_armExampleproject', the ping (ping 192.168.1.4) is ok in a duration about 5 minutes, and then sudden to fail. It seems only a power-recycle can recover (Re-load .out via JTAG will not recover the network).
My environment are:
* pdk_am335x_1_0_14
* ndk_3_40_01_01
* Bios 6.75.2.00
* EDMA3 2.12.5
With the default setting 'Global.ndkTickPeriod = 200', ping failed after about 5 minutes.
With the setting 'Global.ndkTickPeriod = 2000', ping last for more than 10 minutes.
When the same board running Linux, ping is always ok. This indicates the hardware is ok.
I tracked some code of nimu & emac, and I have some findings:
* At the time the ping failed, an ARP request (60 bytes) is sent out from am335x, ARP need-resolve address is the opposite which is keep trying to ping it.
* The last TX packet did not successfully trig a TX interrupt, thus the TX routine are hold and stuck. At the same time, RX still works.
Any help will be greatly appreciated, thanks!
Best Regards,
GAN XJ