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.

J721EXCPXEVM: Regarding Memory Regions that we need to use for J721E TDA4

Part Number: J721EXCPXEVM

Hello Team,

we are using J721EXSOMG01EVM + J721EXCP01EVM (TDA4) board , we have few queries  related to memory area usage

I need to know, which memory regions we can use. 

1 we wanted use both MSRAM  and DDR0 , is it possible to use both together

    MSRAM : origin=0x41C00000 length=0x100000 /*1 MB Internal RAM*/

    DDR0  : origin=0x80000000 length=0x8000000 /* 2GB */

2 Also we saw from an linker file shared as part of package by TI, the  j721e Reserved Memory area as mentioned below, can we use this as an RAM area to store our memory sections.

   /* j721e MCMS3 locations */
   /* j721e Reserved Memory for ARM Trusted Firmware */
  MSMC3_ARM_FW (RWIX) : origin=0x70000000 length=0x40000 /* 256KB */
  MSMC3 (RWIX) : origin=0x70040000 length=0x7B0000 /* 8MB - 320KB */

3 Also is there any document to know, which all memory regions available for J721e

Regards,

Pradeep R

  • Hello Pradeep,

    To answer your query, we have few queries:

    - TI SDK software is being used? What is the use-case in question?

    - Can you clarify at what software level are you requesting the use of the memory region?  At the bootloader level or after the OS is loaded?

    Thanks.

  • Hello Praveen,

    We are integrating TI MCAL MCUSW_09_00_00_10_CONFIG + sdk-rtos-j721e-evm-09_00_00_02.

    we are creating Autosar Stacks like CAN, ETH

    we want place Autosar OS and other Autosar module Stacks into memory.

    So could you please suggest us which memory location we need to use.

    Also we are planning to create Bootloader, for bootloader as well please let us know which memory region we need to use.

    Regards,

    Pradeep R

  • Hi Pradeep,

    It all depends on the boot flow you are using ,you can check URL https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/09_00_00_02/exports/docs/psdk_rtos/docs/user_guide/developer_notes_bootloaders.html

    The above tell the types of bootloaders, and their memory mappings etc...Let me know if you have further queries.

    Regards

    Tarun Mukesh

  • Hello Tarun,

    Currently we are not using Bootloader, we want test without bootloader.

    we have an integrated Autosar stack with OS.

    we want to know where to place the memory sections.

    Can you please suggest us whether we can use the above mentioned memory regions.

    1 we wanted use both MSRAM  and DDR0 , is it possible to use both together

        MSRAM : origin=0x41C00000 length=0x100000 /*1 MB Internal RAM*/

        DDR0  : origin=0x80000000 length=0x8000000 /* 2GB */

    2 Also we saw from an linker file shared as part of package by TI, the  j721e Reserved Memory area as mentioned below, can we use this as an RAM area to store our memory sections.

       /* j721e MCMS3 locations */
       /* j721e Reserved Memory for ARM Trusted Firmware */
      MSMC3_ARM_FW (RWIX) : origin=0x70000000 length=0x40000 /* 256KB */
      MSMC3 (RWIX) : origin=0x70040000 length=0x7B0000 /* 8MB - 320KB */

    Regards,

    Pradeep R

  • Hello Pradeep,

    You can use MSRAM , MSMC,DDR0 but need to ensure there are no conflicts in the usage.Again You cannot start from the beginning address and start usng  which core are you using  and those particular regions only can be used to avoid issues.

    We have MCAL baremetal examples ,you can refer the linker files in mcusw/build/j721e/ to understand on usage.You should also refer memory section in TRM to get better understanding on this.

    Regards

    Tarun Mukesh

  • Hello Tarun,

    Thankyou for the feedback.

    Regards,

    Pradeep R