C# Class LokiProgrammer.FreebooterHost

Exibir arquivo Open project: arachnidlabs/loki Class Usage Examples

Protected Properties

Property Type Description
_abort bool
_channel CommunicationsChannel
_checksumType PacketChecksumType
bootloaderVersion uint
reader FirmwareReader
siliconId uint
siliconRev uint

Public Methods

Method Description
Abort ( ) : void
DoAction ( Actions action, Stream file ) : void
EnterBootloader ( ) : EnterBootloaderResponse
Erase ( Stream file ) : void
EraseRow ( int flashArrayId, int rowNumber ) : void
ExitBootloader ( ) : void
FreebooterHost ( CommunicationsChannel channel ) : System
GetFlashSize ( int flashArrayId ) : GetFlashSizeResponse
Program ( Stream file ) : void
Program ( String file ) : void
ProgramRow ( int flashArrayId, int rowNumber, byte data ) : void
SyncBootloader ( ) : void
Verify ( Stream file ) : void
VerifyChecksum ( ) : VerifyChecksumResponse
VerifyRow ( int flashArrayId, int rowNumber ) : VerifyRowResponse

Protected Methods

Method Description
SendCommand ( BootloaderCommand command, BootloaderResponse response ) : void
SendData ( byte data ) : void

Private Methods

Method Description
ValidateRow ( byte arrayId, ushort rowNumber ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

DoAction() public method

public DoAction ( Actions action, Stream file ) : void
action Actions
file Stream
return void

EnterBootloader() public method

public EnterBootloader ( ) : EnterBootloaderResponse
return EnterBootloaderResponse

Erase() public method

public Erase ( Stream file ) : void
file Stream
return void

EraseRow() public method

public EraseRow ( int flashArrayId, int rowNumber ) : void
flashArrayId int
rowNumber int
return void

ExitBootloader() public method

public ExitBootloader ( ) : void
return void

FreebooterHost() public method

public FreebooterHost ( CommunicationsChannel channel ) : System
channel CommunicationsChannel
return System

GetFlashSize() public method

public GetFlashSize ( int flashArrayId ) : GetFlashSizeResponse
flashArrayId int
return GetFlashSizeResponse

Program() public method

public Program ( Stream file ) : void
file Stream
return void

Program() public method

public Program ( String file ) : void
file String
return void

ProgramRow() public method

public ProgramRow ( int flashArrayId, int rowNumber, byte data ) : void
flashArrayId int
rowNumber int
data byte
return void

SendCommand() protected method

protected SendCommand ( BootloaderCommand command, BootloaderResponse response ) : void
command BootloaderCommand
response BootloaderResponse
return void

SendData() protected method

protected SendData ( byte data ) : void
data byte
return void

SyncBootloader() public method

public SyncBootloader ( ) : void
return void

Verify() public method

public Verify ( Stream file ) : void
file Stream
return void

VerifyChecksum() public method

public VerifyChecksum ( ) : VerifyChecksumResponse
return VerifyChecksumResponse

VerifyRow() public method

public VerifyRow ( int flashArrayId, int rowNumber ) : VerifyRowResponse
flashArrayId int
rowNumber int
return VerifyRowResponse

Property Details

_abort protected_oe property

protected bool _abort
return bool

_channel protected_oe property

protected CommunicationsChannel _channel
return CommunicationsChannel

_checksumType protected_oe property

protected PacketChecksumType _checksumType
return PacketChecksumType

bootloaderVersion protected_oe property

protected uint bootloaderVersion
return uint

reader protected_oe property

protected FirmwareReader,LokiProgrammer reader
return FirmwareReader

siliconId protected_oe property

protected uint siliconId
return uint

siliconRev protected_oe property

protected uint siliconRev
return uint