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.

RTOS/TMS320C6678: NDK SRIO Integration problem

Part Number: TMS320C6678


Tool/software: TI-RTOS

Hi

I spent a lot of time for integrating NDK and SRIO but I couldn't integrate the modules finally. I am so sad,  Please help me to solve the problem. 

My tools:

OS: win7

CCS: 7

The sequense of calling my functions(in the main()) are as below:

1) Qmss_Cppi_PA_Init();

2) SRIO (enable_srio();, SrioDevice_init();, Srio_init(); and clearSrioStatusErrors(); )

3) GPIO_INIT();

4) setupSRIOAppConfig((Qmss_MemRegion)Qmss_MemRegion_MEMORY_REGION1); .

In stage one I declared and init Qmss, Cppi, and PA.

In stage two I only modify " SrioDevice_init() " function that I can communicate to FPGA.

In stage three I init GPIO that I think it didn't have the effect on the problem.

In stage four I called " setupSRIOAppConfig() ". I called this function with a separate memory region " Qmss_MemRegion_MEMORY_REGION1" from Ethernet memory region "Qmss_MemRegion_MEMORY_REGION0".

I should mention that I called SRIO and DIO in two tasks.

Best Regards