winIDEA SDK
|
This interface defines methods for controlling UMI devices.
#include <i_ConnectUMI.h>
Inherits IUnknown.
Public Types | |
enum | EOperationFlags { wOpWrite = 0x00000000 , wOpRead = 0x00000100 , wOpFlush = 0x00000200 , wOpErase = 0x00000300 , wOpVerify = 0x00000400 , wOpBlankCheck = 0x00000500 , wOpSecure = 0x00000600 , wOpUnsecure = 0x00000700 , wOpSecureCheck = 0x00000800 , wOpReadHASH = 0x00000900 , wOpReadPgmState = 0x00000A00 , wOpGetLastError = 0x00000B00 , wOpFill = 0x00000C00 , wOpGetID = 0x00000D00 , wOpMask = 0x00000F00 , wScopeDevice = 0x00001000 , wCheckIfOpAvailable = 0x00002000 , wProgDevice = 0x00000000 , wProgCache = 0x00004000 , wProgMask = 0x00004000 , wOverrideSafety = 0x00008000 , wFileFormatAuto = 0x00000000 , wFileFormatBin = 0x00010000 , wFileFormatS = 0x00020000 , wFileFormatHex = 0x00030000 , wFileFormatMask = 0x000F0000 } |
Operations flags. More... | |
Public Member Functions | |
virtual HRESULT | Operation (DWORD dwFlags, DWORD dwDevice, ADDRESS aAddress, ADDRESS aSize, BYTE *pbyData, LPCSTR pszFileName) PURE |
Writes data to the device or intermediate cache. More... | |
Operations flags.
|
virtual |
Writes data to the device or intermediate cache.
dwFlags | EOperationFlags |
dwDevice | index of the UMI device |
aAddress | address to write/read/hash/erase/secure or offset to add to the address in the file |
aSize | size of the data to write/read/hash/erase/secure, ignored if file is programmed |
pbyData | pointer to the buffer to be written, read, receive HASH or file to load |
pszFileName | path to the file to program |