def METHOD_NAME(self):
    if not self.find_device():
        self.reset = True
        print('Please reset your board to switch to DFU mode...')
        while not self.find_device():
            time.sleep(0.1)