Re: [U-Boot] [PATCH 0/2] Series to clean handle_XXX() in f_dfu.c

2017-02-21 Thread Lukasz Majewski
Hi Patrick, > > 1/ DFU_GETSTATE response error > > when the DFU device state is requested using libusb with DFU_GETSTATUS > a error is generated : LIBUSB_ERROR_IO > > I see the issue with my programmer tools based on dfu with libusb > and I don't understood the actual code in U-Boot > (req->act

[U-Boot] [PATCH 0/2] Series to clean handle_XXX() in f_dfu.c

2016-12-16 Thread Patrick Delaunay
1/ DFU_GETSTATE response error when the DFU device state is requested using libusb with DFU_GETSTATUS a error is generated : LIBUSB_ERROR_IO I see the issue with my programmer tools based on dfu with libusb and I don't understood the actual code in U-Boot (req->actual is updated but not req->len