Ecat_Security_Get_Write_Verifykey_State - Delta EtherCAT Programming Manual

Table of Contents

Advertisement

Security of Software Protection

29.4 _ECAT_Security_Get_Write_Verifykey_State

Syntax
29
U16 PASCAL _ECAT_Security_Get_Write_Verifykey_State (U16 CardNo, U16 *State)
Purpose
Acquire the status and result of writing in the verification key.
Note: The write-in function cannot be done unless the the return code is not 2.
Parameter
Name
CardNo
State
Example
U16 Status = 0;
U16 CardNo = 0, State = 0;
U32 Verifykey[8] = {0, 1, 2, 3, 4, 5, 6, 7};
// Wrtie in new verification key.
Status= _ECAT_Security_Write_Verifykey ( CardNo, Verifykey);
// Wait unitl the write-in process is complete.
While (1)
{
Status= _ECAT_Security_Get_Write_Verifykey_State( CardNo, &State );
if (State != 2)
{
}
}
29-6
Data type
Property
U16
Number
U16*
Status
// Write-in process is complete. Users can check the result from the return code.
break;
Description
Card No.
Return code:
0: Write in verification sussesful.
1: Write in verification failed.
2: Write in verification in progress.
3: _ECAT_Security_Write_Verifykey is not executed.
4: Processing error of
_ECAT_Security_Write_Verifykey
EtherCAT Programming Guide
March, 2017

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents