C# Class LokiProgrammer.FreebooterHost

Afficher le fichier Open project: arachnidlabs/loki Class Usage Examples

Protected Properties

Свойство Type Description
_abort bool
_channel CommunicationsChannel
_checksumType PacketChecksumType
bootloaderVersion uint
reader FirmwareReader
siliconId uint
siliconRev uint

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
SendCommand ( BootloaderCommand command, BootloaderResponse response ) : void
SendData ( byte data ) : void

Private Methods

Méthode Description
ValidateRow ( byte arrayId, ushort rowNumber ) : void

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

DoAction() public méthode

public DoAction ( Actions action, Stream file ) : void
action Actions
file Stream
Résultat void

EnterBootloader() public méthode

public EnterBootloader ( ) : EnterBootloaderResponse
Résultat EnterBootloaderResponse

Erase() public méthode

public Erase ( Stream file ) : void
file Stream
Résultat void

EraseRow() public méthode

public EraseRow ( int flashArrayId, int rowNumber ) : void
flashArrayId int
rowNumber int
Résultat void

ExitBootloader() public méthode

public ExitBootloader ( ) : void
Résultat void

FreebooterHost() public méthode

public FreebooterHost ( CommunicationsChannel channel ) : System
channel CommunicationsChannel
Résultat System

GetFlashSize() public méthode

public GetFlashSize ( int flashArrayId ) : GetFlashSizeResponse
flashArrayId int
Résultat GetFlashSizeResponse

Program() public méthode

public Program ( Stream file ) : void
file Stream
Résultat void

Program() public méthode

public Program ( String file ) : void
file String
Résultat void

ProgramRow() public méthode

public ProgramRow ( int flashArrayId, int rowNumber, byte data ) : void
flashArrayId int
rowNumber int
data byte
Résultat void

SendCommand() protected méthode

protected SendCommand ( BootloaderCommand command, BootloaderResponse response ) : void
command BootloaderCommand
response BootloaderResponse
Résultat void

SendData() protected méthode

protected SendData ( byte data ) : void
data byte
Résultat void

SyncBootloader() public méthode

public SyncBootloader ( ) : void
Résultat void

Verify() public méthode

public Verify ( Stream file ) : void
file Stream
Résultat void

VerifyChecksum() public méthode

public VerifyChecksum ( ) : VerifyChecksumResponse
Résultat VerifyChecksumResponse

VerifyRow() public méthode

public VerifyRow ( int flashArrayId, int rowNumber ) : VerifyRowResponse
flashArrayId int
rowNumber int
Résultat VerifyRowResponse

Property Details

_abort protected_oe property

protected bool _abort
Résultat bool

_channel protected_oe property

protected CommunicationsChannel _channel
Résultat CommunicationsChannel

_checksumType protected_oe property

protected PacketChecksumType _checksumType
Résultat PacketChecksumType

bootloaderVersion protected_oe property

protected uint bootloaderVersion
Résultat uint

reader protected_oe property

protected FirmwareReader,LokiProgrammer reader
Résultat FirmwareReader

siliconId protected_oe property

protected uint siliconId
Résultat uint

siliconRev protected_oe property

protected uint siliconRev
Résultat uint