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: SBL questions in mmwave_l_sdk 5.3.0.2

Part Number: IWRL6432

Hi expert, 

Customer fells confused when they read sbl document. They have some questions need your help to clarify

  1. The partition section from P1 to P4 is clear on the L side, but the summation of the size on the R side is weird. (512 kb+64kb+512kb+512kb != 2MB). Is it correct? The application image address stated from 0x00090000? But the end of address is 0x00180000 that included the size is over the 512KB.
  2. The note on the bottom, “164 KB block from partition 3 is used.” But we can’t see the 164 kb block drawn on the partition layout, what does this note want to say?

Regards

Andre

  • Hi,

    The followings are my understanding:

    0x00080000~0x00090000 (64K bytes) Reserved for calibration data or any other data.
    0x00090000~0x00110000 (512K bytes) Application Image (the current max size is set as 512K bytes, can be enlarged if necessary)

    In other words, from 0x00090000 to 0x00180000 can be used to store application image but current source code set size limitation as

    #define SBL_MAX_METAIMAGE_SIZE              (512U * 1024U)

    The note here means:

    64KB in Partition 2 is reserved for calibration data etc. SBL ensures that this 64KB is not erased. For supporting 512KB images, "One" 64KB block from partition 3 is used.
    The "One" 64KB means 0x00100000~0x00110000

    In source code, you can see the 

    #define M_META_IMAGE       ((uint32_t)M_META_SBL + (uint32_t)(0x80000U)+ (uint32_t)(0x10000U))

    This is the application image offset in flash.