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.

IWRL6432: About the memory settings of APP images when using SBL

Part Number: IWRL6432

Tool/software:

The SBL example (\examples\drivers\boot\sbl) in MMWAVE_L_SDK_05_03_00 was built and downloaded to device.

The linker.cmd of the SBL code uses 256KB of shared memory. And the SH_MEM_CONFIG is set to 3.

I'm trying to load the APP image through SBL.

My question:
1) Should I make SH_MEM_CONFIG to 3 for this APP image as well as SBL?
2) If APP images are using most of HWASS (approximately 490 kbyte) like below, is the SBL example that should use shared memory unavailable?

3) Is there any problem when the MAP of the APP you want to load with SBL is as below?

----------------------------------------------------------------------------------

Map file of current APP image

.l3    60000000 00068000 UNINITIALIZED
        60000000 00068000 motion_detect.o (.l3)

Module code          rodata    rw     data
------ ---- ------- -------
motion_detect.o    1302     659     493001

----------------------------------------------------------------------------------

----------------------------------------------------------------------------------

SBL exsample : linker.cmd 

SH_MEM_CONFIG = 3
MEMORY
{
    M4F_VECS : ORIGIN = 0x00480000 , LENGTH = 0x00000200
    M4F_SHA_RAM  : ORIGIN = 0x00480200 , LENGTH = 0x00040000 - 0x00000200
    M4F_RAM  : ORIGIN = 0x00470000 , LENGTH = 0x00010000
}
----------------------------------------------------------------------------------
----------------------------------------------------------------------------------
APP exsample : linker.cmd 
SH_MEM_CONFIG = 0
SECTIONS
{
...
.l3:     {} palign(8) > HWASS_SHM_MEM     /* This is where L3 data goes */
}
MEMORY
{
    M4F_VECS : ORIGIN = 0x00400000 , LENGTH = 0x00000200
    M4F_RAM12  : ORIGIN = 0x00400200 , LENGTH = (0x00058000 - 0x200) /* 32KB of RAM2 is being used by RBL */
    M4F_RBL    : ORIGIN = 0x00458000 , LENGTH = 0x8000 /* 32KB of RAM2 is being used by RBL */
    M4F_RAM3  : ORIGIN = 0x00460000 , LENGTH = 0x00020000 /* 0x00010000 */
    HWASS_SHM_MEM : ORIGIN = 0x60000000, LENGTH = 0x00080000 /* 256KB in APPSS PD, 96KB in FECSS PD and 160KB in HWA PD */
}
----------------------------------------------------------------------------------