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.

66AK2H06: ARM has slow read speed to PCIE memory

Part Number: 66AK2H06
Other Parts Discussed in Thread: SYSBIOS

ARM has a program and directly access PCIE memory and grab the data. However, reading speed is very slow.

How do I improve it? it is around 8 MB/sec.

Thank you,

Yao-Ting

  • Yao-TIng,

    Please have a look at this doc for the throughput data.  It might be of some help.

    https://www.ti.com/lit/an/sprabk5b/sprabk5b.pdf   - Page no : 22, section 6

    Regards

    Shankari G

  • Hi Shankari,

    I try to use involve EDMA in the Linux c program application.

    it shows CSL_edma3Init is undefined, how do i solve this? Here is what i include.

    #include <ti/csl/csl_edma3.h>
    #include <ti/csl/csl_edma3Aux.h>

    thank you,

    Yao-Ting

  • Yao,

    Check whether there are macros to enable the particular SOC

    For example,

    __ARM_ARCH_7A__   --- For ARM

    SOC_K2G   -- for K2G

    SOC_K2H   -- for K2H

    _TMS320C6X -- for DSP

    #if defined(EDMA) || defined(UDMA)

    etc....

    Regards

    Shankari G

  • Hi Shankari,

    I found there are two examples for ARM applications about PCIE and EDMA.

    one is PCIE_K2H_wSocFile_armExampleProject

    The other is PCIE_K2H_wSocLib_amExampleProject

    what is the difference?

    thank you,

    Yao-Ting

  • Yao,

    As the name of the project implies, one is the "LIb"  and the other is the actual example project.

    This Lib will be serving as a library to the other.

    --

    Let me look at it little more closer and get back.

    Regards

    Shankari G

  • Yao,

    The source files used seems to be the same. The configuration files and binaries are different.

    1. But the ".cfg has a difference in enabling the SOC type.

         /* Enable only if soc-specific library should be used */
              Pcie.Settings.socType = socType; ----> This line is disabled / commented out in "pcie_sample_wSoCFile.cfg" but enabled in "pcie_sample_wSoCLib.cfg"

    2. As well, the size of the binaries differ.

    Regards

    Shankari G

  • Hi Shankari,

    i can open the project and compile under Windows CCS.

    but if I copy files to Linux environments and use ti tool chain to compile, it shows ti/sdo/edma3/drv/sample/bios6_edma3_drv_sample.h : No such file or directory.

    Usually, how people solve such issue if CCS compiles work but fails to compile under Linux tool chain.

    Thank you.

    Yao-Ting

  • Yao-Ting,

    Migrating from one operating system (SYSBIOS )  to another (Linux)  is always a challenging task.

    As the TI offered environment is SYSBIOS, if customer wants to compile under Linux, they have to adapt themselves.

     Thanks for understanding. Let us close this thread.

    Regards

    Shankari G.

  • Hi Shankari,

    Sorry, my previous statement is confusing. I want to compile the code but this code is still running in 66K2H02, ARM side (Linux OS).

    now my application is using arm-linux-gnueabihf-gcc and arm-linux-gnueabihf and armv7at2hf-neon-linux-gnueabi. They works.

    I think they are download from Ti website.

    but now, I have issue if I try to compile EDMA module.

    Regards,

    Yao-Ting

  • Yao-TIng,

    I recommend you to open up a new thread for each question.

    Appending, more questions in single thread will get very less attention in the forum.

    You started of your query with ARM speed with memory and then deviated to PCIE-example project -- then to the Linux compilation  -- then to EDMA.

    Here, the model is one post for one query;

    otherewise, while reading this complete post, it will lead to confusion to other Forum members.

    I am closing this thread.

    Regards

    Shankari G