Functions | |
int | fwCcpc_JTAGReset (string pCCPC, int pChain) |
int | fwCcpc_JTAGIdle (string pCCPC, int pChain) |
int | fwCcpc_JTAGIRScan (string pCCPC, int pChain, int pSize, dyn_char pDataIn, dyn_char &pDataOut) |
int | fwCcpc_JTAGDRScan (string pCCPC, int pChain, int pSize, dyn_char pDataIn, dyn_char &pDataOut) |
int | fwCcpc_JTAGResetTAP (string pCCPC, int pChain) |
bool | fwCcpc_JTAGChainScan (string pCCPC, int pChain, dyn_int &pDeviceAddressList) |
bool fwCcpc_JTAGChainScan | ( | string | pCCPC, | |
int | pChain, | |||
dyn_int & | pDeviceAddressList | |||
) |
This function performs a JTAG scan operation on the specified CCPC.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | chain number from '1' to '3'. |
[out] | pDeviceAddressList | list containing the addresses of the devices. |
false error found.
(...) dyn_int myList; int i; if (fwCcpc_JTAGChainScan("pclbcecs03", 1, myList) == 0) // scans JTAG chain no.1 for connected hardware for(i = 1; i <= dynlen(myList); i++) DebugTN("Device Nr. " + (string) i + " has address " + fwCcpc_convertDecToHex(myList[i])); else DebugTN("Error found!"); (...)
int fwCcpc_JTAGDRScan | ( | string | pCCPC, | |
int | pChain, | |||
int | pSize, | |||
dyn_char | pDataIn, | |||
dyn_char & | pDataOut | |||
) |
Perform a DR SCAN operation on the specified JTAG chain.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | chain number from '1' to '3'. |
[in] | pSize | size (in bits) of the data to be shifted in. Note: the first bit to be shifted in will be the rightmost bit of the data. |
[in] | pDataIn | data to be shifted in. |
[out] | pDataOut | data that has been shifted out. |
> 0 error found (related with CCPC Server).
= -1 error found (related with PVSS).
(...) dyn_char myData; if (fwCcpc_JTAGDRScan("pclbcecs03", 1, 24, fwCcpc_convertHexToByte("feedbabe"), myData) == 0) // perform a IR SCAN operation DebugTN(fwCcpc_convertHexToByte(myData)); else DebugTN("Error found!"); (...)
int fwCcpc_JTAGIdle | ( | string | pCCPC, | |
int | pChain | |||
) |
IDLE operation: A state movement to ENDST_TLRST is performed.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | number of chain from '1' to '3'. |
> 0 error found (related with CCPC Server).
= -1 error found (related with PVSS).
(...) if (fwCcpc_JTAGIdle("pclbcecs03",1) == 0) (...) else DebugTN("Error found!"); (...)
int fwCcpc_JTAGIRScan | ( | string | pCCPC, | |
int | pChain, | |||
int | pSize, | |||
dyn_char | pDataIn, | |||
dyn_char & | pDataOut | |||
) |
Perform a IR SCAN operation on the specified JTAG chain.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | chain number from '1' to '3'. |
[in] | pSize | size (in bits) of the data to be shifted in. Note: the first bit to be shifted in will be the rightmost bit of the data. |
[in] | pDataIn | data to be shifted in. |
[out] | pDataOut | data that has been shifted out. |
> 0 error found (related with CCPC Server).
= -1 error found (related with PVSS).
(...) dyn_char myData; if (fwCcpc_JTAGIRScan("pclbcecs03", 1, 24, fwCcpc_convertHexToByte("feedbabe"), myData) == 0) // perform a IR SCAN operation DebugTN(fwCcpc_convertHexToByte(myData)); else DebugTN("Error found!"); (...)
int fwCcpc_JTAGReset | ( | string | pCCPC, | |
int | pChain | |||
) |
RESET operation: A state movement to ENDST_TLRST is performed.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | number of chain from '1' to '3'. |
> 0 error found (related with CCPC Server).
= -1 error found (related with PVSS).
(...) if (fwCcpc_JTAGReset("pclbcecs03",1) == 0) // perform a RESET operation (...) else DebugTN("Error found!"); (...)
int fwCcpc_JTAGResetTAP | ( | string | pCCPC, | |
int | pChain | |||
) |
Perform a TAP reset operation.
[in] | pCCPC | name of the CCPC. |
[in] | pChain | chain number from '1' to '3'. |
> 0 error found (related with CCPC Server).
= -1 error found (related with PVSS).
(...) if (fwCcpc_JTAGResetTAP("pclbcecs03", 1) == 0) (...) else DebugTN("Error found!"); (...)