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.

weird SRIO problem

   I am testing on an EVMC6678l board. For the SRIO part, I modified the SrioDioLoopback example to suit my purpose. My code is something like this:

realTimeTskFxn(){

int i;

int p;

int* pTemp;

  initFxn();

}

initFxn(){

// init MSGQ

... 

//start srio LLD driver

....

Srio_start();

}

  .text section is mapped  to DDR3. The above code works fine and srio driver can be started, however ,if I add a fourth local variable in realTimeTskFxn(), Srio_start() fails (return NULL).

  Another thing is : if I map .text section to MSMCSRAM, Srio_start() fails too.