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.

TDA4VM: System Memory Map

Part Number: TDA4VM

Tool/software:

Hi,  TI experts

My SDK version is 8.01.

I reference the document: software-dl.ti.com/.../developer_notes_memory_map.html

I would like to modify system memory map, I want more memory on A72.

When I modified the gen_linker_mem_map.py file to generate the memory map related files, I  encountered some problems:

1、I reduced DDR_C7X_1_LOCAL_HEAP from 384MB to 368MB, DDR_C7X_1_SCRATCH from 256MB to 192MB, EEPROM_SHADOW from 16MB to 1024KB, I added 95MB memory on A72, my system and apps were fine. But I want more 100MB on A72.  so, I tried to reduce DDR_SHARED_MEM from 512MB to 448MB, my apps were executing abnormally.

According to the design requirements of the sdk, can I release another 100MB memory?

2、When I rudeced  DDR_MCU1_1 from 15MB to 8MB, I encountered  compilation error:

I reduced the other remote core memory, I also encountered the similar compilation error.

3、I don't need mcu1_1 and mcu3_1, can I remove these 2 remote cores to free up some memory?

 

  • Hi,

    These are basically alignment related issues. 

    I would suggest following the below document to get the correct alignment

    8.9. Understanding and updating SDK memory map for J721E — Processor SDK RTOS J721E

    Regards,

    Nikhil 

  • HI Nikhil,

    Thanks for your reply。

    We have conducted the following tests:

    On the basis of everything running normally, we only modified the values of DDR_MCU3_0 and DDR_MCU3_1, changing them from 15MB to 9MB and 5MB respectively. This modification complies with the address alignment rules, and the compilation is successful. We also recompiled the k3-j721e-vision-apps.dtbo. After the system starts running, the remote core log shows that the remote core runs normally, but when running vx_app_arm_ipc.out, it indicates IPC failure, and the log is as shown below. Please help analyze why.

    In addition, I have another question: Which two in system_memory_map.html correspond to the ones in the following image ?

    Thanks!

  • Hi,

    My SDK version is 8.01.

    Your SDK version is 8.1 right? If yes, please refer to the documentation corresponding to that release.

    Meanwhile could you share the changed python script for a review?

    Also please share the full boot logs in a text file (instead of screenshot)

    Regards,

    Nikhil