Configuration:
DIO Lib 1.0.0, CCSv3.3, evmC6474, no BIOS, slave node is the testDIO_dbell_slave.pjt, master on core 1A, slave on core 2A
Hi
Occasionally when I re-start the testDIO_edamStreamLsu.pjt, I get the following output by the master
COM: Application error = 'SRIO INITIALIZATION'
COM: Source line = '768'
COM: User Info = '0x1'
And the slave is stuck in the for loop below (RIO_init.c).
RIO_waitForHw(Uint32 delay)
{
volatile Uint32 i, n;
n = 0;
for (i = 0; i < delay; i++)
{
n = n + 1;
}
}
Where the RIO_waitForHw() function is called from the huge function RIO_init() at
RIO_waitForHw(100000);
/* Check Port Ok bit */
portNok = 0;
if ( srioHandle->portConfig == RIO_PORT_CONFIG_1X_4X_MODE) {
response.index = 0;
CSL_srioGetHwStatus (srioHandle->hCslObj, CSL_SRIO_QUERY_SP_ERR_STAT, &response);
portNok |= response.data;
}else{
for (index=0; index< CSL_SRIO_MODULE_PORTS_MAX; index++) {
if (srioHandle->portEn[index]) {
response.index = index;
CSL_srioGetHwStatus (srioHandle->hCslObj, CSL_SRIO_QUERY_SP_ERR_STAT, &response);
portNok |= response.data;
}
}
}
Anyone else seen this problem or have an idea how to debug/fix it?
Power cycles typically work, but not always.
Cheers