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.
Tool/software:
Hello.
All of TI teams
I want to understand SBL, QSPI memory configuration, MSRAM memory configuration using LP-2434.
environment:
CCS12.7.0
AM243x MCU+SDK 09.02.01.05
LP-AM2434
SBL Appication ospi_multi_partition
R5F Appication IPC Notify echo
Of two there is a question.
The first is a basic specification of SBL
The second is memory allocation of QSPI and MSRAM
Q1. SBL basics specifications: Does RBL load SBL in MSRAM?
software-dl.ti.com/.../BOOTFLOW_GUIDE.html
"the RBL will load the secondary bootloader or SBL from a boot media (OSPI flash, SD card or via UART) "
This is listed.
The command-line of uart_uniflash.py is as follows.
python .\uart_uniflash.py -p COM** --cfg=<SDK installation pass>\tools\boot\sbl_prebuilt\am243x-lp\default_sbl_ospi_multi_partition.cfg
"SBL loads R5F application according to an offset address of flash memory described in default_sbl_ospi_multi_partition.cfg in MSRAM"
Is my understanding right?
Q2. Memory allocation of .QSPI and MSRAM
Offset address of default_sbl_ospi_multi_partition.cfg
512KB per 1BANK
Figure 1. Cf. QSPI memory image
MSRAM definition of example.syscfg of ospi_multi_partition Application
MSRAM_0 320KB, MSRAM_1 is 192KB
Figure 1. Cf. MSRAM memory image
MSRAM definition of example.syscfg of IPC Notify echo Application
256KB
Figure 1. Cf. MSRAM memory image
Each BANK size of QSPI does not accord with each BANK size of MSRAM.
When MSRAM could load SBL definitely, I understood even size disagreement.
In default_sbl_ospi_multi_partition.cfg, each BANK is 512KB, does SBL come in load definitely even if 768KB and 256KB are mixed?
It is reference figure 2
Figure 1
Figure 2.
Regards,
Yoshiki Koide
Hello,
A1. Your understanding is correct. The RBL loads SBL from the QSPI offset 0x0. The SBL then loads the Application images from the offsets defined in its Sysconfig. The same offsets must be used in the flash config file (.cfg).
A2. There is no corelation between the address space size used for flashing the images in QSPI & for running the application in MSRAM. If needed,
Regards,
Prashant
Hello Prashant,
Thank you for your response. I will check it.
"This resolved my issue."
I will post any new or unclear information.
Regards,
Yoshiki