Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: All Firmwares
-
Labels:None
-
Account:SPC Profinet Slave V5 operational (SPCPROFINE)
Description
When a Channel Init is performed to activate a new configuration or load a database configuration, the ready bit is set asynchronously and before the run bit is set. This can result in unexpected behavior when toolkit function xChannelInit is used:
/* download valid config database */
xChannelDownload(hChannel, DOWNLOAD_MODE_CONFIG...);
/* activate config */
ilResult = xChannelReset(hChannel,CIFX_CHANNELINIT,10000);
if(CIFX_NO_ERROR == ilResult)
{
ilResult = xChannelCommonStatusBlock(hChannel,...);
/* ilResult == CIFX_DEV_NOT_RUNNING for fast host
* althoug not expected as config has been downloaded before
* channel init */
}
Problem is most likely observed with netX50 based targets but affects all firmwares.