C# Class ESP8266DebugPackage.ESP8266BootloaderClient

Exibir arquivo Open project: sysprogs/BSPTools Class Usage Examples

Public Properties

Property Type Description
_ResetSequence string

Public Methods

Method Description
ESP8266BootloaderClient ( SerialPortStream port, int resetDelay, string resetSequence ) : System
EndRAM ( int entry ) : void
EraseFLASH ( ) : void
ProgramFLASH ( uint address, byte data ) : void
RunProgram ( bool usesDIO, bool reboot = false ) : void
StartFLASH ( int offset, int sizeInBytes ) : void
StartRAM ( int size, int blocks, int blocksize, int offset ) : void
Sync ( ) : void
WriteFLASHBlock ( uint baseAddr, byte data, int offset, int length, int seq ) : void

Private Methods

Method Description
ComputeChecksum ( byte data, int offset, int length ) : byte
EscapeAndSend ( byte cmdBlock ) : void
PackIntegers ( ) : byte[]
ReceiveAndUnescape ( byte data, int offset, int length ) : int
RunCommand ( Command op, byte data = null, int chk ) : byte[]>.KeyValuePair

Method Details

ESP8266BootloaderClient() public method

public ESP8266BootloaderClient ( SerialPortStream port, int resetDelay, string resetSequence ) : System
port SerialPortStream
resetDelay int
resetSequence string
return System

EndRAM() public method

public EndRAM ( int entry ) : void
entry int
return void

EraseFLASH() public method

public EraseFLASH ( ) : void
return void

ProgramFLASH() public method

public ProgramFLASH ( uint address, byte data ) : void
address uint
data byte
return void

RunProgram() public method

public RunProgram ( bool usesDIO, bool reboot = false ) : void
usesDIO bool
reboot bool
return void

StartFLASH() public method

public StartFLASH ( int offset, int sizeInBytes ) : void
offset int
sizeInBytes int
return void

StartRAM() public method

public StartRAM ( int size, int blocks, int blocksize, int offset ) : void
size int
blocks int
blocksize int
offset int
return void

Sync() public method

public Sync ( ) : void
return void

WriteFLASHBlock() public method

public WriteFLASHBlock ( uint baseAddr, byte data, int offset, int length, int seq ) : void
baseAddr uint
data byte
offset int
length int
seq int
return void

Property Details

_ResetSequence public_oe property

public string _ResetSequence
return string