Hello. This is the first time to ask a question in this site.
I am not a good English speaker so If you need any more information about what I ask, tell me please.
I will answer you as precise as I can.
I am trying to do raw socket programming with C2000 and it performs mostly well. But I found a problem.
I need to send some packets to another embedded system(ET1100: EtherCAT system).
At first for a test, I tried to send packets to another notebook then It performed well.
I could send packets that I want.
But when I tried to send raw packets to my embedded system, I could only send 10 packets.
I think it is related to pktNumFrameBufs configuration.
pktNumFrameBufs is set to 10 for now so I can send only 10 packets.
After changing pktNumFrameBufs to 20 then I could send 20 packets.
I tried to change pktNumFrameBufs to a big number but I couldn't.
I need to send a packet per a second But for now I can send only 10 packets.
This is a big problem.
I think Network Interface Card does something for loopback. But I'm not sure.
Because after I set the NIC unused, the same situation occured.
Only 10 packets were sent.
How should I do?
I am a beginner of socket programming. So I even don't know which side is the problem.
Socket programming or my embedded or anything else.
I need your help.
Thank you in advance.
Jin.