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