Other Parts Discussed in Thread: J784S4XEVM
Tool/software:
Dear FreeRTOS Enet driver Team,
I ported my application to J784S4XEVM with FreeRTOS on R5f and try to send and receive an Ethernet frame every 250µs
My Ethernet settings are based on the enet_loopback_test example for MCU2_1 core. Except for the following issue it's working well.
In my application every ~1.8 Million frames, some microseconds after send, the system freezes for about 5.2 ms.
I only know that during this freeze the system does not call FreeRtos Idle function, global breakpoints can't stop the R5f core and the timer isr function isn't called.
I reproduced this issue with the enet_loopback_test example from pdk_j784s4_08_06_01_03 and from the latest pdk_j784s4_09_02_00_30.
I had to make some changes
- to avoid loopback in mac or phy,
- to avoid delays by EnetLpbk_retrieveFreeTxPkts() and Tx Semaphore
- and I also added my CCNT Time measurement.
In my last test I got this freeze 12 Times in 50 Million send frames, it always occurs in the 200µs after EnetDma_submitTxPktQ().
Hopefully some of you can look at my attached modified example and check if I made something wrong.
Best Regards
Daniel