Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

C6678 SRIO reset function

$
0
0

I'm using the C6678 SRIO to communicate with Altera stritix IV,Program can run successfully after being loaded。

Well,I add a reset function in this program like this:

         srioRegs->RIO_PLM_EN = 0;

         while(srioRegs->RIO_GBL_EN_STAT&1);

         srioRegs->RIO_PLM_EN = 1;

         while(srioRegs->RIO_GBL_EN_STAT&1 == 0);

         srioRegs->PLM[0].RIO_PLM_SP_LONG_CS_TX1 = 0x2003F044;

After this reset program execute ,the SRIO will nolonger link up.

Any mistake did I make?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>