Zynq7020 memory leakage in Linux while receiving periodic messages from FreeRTOS
I am using a Zynq7020 module in a prototype to monitor the thickness of powdered metallic profiles using an ultrasonic sensor. I am performing now performance testing. Unfortunately, Linux free memory is constantly dropping so I suspected a memory leakage in the software.
I reduced my test to the following basic operation:
CPU1/FreeRTOS is sending every 80 ms a message to CPU1/Linux(generated with petalinux 2018.2). My code does not contain any dynamic memory allocation.
The following is the essence of the code:
ocm_send_cpu1beat() function is called every 80 ms via a timer callback