Skip to main content
View as Markdown

IFlashWriter interface

No description yet.

public interface IFlashWriter : IRemoteExecuteBaseDriver

Namespace: SCH · Assembly: Altium.SDK.Interfaces

Inherits: IRemoteExecuteBaseDriver

Methods​

MethodReturnsDescription
AbortCurrentProcessint
AddFlashMemorySpaceint
BeginTransactionint
BlankCheckSectorsint
ClearAllFlashMemorySpacesvoid
CompareWithFlashint
EndTransationint
EraseAddressRangeint
EraseFlashint
EraseSectorRangeint
GetDefaultFlashWidthint
GetFlashAddressFromSectoruint
GetFlashMemorySpaceCountint
GetFlashMemorySpaceDescriptorvoid
GetFlashSectorFromAddressuint
GetSupportedDevicesListIStrings
IsFlashMemorySpacebool
IsFlashWidthSupportedbool
SetCallbackInterfaceint
SupportsActionbool
WriteFlashint

AbortCurrentProcess​

No description yet.

int AbortCurrentProcess();

Returns: int

AddFlashMemorySpace​

No description yet.

int AddFlashMemorySpace(uint argGlobalMemorySpaceIndex, uint argStartAddress, uint argEndAddress, uint argWidthInBits);
ParameterTypePassing
argGlobalMemorySpaceIndexuintvalue
argStartAddressuintvalue
argEndAddressuintvalue
argWidthInBitsuintvalue

Returns: int

BeginTransaction​

No description yet.

int BeginTransaction();

Returns: int

BlankCheckSectors​

No description yet.

int BlankCheckSectors(uint argFlashMemorySpaceIndex, uint argStartSector, uint argEndSector);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argStartSectoruintvalue
argEndSectoruintvalue

Returns: int

ClearAllFlashMemorySpaces​

No description yet.

void ClearAllFlashMemorySpaces();

Returns: nothing (void)

CompareWithFlash​

No description yet.

int CompareWithFlash(uint argFlashMemorySpaceIndex, IDataChunkImageInterface argDataImageInterface, uint argFlashAddress, uint argCompareByteCount, bool argEnableFilterFunction);
int CompareWithFlash(uint argFlashMemorySpaceIndex, object argDataImageInterface, uint argFlashAddress, uint argCompareByteCount, bool argEnableFilterFunction);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argDataImageInterfaceIDataChunkImageInterfacevalue
argFlashAddressuintvalue
argCompareByteCountuintvalue
argEnableFilterFunctionboolvalue

Returns: int

The first overload is an extension method of IFlashWriterHelper (using SCH;) with typed parameters; the second is declared by the interface.

EndTransation​

No description yet.

int EndTransation();

Returns: int

EraseAddressRange​

No description yet.

int EraseAddressRange(uint argFlashMemorySpaceIndex, uint argStartAddress, uint argEndAddress, bool argPreserveUnwrittenData);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argStartAddressuintvalue
argEndAddressuintvalue
argPreserveUnwrittenDataboolvalue

Returns: int

EraseFlash​

No description yet.

int EraseFlash(uint argFlashMemorySpaceIndex);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue

Returns: int

EraseSectorRange​

No description yet.

int EraseSectorRange(uint argFlashMemorySpaceIndex, uint argStartSector, uint argEndSector);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argStartSectoruintvalue
argEndSectoruintvalue

Returns: int

GetDefaultFlashWidth​

No description yet.

int GetDefaultFlashWidth();

Returns: int

GetFlashAddressFromSector​

No description yet.

uint GetFlashAddressFromSector(uint argFlashMemorySpaceIndex, uint argSectorNumber);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argSectorNumberuintvalue

Returns: uint

GetFlashMemorySpaceCount​

No description yet.

int GetFlashMemorySpaceCount();

Returns: int

GetFlashMemorySpaceDescriptor​

No description yet.

void GetFlashMemorySpaceDescriptor(uint argFlashMemorySpaceIndex, out uint argglobalMemorySpaceIndex, out uint argstartAddress, out uint argendAddress, out uint argwidthInBits);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argglobalMemorySpaceIndexuintout
argstartAddressuintout
argendAddressuintout
argwidthInBitsuintout

Returns: nothing (void)

GetFlashSectorFromAddress​

No description yet.

uint GetFlashSectorFromAddress(uint argFlashMemorySpaceIndex, uint argFlashAddress);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argFlashAddressuintvalue

Returns: uint

GetSupportedDevicesList​

No description yet.

IStrings GetSupportedDevicesList();

Returns: IStrings

Extension method of IFlashWriterHelper (using SCH;).

IsFlashMemorySpace​

No description yet.

bool IsFlashMemorySpace(uint argMemorySpaceIndex, uint argWriteAddress);
ParameterTypePassing
argMemorySpaceIndexuintvalue
argWriteAddressuintvalue

Returns: bool

IsFlashWidthSupported​

No description yet.

bool IsFlashWidthSupported(int argFlashWidth);
ParameterTypePassing
argFlashWidthintvalue

Returns: bool

SetCallbackInterface​

No description yet.

int SetCallbackInterface(IFlashWriterCallback argCallBackInterface);
int SetCallbackInterface(object argCallBackInterface);
ParameterTypePassing
argCallBackInterfaceIFlashWriterCallbackvalue

Returns: int

The first overload is an extension method of IFlashWriterHelper (using SCH;) with typed parameters; the second is declared by the interface.

SupportsAction​

No description yet.

bool SupportsAction(uint argnAction);
ParameterTypePassing
argnActionuintvalue

Returns: bool

WriteFlash​

No description yet.

int WriteFlash(uint argFlashMemorySpaceIndex, IDataChunkImageInterface argDataImageInterface, bool argEnableFilterFunction, bool argPreserveUnwrittenData, bool argResetDevice, bool argVerifyWrite);
int WriteFlash(uint argFlashMemorySpaceIndex, object argDataImageInterface, bool argEnableFilterFunction, bool argPreserveUnwrittenData, bool argResetDevice, bool argVerifyWrite);
ParameterTypePassing
argFlashMemorySpaceIndexuintvalue
argDataImageInterfaceIDataChunkImageInterfacevalue
argEnableFilterFunctionboolvalue
argPreserveUnwrittenDataboolvalue
argResetDeviceboolvalue
argVerifyWriteboolvalue

Returns: int

The first overload is an extension method of IFlashWriterHelper (using SCH;) with typed parameters; the second is declared by the interface.

Inherited members​

Returned by​

IFlashWriters.GetFlashWriter, IFlashWriters.GetSelectedFlashWriter

Accepted by​

IFlashWriters.AddFlashWriter, IFlashWriters.SelectFlashWriter