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.

LP-AM243: About MSRAM's SBL BANK

Part Number: LP-AM243

Tool/software:

Hello TI team,
I am looking to gain a better understanding of the SBL of the LP-2434.

environment:
  CCS12.7.0
  AM243x MCU+SDK 09.02.01.05
  LP-AM2434

I have a question about MSRAM's SBL BANK. Can you help me?

Memory Map Layout
https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/MEMORY_MAP.html

When I import the SBL source code into the working folder and check it, I find that the address and size listed in the Memory Map Layout do not match.

  sbl null: <SDK installation folder>\examples\drivers\boot\sbl_null\am243x-lp\r5fss0-0_nortos
  sbl_ospi: <SDK installation folder>\examples\drivers\boot\sbl_ospi\am243x-lp\r5fss0-0_nortos
  sbl_ospi_multi_partition: <SDK installation folder>\examples\drivers\boot\sbl_ospi_multi_partition\am243x-lp\r5fss0-0_nortos

Q1. Why do we need 2BANK?
Q2.
MARAM_0 startアドレス
  The start address of MSRAM_0 is 0x7000 0000 in the documentation, but in the SBL application it is 0x7000 0100.
  Why does it start at an address that is 0x100 more?
  What is the purpose of the area between 0x7000 0000 and 0x7000 0100?

MARAM_1 startアドレス
  In the documentation, the start address of MSRAM_1 is 0x7000 4000, but in the SBL application it is 0x7005 0000 or 0x7007 0000.
  The start address of MSRAM_1 varies depending on the bank size of MSRAM_0.

  There are differences for each boot loader.
  It is understandable even if the start address of MSRAM_1 differs from the documentation.

Regards,
Yoshiki Koide

  • Hello,

    A1. It is heuristically chosen that the first two banks (total 512KB) would be reserved for the SBL. In case you can fit your SBL to the first bank only then you can use the second bank for any other purpose.

    A2. The first 0x100 bytes (0x70000000 - 0x70000100) are reserved for the .vectors section which contain the exception table. After that, we start placing the other sections.

    The naming MSRAM_0 & MSRAM_1 doesn't necessarily correspond to the banks. These are just identifiers for the memory regions which can vary in size.

    Regards,

    Prashant

  • Hello,

    Understood.
    Thank you for your response.

    Regards,
    Yoshiki Koide