def METHOD_NAME(self):
    self.logger.info("Flashing bootloader")
    cp = CubeProgrammer(self._getCubeParams())
    cp.flashBin("0x08000000", self.args.bootloader)
    self.logger.info("Flashing firmware")
    cp.flashBin("0x08008000", self.args.firmware)
    cp.resetTarget()
    self.logger.info("Complete")
    return 0