DUNE: Uniform Navigational Environment
2019.02.1
|
Public Member Functions | |
Bootloader (Interface *itf, bool verbose=false) | |
~Bootloader (void) | |
void | program (const std::string &file_name) |
DUNE::Hardware::UCTK::Bootloader::Bootloader | ( | Interface * | itf, |
bool | verbose = false |
||
) |
DUNE::Hardware::UCTK::Bootloader::~Bootloader | ( | void | ) |
void DUNE::Hardware::UCTK::Bootloader::program | ( | const std::string & | file_name | ) |
References DUNE::Algorithms::CRC8::get(), DUNE::Hardware::UCTK::Frame::getPayload(), DUNE::Hardware::IntelHEX::getTable(), DUNE::Hardware::UCTK::FirmwareInfo::major, DUNE::Hardware::UCTK::FirmwareInfo::minor, DUNE::Hardware::UCTK::FirmwareInfo::name, DUNE::Hardware::UCTK::FirmwareInfo::patch, DUNE::Hardware::UCTK::PKT_ID_BOOT_FLASH_FILL, DUNE::Hardware::UCTK::PKT_ID_BOOT_FLASH_INFO, DUNE::Hardware::UCTK::PKT_ID_BOOT_FLASH_WRITE, DUNE::Hardware::UCTK::PKT_ID_BOOT_UPGRADE_END, DUNE::Hardware::UCTK::PKT_ID_BOOT_UPGRADE_START, DUNE::Algorithms::CRC8::putArray(), DUNE::Hardware::UCTK::Interface::sendFrame(), DUNE::Hardware::UCTK::Frame::set(), DUNE::Hardware::UCTK::Frame::setId(), and DUNE::Hardware::UCTK::Frame::setPayloadSize().