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.

J722SXH01EVM: how to run mcu20 application built from mcu_plus_sdk?

Part Number: J722SXH01EVM

Tool/software:

Hi TI expert,

    1. i am using J722s evm  and sdk v11  example code as environment. sdcard, spl boot mode.

    2. it's ok to build a mcu20 elf binary and copy to `/usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_mcu2_0.out', it can run properly.

    and i see in mcu plus sdk, some example also has main mcu build project, for example, i use gpio interrupt , 

   "mcu_plus_sdk_j722s_11_00_00_12/examples/drivers/gpio/gpio_input_interrupt/j722s-evm/main-r5fss0-0_freertos/ti-arm-clang"

   and copy the output file "gpio_input_interrupt.release.out"  to `/usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_mcu2_0.out', it's failed to run.

my question is:

    1. what's the difference for these 2 different project to build a main mcu binary? 

    2. is it possible to run mcu20 binary built from  mcu_plus_sdk folder?

thanks.

   

  • Hi,

        1. what's the difference for these 2 different project to build a main mcu binary? 

    There should not be a difference between the two binaries. Can you please test with other examples from the MCU+ SDK and see if you still have the same issue?

        2. is it possible to run mcu20 binary built from  mcu_plus_sdk folder?
    it's ok to build a mcu20 elf binary and copy to `/usr/lib/firmware/vision_apps_evm/vx_app_rtos_linux_mcu2_0.out', it can run properly.

    This is the only method to run a MCU2_0 binary with SPL boot mode. The other ways to run from MCU+ SDK and what is described in the MCU+ SDK docs refers to booting with SBL only.

    Thanks,

    Neehar

  •  thanks.  does  driver like uart need to change api?  since currently i only use uart to output log to identify app running status,  mcu_plus_sdk and vision_app use different log api(debug_p / appLogPrintf)

  • Hi,

    Yes, the UART APIs you use in MCU+ SDK will likely not be useful for vision apps as there will be no source code available for DebugP.

    Thanks,

    Neehar