From 0db361d49da04eef1f4dd77996450d54e900e083 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 9 May 2011 22:02:28 -0300 Subject: [PATCH] atusb/fw/Makefile (dfu): pass transfer size to hide DFU non-compliance We currently don't provide the DFU Functional Descriptor, which modern versions of dfu-util request to determine the transfer size. Luckily, they don't do this if the transfer size is given on the command line. --- atusb/fw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atusb/fw/Makefile b/atusb/fw/Makefile index 96cb1d6..b3bc593 100644 --- a/atusb/fw/Makefile +++ b/atusb/fw/Makefile @@ -144,7 +144,7 @@ prog-read: -U flash:r:mcu.bin:r dfu: $(NAME).bin - dfu-util -d 20b7:1540 -D $(NAME).bin + dfu-util -d 20b7:1540 -t 64 -D $(NAME).bin on: ssh $(HOST) poke 0x10010318 4