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.

AM2634: Clarify application usage of SBL reserved memory from 0x70002000 to 0x70040000

Part Number: AM2634


Hi, I'd like more details about the restrictions on this region of memory claimed by the SBL. Here's the reference in the documentation.
https://software-dl.ti.com/mcu-plus-sdk/esd/AM263X/latest/exports/docs/api_guide_am263x/BOOTFLOW_GUIDE.html#autotoc_md448

> Other special factors for SBL application are listed below:
>  - Currently, the region 0x70002000 to 0x70040000 is used by the SBL code, data, stack, etc.

I see there are guards in MCU+SDK 9.0.0.35 that prevent the SBL from loading an application image region that overlaps the SBL region:
source/drivers/bootloader/bootloader.c:306-320

Is that a requirement that application images can't have load addresses in the SBL region?
Could the application reclaim that SBL memory region after load time?

Thanks,
-Andy

  • Hi ,

    SBL and Application should not have overlapping regions in the memory. So during the run-time of SBL, there should not be any load section in the memory for the Application. You can use SBL region after the SBL load for the Application usage.

    The easiest and least complicated solution is to use the BSS and Stack region (instead of loadable segments like Text, Data, or ROData) of the R5SS0-0 Application in the SBL region because these regions are initialized only after the SBL execution is completed.

    I hope this helps.

    Best Regards,
    Aakash