
UpdCheckFile
Declaration
BOOL UpdCheckFile(LPCTSTR fileName, TupdProg-
ressCallback pCallback)
Description
UpdCheckFile
verifys the image file and if the image file corresponds
to the device.
If a method is handed over wirh
pCallback
, the method will be executed
depending of the program progress. The method returns OK or the corre-
sponding error message.
Arguments
LPCTSTR fileName
: Name of image file
TUpdProgressCallback pCallback
: Callback function for
program progress or 0
UpdCompareFile
Declaration
BOOL UpdCompareFile(LPCTSTR fileName, TUpd-
ProgressCallback pCallback);
Description
UpdCompareFile
compares the handed over image file with the en-
tries of the FLASH memory.
If a method is handed over wirh
pCallback
, the method will be executed
depending of the program progress. The method returns OK or the corre-
sponding error message.
Arguments
LPCTSTR fileName
: Name of image file
TUpdProgressCallback pCallback
: Callback function for
program progress or 0
UpdSetFlashLock
Declaration
BOOL UpdSetFlashLock(long from, long to);
Description
This method sets the lock bits of the FLASH chips from the address
from
to the address
to
. So, this address area can’t be overwritten. After
an image update, the lock bits are reset. One lock bit locks one whole
FLASH block. So the saved area can differ from the handed over addresses.
Arguments
long from
: First address for locking bits.
long to
: Address as far as the lock bits are set.
UpdResetFlashLock
Declaration
BOOL UpdResetFlashLock(long from, long to);
Description
This method resets the lock bits of the FLASH chips from the address from
to the address to, One lock bit locks one whole FLASH block. So the un-
saved area can differ from the handed over addresses.
Arguments
long from
: First address for reset locking bits.
long to
: Address as far as the lock bits are reset.
Software
KeTop T50VGA
© KEBA 2009
User's Manual V1.50
68
Summary of Contents for KeTop T100
Page 1: ...KEMRO KeTop T50VGA User s Manual V1 50 Translation of the original instructions ...
Page 4: ......
Page 10: ......