def METHOD_NAME(child):
    return child.expect([r"_flashwrite_handler\(\): received data: offset=\d+ "
                         r"len=\d+ blockwise=\d+ more=\d+\r\n",
                         r"_flashwrite_handler\(\): finish\r\n"],
                        timeout=UPDATING_TIMEOUT)