Commit Graph

20 Commits

Author SHA1 Message Date
Gwenhael Goavec 0182d592be dfu,ftdipp_mpsse: sprintf -> snprintf 2024-02-20 20:59:13 +01:00
Gwenhael Goavec-Merou 3165552994 DFU: fix code to accept tinyDFU implementation (where not altsettings have an DFU descriptor) 2024-02-15 06:45:13 +01:00
Alexey Starikovskiy 9e91c31e31 Fixes for PVS errors 2023-09-01 22:30:24 +03:00
Alexey Starikovskiy 1908ccd83b make output buffer const 2023-08-29 19:51:41 +03:00
Gwenhael Goavec-Merou 702ca39300 stop using get_state and promote the use of get_status 2022-06-18 22:50:55 +02:00
Gwenhael Goavec-Merou 780ea66384 DFU: fix potential leak 2022-06-18 18:47:27 +02:00
Gwenhael Goavec-Merou e21a251af3 DFU: fix detect -> bypass bitstream 2022-06-18 18:39:58 +02:00
Gwenhael Goavec-Merou 82c17f6a7d dfu: display error code 2022-06-14 23:14:01 +02:00
Gwenhael Goavec-Merou 4d69675041 dfu: check iProduct and iInterface -> set to a default string when empty 2022-06-14 23:09:43 +02:00
Gwenhael Goavec-Merou 2c5a162cc4 dfu: add debug level, only print device open fails in debug mode 2021-12-24 15:48:16 +01:00
Gwenhael Goavec-Merou 310d21ebf5 dfu: when libusb_open fails: skip device instead of error and stop 2021-12-24 10:26:31 +01:00
Gwenhael Goavec-Merou 35efeb3eee dfu: check libusb_open return value in searchDFUDevices 2021-12-23 14:08:54 +01:00
Gwenhael Goavec-Merou 3244f2e92a dfu: fix memory leak 2021-12-23 10:29:47 +01:00
Gwenhael Goavec-Merou 0979194da2 dfu: force USB reset when download end in DFUIdle state 2021-12-23 07:22:06 +01:00
Gwenhael Goavec-Merou e182a53659 dfu: don't check filename -> let configBitstreamParser to do check 2021-12-07 14:17:09 +01:00
Gwenhael Goavec-Merou 2adf4d585e dfu: throw exception when vid & pid == 0; change altsetting type 2021-10-03 18:33:07 +02:00
Gwenhael Goavec-Merou ea613fa97a dfu/main: add args to select altsetting and add filter to select corresponding interface 2021-10-03 12:39:06 +02:00
Gwenhael Goavec-Merou cbe2bf5494 dfu: try to open dfu vid/pid, next board vid/pid. without vid/pid download is forbidden. Simplify detection in not enumerate mode. Display iProduct 2021-07-17 08:36:13 +02:00
Gwenhael Goavec-Merou 8f95303daf move to APACHE-2.0 license 2021-06-26 15:24:07 +02:00
Gwenhael Goavec-Merou 827767b99f add proof of concept / draft for DFU protocol. Add orangeCrab in DFU mode 2021-06-20 10:26:05 +02:00