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: Can_profiling_app running problem on SD/MMC

Part Number: TDA4VM

Hi,

I got some problems when I ran can_profile_app.

First of all, I used PSDKRA_7.1.0. I referenced the user guide as well.

(http://downloads.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/latest/exports/docs/mcusw/mcal_drv/docs/drv_docs/mcusw_c_ug_top.html#mcusw_build_top)

Build is done well. I did only can profiling application like this.

  • make -s can_profile_app BOARD=j721e_evm SOC=j721e BUILD_PROFILE=release CORE=mcu1_0 BUILD_OS_TYPE=tirtos

For running the example using SD/MMC,  I did as follow steps.

  1. make sbl_mmcsd_img
    1. there are no error messages.
  2. Copy SBL binary sbl_mmcsd_img_mcu1_0_release.tiimage as tiboot3.bin
    1. rm /media/name/BOOT/tiboot3.bin
    2. cp sbl_mmcsd_img_mcu1_0_release.tiimage /media/name/BOOT/tiboot3.bin
  3. Copy the tifs.bin form ($PSDKRA_INSTALL_PATH)/(pdk-install-folder)/packages/ti/drv/sciclient/soc/V1/tifs.bin as tifs.bin in case of J721E
    1. cp ($PSDKRA_INSTALL_PATH)/(pdk-install-folder)/packages/ti/drv/sciclient/soc/V1/tifs.bin /media/name/BOOT/
  4. Copy the application from ($PSDKRA_INSTALL_PATH)/mcusw/binary/(driver name)_app/bin/j721e_evm)/.*appimage to the SD card boot partition as app
  5. The bootmode switched are configure as described guide.

So tiimage and binary files are made successfully.

I insert sdcard into the EVM, then boot failed. UART messages are 

SBL Revision: 01.00.10.00 (Feb 17 2021 - 15:47:29)
TIFS  ver: 20.8.5--v2020.08b (Terrific Lla

 SD Boot - File open fails

Also, despite set 'export MCUSW_UART_ENABLE ?= TRUE' in mcusw/build/Rules.mak, there is no output from MCU_UART. 

I read a thread like this issue(https://e2e.ti.com/support/processors/f/791/p/931472/3461239?tisearch=e2e-sitesearch&keymatch=can_profile_app#3461239), I don't know why It's not working.

Do you have an Idea?

Best regards

Yongsig.

  • Hi Yongsig,

    Copy the application from ($PSDKRA_INSTALL_PATH)/mcusw/binary/(driver name)_app/bin/j721e_evm)/.*appimage to the SD card boot partition as app

    Can you please confirm what file are you using as app in the SD card BOOT/ partition?

    You should be using the ($PSDKRA_INSTALL_PATH)/mcusw/binary/can_profile_app/bin/j721e_evm/can_profile_app_mcu1_0_release.appimage.

    I have also attached the SD card BOOT/ images I prepared on my setup. To quickly test, you can try with this:

    SDK7_1_can_profile_app_BOOT.zip

    Regards,

    Karan