Forum Discussion
Hi,
It looks like the error "TSEMAC SW rest bit never cleared" was given by the software driver in your design when you try to do software initialization for your design. Have you check the driver and found the reason?
Best regards,
zying
Thank you for your Advises,
At software driver for the error "TSEMAC SW rest bit never cleared"
i found the code as,
--=======================
x=0;
while(IORD_ALTERA_TSEMAC_CMD_CONFIG(tse[iface].mi.base) &
ALTERA_TSEMAC_CMD_SW_RESET_MSK) {
if( x++ > 10000 ) {
break;
}
}
if(x >= 10000) {
dprintf("TSEMAC SW reset bit never cleared!\n");
}
--=========================
* ALTERA_TSEMAC_CMD_SW_RESET_MSK is defined as (0x2000) .
* IORD_ALTERA_TSEMAC_CMD_CONFIG(base) is defined as IORD_32DIRECT(base, 0x8)
* and tse, iface, mi are just defined in a structure.
kindly Please help me to fix this Problem.