This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I am using awr1843 and trying to add a tracking algorithm (used in traffic monetering demo) to the OOB demo but I get problems in memory.
Here you can find the memory problems :
As you can see here, L2SRAM_UMAP0 | L2SRAM_UMAP1 are filled and we have HWA_RAM, L1DSRAM and L1PSRAM that are free.
So I wonder if it is possible to use these memories to solve the problem? And if someone can help me in this situation to be able to split my memory without error and without being stuck in debugging ?.
Thank you,
Ben Hassine
Hi Ben,
The L1D/P-SRAM might not be available as they will be used as cache fully, I believe. The HWA RAM is exclusive to the usage of HWA in the signal chain and this memory cannot be touched. Is it possible for you to provide the memory usage breakup across mainly L2SRAM and L3 in your code before the addition of this tracker and understand how much is available to use for tracking exactly? I would prefer if you used the memory check provision provided in the datapath or in the map file for this check.
Regards,
Kaushik
Hi Kaushik,
Thanks for your answer. Here is the memory before adding the tracking algorithm and after adding the tracking :
Ps: I just changed the size of L2SRAM_UMAP0 to see the memory needed for traking. In fact, the maximum size of L2SRAM_UMAP0 is 131k and I find HWA_RAM, L1DSRAM and L1PSRAM which are free that's why I ask if we can use it for tracking.
As you can see, we need almost 30k bytes for the tracking algorithm to be added to the OOB demo dss. I think this is too much.
Is there a solution to keep the features of the OOB demo and add the tracking.. ?
Regards,
Ben Hassine
Hi Ben,
From the looks of it, the additional memory required would have to be obtained by removing things that are not necessary from the existing demo and optimizing things if possible. There is no direct or easy way to do it. Would suggest you go through the documentation of the datapath from the SDK and understand what can be altered to free up more memory. You can also look at the map files to understand memory bottlenecks if any as well.
Regards,
Kaushik
Hi Kaushik,
Thank you for your reponse. I will check the documentation of the datapath from the SDK and get back to you if there is anything new.
Regards,
Ben Hassine