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.

How to combine between NDK + SRIO.

Hi, All.

My name is Ryan.

I have a question about working together with NDK + SRIO.

I am using c6671 board, NDK 2.22.02.16, MCSDK 2.01.02.05.

What i have done until now is here.

First of all, I checked working ndk hellow world example on our C6671 borad and it works fine. (ping test)

And then, I checked working "SRIO_LoopbackDioIsrexampleproject" and it works fine as well, too.

So, I thought my next step is combining together NDK + SRIO.

So, I tried to do like this.

just add srio into ndk hellow world  example project.

But, It doesn't work together. I mean i works just one thing at the same time. 

And again, I just did like this  init network first, and then init srio.

After system_init() function in srio routine invoked, network doesn't work and in this case, srio works.

Especially, After Qmss_init , Qmss_start invoked.

And, if I just delete the Qmss_init() and Qmass_start() for the test, the network works.

So I googled this in e2e a lot. many people said i have to change the Qmass, Memory resion and ISR.

But, even though I tried a lot, I just fail until now.

Please help me someone who knows about it. and especilly TI engineers.

I posted this issue several times even though TI engineers never answer anything.

I so sad about that.

Again please help me.

I just added the files for init network and srio here.

SRIO init

4645.srio_main.c

NETWORK init

6052.task_main.c

  • Ryan,

    Please start to integrate srio source files, linker cmd and cfg file(if there in srio project) with NDK project.
    I could not find the main() call at those two files(srio_main.c and task_main.c).
    If possible please provide an integrated project(NDK + SRIO), so that we can examine this issue.

  • Ryan,

    The helloWorld (NDK) and LoopbackDioIsrexample (SRIO) projects are using CPPI, QMSS module.
    We need to handle the CPPI and QMSS modules carefully, When we integrate both the example projects.
    And also SRIO using IPC module, this is configured with the shared memory region. So you need to check the cfg file for memory allocation, interrupts.
    Right now I do not have C6671 device board. If possible share your integrate project to identify the issue.
    I have the mcsdk_2_01_02_06 package and C6678 device board now. I am creating as a single project for NDK and SRIO loopback on target device C6678.
    I can share you once I complete this working project for C6678.
    If possible please provide your merged project.

  • Can any one solve this issue. I am also facing this resource conflict  issue. I am working on C6678 board .

    Pubesh can you please share any demo project regarding this issue.

    Thanks,

    Regards,

    Nitish