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.

TDA4VE-Q1: Run the application of MCU side on TDA4VE

Part Number: TDA4VE-Q1

 How can I embedded my program or executable files (.xer5f or .out file) into the filesystem of package in SD card after I compiled my MCU code?

I need to debug my program on MCU SIDE in "ti-processor-sdk-rtos-j721s2-evm-08_06_01_03". I just get the below executable file:

So where is the related example in the PDK based on the .out file in above pic.?

  • Hi,

    These binaries does not come pre-built in the SDK, you'll need to build these binaries.

    You can use the following command in <PDK>/package/ti/build

    make BOARD=j721s2_evm CORE=<core_name> ipc_echo_test_freertos

    Regards,
    Parth

  • Oh,I'm blurred,as well as you can see below according  to the TI instruction:

    However, in "pdk_j721s2_08_06_01_03\packages\ti\drv\ipc"

    or like this:

    root@ubuntu:/home/django/TDA4VM_ECO/rtos_sdk_source/pdk_j721s2_08_06_01_03/packages/ti/drv/ipc# tree
    .
    ├── examples
    │   ├── baremetal
    │   │   ├── ipc_baremetal_echo_test.c
    │   │   ├── ipc_baremetal_multicore_echo_test.mk
    │   │   └── makefile
    │   ├── common
    │   │   ├── j721s2
    │   │   │   ├── freertos
    │   │   │   │   ├── linker_c7x_c7x_1_freertos.lds
    │   │   │   │   ├── linker_c7x_c7x_2_freertos.lds
    │   │   │   │   ├── linker_c7x_freertos_common.inc
    │   │   │   │   ├── linker_r5f_freertos_common.inc
    │   │   │   │   ├── linker_r5f_mcu1_0_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu1_0_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu1_1_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu1_1_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu2_0_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu2_0_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu2_1_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu2_1_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu3_0_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu3_0_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu3_1_btcm_freertos.lds
    │   │   │   │   ├── linker_r5f_mcu3_1_freertos.lds
    │   │   │   │   ├── memory_map_ddr.cmd
    │   │   │   │   └── memory_map_defines.inc
    │   │   │   ├── linker_r5f_mcu1_0_btcm.lds
    │   │   │   ├── linker_r5f_mcu1_0.lds
    │   │   │   ├── linker_r5f_mcu1_1.lds
    │   │   │   ├── linker_r5f_mcu2_0.lds
    │   │   │   ├── linker_r5f_mcu2_1.lds
    │   │   │   ├── linker_r5f_mcu3_0.lds
    │   │   │   ├── linker_r5f_mcu3_1.lds
    │   │   │   └── safertos
    │   │   │       ├── linker_c7x_c7x_1_safertos.lds
    │   │   │       ├── linker_c7x_c7x_2_safertos.lds
    │   │   │       ├── linker_c7x_safertos_common.inc
    │   │   │       ├── linker_r5f_mcu1_0_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu1_0_safertos.lds
    │   │   │       ├── linker_r5f_mcu1_1_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu1_1_safertos.lds
    │   │   │       ├── linker_r5f_mcu2_0_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu2_0_safertos.lds
    │   │   │       ├── linker_r5f_mcu2_1_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu2_1_safertos.lds
    │   │   │       ├── linker_r5f_mcu3_0_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu3_0_safertos.lds
    │   │   │       ├── linker_r5f_mcu3_1_btcm_safertos.lds
    │   │   │       ├── linker_r5f_mcu3_1_safertos.lds
    │   │   │       ├── linker_r5f_safertos_common.inc
    │   │   │       ├── memory_map_ddr.cmd
    │   │   │       └── memory_map_defines.inc
    │   │   ├── makefile.mk
    │   │   └── src
    │   │       ├── c66_cache_mar.c
    │   │       ├── c7x_mmu.c
    │   │       ├── ipc_am65xx_rsctable.h
    │   │       ├── ipc_rsctable.h
    │   │       ├── ipc_setup.h
    │   │       ├── ipc_testsetup_baremetal.c
    │   │       ├── ipc_testsetup.c
    │   │       ├── ipc_trace.c
    │   │       ├── ipc_trace.h
    │   │       ├── ipc_utils.c
    │   │       ├── ipc_utils.h
    │   │       ├── main_baremetal.c
    │   │       ├── main_rtos.c
    │   │       ├── r5f_mpu_j7200_default.c
    │   │       ├── r5f_mpu_j7200_safertos.c
    │   │       ├── r5f_mpu_j721e_default.c
    │   │       ├── r5f_mpu_j721e_safertos.c
    │   │       ├── r5f_mpu_j721s2_default.c
    │   │       ├── r5f_mpu_j721s2_safertos.c
    │   │       ├── r5f_mpu_j784s4_default.c
    │   │       └── r5f_mpu_j784s4_safertos.c
    │   ├── linux
    │   │   ├── echo_test_baremetal
    │   │   │   └── makefile.baremetal
    │   │   ├── echo_test_btcm
    │   │   │   └── makefile.btcm
    │   │   ├── ipc_echo_test.c
    │   │   └── makefile
    │   ├── qnx
    │   │   ├── echo_test_btcm
    │   │   │   └── makefile.btcm
    │   │   ├── ipc_qnx_echo_test.c
    │   │   └── makefile
    │   └── rtos
    │       ├── ipc_negative_test
    │       │   ├── ipc_negative_test.c
    │       │   ├── ipc_neg_setup.h
    │       │   ├── ipc_neg_testsetup.c
    │       │   └── makefile
    │       ├── ipc_perf_test
    │       │   ├── ipc_apputils.c
    │       │   ├── ipc_apputils.h
    │       │   ├── ipc_multicore_perf_test.mk
    │       │   ├── ipc_perf_test.c
    │       │   ├── ipc_perf_test.h
    │       │   ├── ipc_test_defs.c
    │       │   ├── ipc_test_defs.h
    │       │   ├── main.c
    │       │   ├── makefile
    │       │   └── makefile.mk
    │       └── ipc_rtos_echo_test
    │           ├── ipc_rtos_echo_testb
    │           │   ├── ipc_rtos_multicore_echo_testb.mk
    │           │   └── makefile.btcm
    │           ├── ipc_rtos_echo_test.c
    │           ├── ipc_rtos_multicore_echo_test.mk
    │           └── makefile
    ├── include
    │   ├── ipc_config.h
    │   ├── ipc_mp.h
    │   ├── ipc_rsctypes.h
    │   ├── ipc_types.h
    │   └── ipc_virtio.h
    ├── ipc_component.mk
    ├── ipc.h
    ├── lib
    │   └── j721s2
    │       ├── c7x_1
    │       │   └── release
    │       │       ├── ipc.ae71
    │       │       └── ipc_baremetal.ae71
    │       ├── c7x_2
    │       │   └── release
    │       │       ├── ipc.ae71
    │       │       └── ipc_baremetal.ae71
    │       ├── mcu1_0
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       ├── mcu1_1
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       ├── mcu2_0
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       ├── mcu2_1
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       ├── mcu3_0
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       ├── mcu3_1
    │       │   └── release
    │       │       ├── ipc.aer5f
    │       │       └── ipc_baremetal.aer5f
    │       └── mpu1_0
    │           └── release
    │               ├── ipc.aa72fg
    │               └── ipc_baremetal.aa72fg
    ├── makefile
    ├── soc
    │   ├── ipc_soc.h
    │   └── V3
    │       ├── ipc_soc.c
    │       └── ipc_soc.h
    └── src
        ├── ipc_api.c
        ├── ipc_mailbox.c
        ├── ipc_mailbox.h
        ├── ipc_mailbox_lld.c
        ├── ipc_mailbox_lld.h
        ├── ipc_mp.c
        ├── ipc_osal.c
        ├── ipc_osal.h
        ├── ipc_osal_qnx.c
        ├── ipc_priv.h
        ├── ipc_utils.c
        ├── ipc_utils.h
        ├── ipc_virtio.c
        ├── ipc_virtioPrivate.h
        ├── ipc_vring.h
        ├── makefile
        ├── makefile_baremetal
        └── makefile.mk
    
    41 directories, 141 files
    root@ubuntu:/home/django/TDA4VM_ECO/rtos_sdk_source/pdk_j721s2_08_06_01_03/packages/ti/drv/ipc# 
    

    So where is the "ipc_echo_test_freertos"? You mean to this below, don't you?

  • Hi,

    Sorry, I am not sure on the query here. Can you please elaborate on your query here?

    Regadrs,
    Parth