Im using the c6670 EVM to send and recive UDP Packets from a remote machine on the network. Im using the PDK and NDK along with the NIMU transport drivers available under MCSDK 220.127.116.11.
Im continously sending packets of size 500 - 1000 bytes to a remote machine on the system and receiving packets each of size 500 - 1000 bytes with the time interval of sending and receiving packets to be within 1milli second.
Ive kept the RX_INT_THRESHOLD to 1, and loadCount to 40 . This indicates that the PDSP accumulator will interrupt when 1 packet is received or when the Timer Count expires ie 25* 40 = 1ms . These changes are made in the file nimu_internal.h and nimu_eth.c available under the "transport" folder of the PDK directory.
Ive seen that in between when the test is running, some packets are missed to be received by the c6670 PHY. i can see that the packets in the Wireshark application, but they fail to be picked up by the PHY and processed further on to the application thro the NDK and NIMU drivers. Is it so that the Interrupt is missed in between... or is there another version of the NIMU driver present where an optimized setting of the EmacRxISR () or the Rx Thresholds have been set for optimum performance , so that none of the packets are missed to be received by the NIMU driver.
Pls help me out. This causes a panic in my app when a packet goes missing.
1. Can you try with the latest MCSDk available here :
http://software-dl.ti.com/sdoemb/sdoemb_public_sw/bios_mcsdk/latest/index_FDS.html2. Also can check the EMAC statistics register to see if the packets are not received or if there is any other error.
Kindly click the Verify Answer button on this post, if it answers your question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.