RSeries astromech firmware
|
#include <flash/AVRMega2560Programmer.h>
AVR Programmer.
Communicate with the Mega2560 Arduino-stk500v2-bootloader
Public Types | |
enum | MemType { kFlash, kEEPROM, kLFuse, kFuse, kHFuse, kEFuse, kLock, kCalibration, kSignature } |
enum | BootLoaderType { kUnknown, kAVRISP } |
typedef void(* | ProgressProc) (double percent) |
Public Member Functions | |
AVRMega2560Programmer (uint8_t resetPin, HardwareSerial &port) | |
virtual void | setup () override |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor. More... | |
void | setProgress (ProgressProc progressFunc) |
void | block () |
void | release () |
void | reset () |
bool | startProgramming () |
void | stopProgramming () |
bool | dumpMemory (MemType type) |
uint8_t * | readMemory (MemType type, size_t *size) |
bool | writeHexString (MemType type, const char *hexString, unsigned *lineno=NULL) |
bool | writeMemory (MemType type, bool verify=true) |
bool | hasMemoryChanged (MemType type) |
Public Member Functions inherited from SetupEvent | |
SetupEvent () | |
Default Constructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SetupEvent | |
static void | ready () |
Calls setup() for each created AnimatedEvent subclass. More... | |
typedef void(* AVRMega2560Programmer::ProgressProc) (double percent) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Subclasses must implement this function to perform any necessary setup that cannot happen in the constructor.
Implements SetupEvent.
|
inline |
|
inline |
|
inline |
|
inline |