![]() |
Kinetis Bootloader Host
2.0.0
Host Tools for Kinetis devices
|
Represents the host bootloader. More...
#include <Bootloader.h>
Inheritance diagram for blfwk::Bootloader:
Collaboration diagram for blfwk::Bootloader:Public Member Functions | |
| Bootloader () | |
| Default Constructor for Simulator. | |
| Bootloader (const Peripheral::PeripheralConfigData &config) | |
| Constructor. | |
| virtual | ~Bootloader () |
| Destructor. | |
| void | inject (Command &cmd) |
| Inject a command into the bootloader. More... | |
| void | flush () |
| Flush state. | |
| void | execute (uint32_t entry_point, uint32_t param=0, uint32_t stack_pointer=0) |
| Execute the execute command. | |
| void | reset () |
| Execute the reset command. | |
| standard_version_t | getVersion () |
| Execute the get-property(current-version) command. | |
| uint32_t | getSecurityState () |
| Execute the get-property(flash-security-state) command. | |
| void | ping (int retries, unsigned int delay, int comSpeed) |
| Send a ping if applicable. | |
Accessors. | |
| Packetizer * | getPacketizer () const |
| Get the host packetizer. | |
Protected Attributes | |
| Packetizer * | m_hostPacketizer |
| Packet interface to send commands on. | |
| FileLogger * | m_logger |
| Singleton logger instance. | |
Represents the host bootloader.
This class provides a convenient way to access other bootloader framework objects.
|
inline |
Inject a command into the bootloader.
| cmd | The command to send |