Appendix A
Gang Writer Dynamic Link Library
S5U1C17001Y23 Multi-Programmer
Seiko Epson Corporation
37
System Manual (Rev. 1.1)
A.2.11 GetIcdStatus
•
Function
Returns the progress status of the ICDmini with the specified serial number programmed.
•
Format
long GetIcdStatus ( short* IcdSerialNumber, long* TotalBytes, long* ProgBytes );
•
Arguments
short* IcdSerialNumber: Serial number (Unicode)
It should be within 20 characters and terminated with NULL.
long* TotalBytes:
Returns the number of all bytes.
long* ProgBytes:
Returns the number of bytes of which programming has completed.
•
Return values
OK
OPERATION_FLS_ICD_ERASE
OPERATION_FLS_ICD_WRITE
OPERATION_FLS_ICD_VERIFY
OPERATION_USER_ICD_ERASE
OPERATION_USER_ICD_WRITE
OPERATION_USER_ICD_VERIFY
ERROR_PARAMETER
ERROR_TIMEOUT_FLS_ICD
ERROR_TIMEOUT_USER_ICD
ERROR_MOT_OPEN_FLS
ERROR_MOT_FORMAT_FLS
ERROR_MOT_SIZE_OVER_FLS
ERROR_MOT_ADDR_FLS
ERROR_MOT_OPEN_USER_PRG
ERROR_MOT_FORMAT_USER_PRG
ERROR_MOT_SIZE_OVER_USER_PRG
ERROR_MOT_ADDR_USER_PRG
ERROR_ICD_OPEN_CONNECTION
ERROR_ICD_CONNECTION
ERROR_VERIFY_FLS_ICD
ERROR_VERIFY_USER_ICD
ERROR_LOAD_FLS_ICD
ERROR_LOAD_USER_ICD
•
Explanation
By referring TotalBytes and ProgBytes, the caller can determine how much programming has been progressed.
Summary of Contents for S5U1C17000Y23
Page 4: ......