Hello,
We are currently working with the ADSP-21835 and would like to ask how to allocate memory from the L3 memory region using malloc().
Issue:
- We are having trouble getting malloc() to allocate memory from the L3 region.
What we have done / confirmed:
- We set the heap entry in the system.svc file to L3_ram (please see the red highlighted area in the attached image).
- We confirmed that "HEAP" was added to the L3_ram section in the memmap.xmm file (also shown in the attached image).
- However, even after these changes, malloc() still allocates memory from the L2 region instead of the L3 region.


What we would like to know:
- How can we make malloc() allocate memory from the L3 region?
Environment:
- Processor: SHARC-FX (on the ADSP-21835)
- IDE: CrossCore Embedded Studio 3.0.4
We would appreciate any advice or guidance you can provide.
Best regards,
MrKK