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.

AM6442: AM6442 apprication memory address

Genius 3186 points
Part Number: AM6442

Hi

May I have some questions about between after-SBL run-application?

I am using MCU+SDK 8.06.00.

--

Question1

I understood the processor can read OSPI code through MSRAM copyed from 0x6000_0000 by INDAC.

I think the user-application's appimege write in offset 0x80000.

Is this mean that 0x6000_0000 is SBL 0x6008_0000 is application in OSPI?

--

Question2  

In sbl_ospi_am64x-evm_r5fss0-0_nortos_ti-arm-clang project,

I think SBL code is wake up CPUs using Bootloader_loadCpu() function.

Where is setting that each cpu's code start address?

(e.g. the setting of that R5FSS0-0's code start setted at 0x7008_0000 in MSRAM)

Thanks,

GR

  • Hello GR san,

    1/ The INDAC has its own local SRAM module & uses the same to service read/write transaction. This SRAM is shown in the OSPI Block Diagram as shown below

    I would highly recommend the reading of "12.4.2 Octal Serial Peripheral Interface" chapter in the TRM. More specifically, the sections "12.4.2.4.9 OSPI Direct Access Controller (DAC)" and "12.4.2.4.10 OSPI Indirect Access Controller (INDAC)" in the TRM captures how to perform OSPI read/write. The OSPI driver in MCU+ SDK simply follows these sections and implements the steps.

    2/ The starting address of any example is set in the Linker Command File using the flag "-e". For example, The Linker Command file of any R5F example contains the line

    -e_vectors  /* This is the entry of the application, _vector MUST be plabed starting address 0x0 */

    This sets the entry point to the address of the symbol _vector. In case of R5F core, this _vector is always placed at 0x0.

    Regards,

    Prashant

  • Hi Prashant san,

    Thanks to your information.

    I understood well about start address of application code.

    Best regards,

    GR