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.

PROCESSOR-SDK-J721E: SDK-RTOS on TI Jacinto Platform

Part Number: PROCESSOR-SDK-J721E

Tool/software:

Hi TI Team,

I'm currently using SDK-RTOS version 09_02_00_05 and I'm trying to setup IPC, for start setting up the environment and running the examples, but it seems that the documentation version which I use is out of date and may not be compatible with my SDK version. Link to documentation here .

Could anyone point me to the right documentation for TI IPC, especially if there’s a newer version available? Additionally, I would appreciate any examples of how to correctly use IPC with my current SDK version. If you can share any further resources or examples to help me get familiar with TI IPC, I would be very grateful.

  • Hi,

    Yes i can help you in pointing it out. Please check the URL for latest TI PDK RTOS IPC https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/10_00_00_05/exports/docs/pdk_jacinto_10_00_00_27/docs/userguide/jacinto/modules/ipc.html

    Let me know if you any further queries.

    Regards

    Tarun Mukesh

  • Hi,

    Thanks for quick answer. 

    I’m looking for guidance on how to build and run an application for the C66x DSP without using Code Composer Studio (CCS). Specifically, we need to:

    1. Build a binary for C66x DSP.
    2. Upload and run the binary from a Linux application, not via CCS.
    3. Create a simple C66x application (e.g., one that returns the string "Hello from C66x").
    4. Have a Linux application upload the binary, execute it on C66x, retrieve the result, and print it.

    Followed documentation which you send me, we did next:

    We were able to build successfully using Method 2 when the core was set to mcux_x. However, for c66xdsp_1 and c66xdsp_2, we encounter an error:

    We were not successful with Method 1:

    We suspect the issue might be related to the PATH variables, as we are not sure what exactly to set for them. I will also provide screenshots of the echo output for the variables to show our current setup:

    I assume SDK_INSTALL_PATH and TOOLS_INSTALL_PATH should be set to this or something from this directory(not from rtos sdk):

    Also, 

    I would like to know if there is a way to initiate the execution of a binary on the C66x DSP from a Linux application running on ARM. Specifically, I want to:

    1. Load the binary for C66x.
    2. Run it from a Linux application.
    3. Retrieve the result (e.g., "Hello from C66x" message) and display it in the Linux application.

    Any advice or steps to help us with offloading some compute intensive functions to DSPs would be greatly appreciated.

    Thanks in advance!

  • Hello,

    May i know where the compiler files are downloaded and is the TOOLS_INSTALL_PATH pointing to them or not ?

    Regards

    Tarun Mukesh

  • The SDK RTOS was installed from ti-processor-sdk-rtos-j721e-evm-09_02_00_05.tar.gz.

    I found out that it contains only toolchain for ARM based processors. It is located under SDK_INSTALL_PATH/ti-cgt-armllvm_3.2.1.LTS directory. 

    Could you please advice how can I get toolchain for C66x DSP processor? Do I need to download Linux version of CCS for that?

     

    Anyway, the main question for the moment is about a possibility to offload some functions from application running on ARM to C66x DSP.

    As far as I understand I should do the following:

      - write function to be run on C66x and build with ti-cgt-c6000* toolchain

      - Modify Linux application running on ARM to run the necessary functions on C66x.

    So I need to load binary for C66x from Linux application and start it. I would like to do it via TI IPC.

    Could you please point to some docs or examples? 

  • Hello,

    The SDK RTOS was installed from ti-processor-sdk-rtos-j721e-evm-09_02_00_05.tar.gz.

    I found out that it contains only toolchain for ARM based processors. It is located under SDK_INSTALL_PATH/ti-cgt-armllvm_3.2.1.LTS directory. 

    Could you please advice how can I get toolchain for C66x DSP processor? Do I need to download Linux version of CCS for that?

    If you had run the setup_psdk_rtos.sh script then it would have installed ti-cgt-c6000_8.3.7 and many remaining compiler related files as well . Please check where those got downloaded and makefile is picking up the tools from C:ti/ folder rather than SDK path .

    Anyway, the main question for the moment is about a possibility to offload some functions from application running on ARM to C66x DSP.

    As far as I understand I should do the following:

      - write function to be run on C66x and build with ti-cgt-c6000* toolchain

      - Modify Linux application running on ARM to run the necessary functions on C66x.

    So I need to load binary for C66x from Linux application and start it. I would like to do it via TI IPC.

     Does ARM mean A72 running linux here ? what is your intent to offload the functions from A72 core to C66x ?

     

    Regards

    Tarun MUkesh

  • First of all, thank you for pointing out the setup_psdk_rtos.sh script. It helped me get the necessary toolchains.

    Yes, A72 running Linux. I want to get familiar with how to offload specific functions to the DSP for compute-intensive calculations, such as the Fourier Transform.

    As a starting point, I want to try the following 'Hello World' application: a program running on A72 Linux that starts a process on the DSP, which simply returns a string (let's say 'Hello from C66x'). The Linux application is supposed to receive this string from the C66x and print it out.

    Could you please guide me how should I do this? 

  • Hello,

    As a starting point, I want to try the following 'Hello World' application: a program running on A72 Linux that starts a process on the DSP, which simply returns a string (let's say 'Hello from C66x'). The Linux application is supposed to receive this string from the C66x and print it out.

    We have ipc echo test which runs on C66x core and A72 running rpsmg_char_simple test which says hello world to C66x core and C66x core returns this hello world string to A72 core.

    You can follow the below URL where the steps to run IPC on DSP core has been explained.

    e2e.ti.com/.../5389459

    Regards

    Tarun Mukesh