I have been using TI6482 EVM and support packages, for developing SRIO basic module (mark me as a Novice).Steps which I had follow
are:-
1) As a starting, I have compiled and execute the writeNread code of DIO library over master (DSK DSP) and
slaveProg over Mezzanine's DSP.It worked fine.I have configured the PORTMODE for single lane 1x 4 port mode in cslUtils.h
#define RIO_PORT_CONFIG RIO_PORT_CONFIG_4_1X_MODE
2) Next I have made my SRIO master module based on EVM example code srio_master.c for same 4_1X_MODE and perform same
transactions over already running Slave.It also worked fine over 4k byte NWRITE_R and NREAD transaction.
3) Next I power-reset the EVM and load DIO library slave code once again in Mezzanine.It got stuck in RIO_init function
where a inifinite check is present for Port status.There I am getting PORT_UNINITIALIZED bit set in SP0_ERR_STAT CSR.
Again when I load mine master code, in DSK it show me TIMEOUT error in OPERATION COMPLETION Code.
Having a negative feeling in my mind about my code, I have again load DIO Library example code keeping slave in running mode, and to my surprise, that Master code also got stuck in RIO_init loop.
It would be really helpful if anybody could suggest something over this issue.
Are SRIO registers not got reset after Peripheral_EN bit got reset? Do i have always power-reset the board in order to reset
SRIO register set?