Hello,
While debugging something I had to increase the DDR scratch memory on C7x core, so I increased it from 16MB to 32MB (please note that DDR scratch is assigned to .bss:ddr_scratch_mem (NOLOAD) : {} > DDR_C7x_1). .the vx_app_tirtos_linux_c7x_1.out.map is generated and i see still some unused memory in DDR_C7x_1.
The issue i face is that the TIDL (00_09_00_00) memory requirement (for DDR scratch) shoots up from <13MB to around 50MB for the object delection demo (PSD) and the demo crashes.
As far as i know, TIDL has no prior information about size of DDR scratch memory configured in the system(C7x) we only inform about the L1, L2 and L3. Please let me know how the memory requirement requested after the algAlloc() call changes when DDR scratch is increased ?
I have tested untill 28MB DDR scratch, and everything works fine for the same demo. But as soon as the scratch is increased more than 28MB the demo crashes and TIDL memory requirement increases.
Is there some memory overlap from other core ? without the TIDL source code it is a bit difficult to debug the issue here.
Thanks !