Hi TI,
I am working on TI PDK Hello world example for CPSW from the latest PDK. I have modified the EnetMem_Init() to allocate memory for 5 Ethernet packets for transmission and 5 ethernet packets for reception.
The LOOPBACK mode for MAC is disabled. I am transmitting the packets to CANoe from CPU and receiving the packets from CANoe to CPU.
I have noticed that when I receive 5 packets from CANoe to CPU. I can read them. I can start the next reception after releasing the ready packets and enqueuing the free packets and submit RxPktQ.
If I don't performs the dequeuing, enqueueing and submit operation, the new packets transmitted from CANoe doesn't appear in the memory (packets are dropped).
Question: Is there a way to overwrite the oldest of 5 packets with the newly received ethernet packets rather than dropping it ?
Looking forward to hearing back from you.
Best regards,
Hasan