payload = open("custom_da.bin", "rb").read() dev.ctrl_transfer(bmRequestType=0x40, bRequest=0x07, wValue=0, wIndex=0, data_or_wLength=payload)