)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"733e97e8a1c7510e96a38ae17d4544a2eb911fc2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"128339aa_7a33e65e","updated":"2023-04-10 13:24:13.000000000","message":"Hello Gao Weijie,\nthanks for this patch set, but I\u0027m afraid we cannot merge them in OpenOCD due to the incompatibility between GPLv2 license of OpenOCD and proprietary license of D2XX library.\nWe already had such discussion 10+ years ago in\nhttps://sourceforge.net/p/openocd/mailman/openocd-devel/thread/4A44F4FA.3070703@lieron.be/\nand I think the situation is unfortunately not changed yet.\nI\u0027m not a Windows user, I\u0027m not aware of any easy way to switch driver back and forth between libusb and D2XX.","commit_id":"d5e2eb80571ae23b0de68fd40a5f79c1c9632011"},{"author":{"_account_id":1001853,"name":"Weijie Gao","email":"hackpascal@gmail.com","username":"hackpascal"},"change_message_id":"368cb0cf12696f712be0505440c60f1cba920cb6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"ba95fb11_e8989071","in_reply_to":"128339aa_7a33e65e","updated":"2023-04-10 14:36:52.000000000","message":"OK. So does OpenOCD accepts reverse engineering project? Maybe I can do reverse engineering on ftd2xx.dll for a clean room version.","commit_id":"d5e2eb80571ae23b0de68fd40a5f79c1c9632011"},{"author":{"_account_id":1001853,"name":"Weijie Gao","email":"hackpascal@gmail.com","username":"hackpascal"},"change_message_id":"fb01ada6ab5aa2c9cba3baec764eaf0b5a87175d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"1488dd4b_8815de0f","in_reply_to":"5b171c90_0cd96efd","updated":"2023-04-10 16:10:27.000000000","message":"Most device drivers in Windows provides the ability for device read/write/ioctl.\nThe device must be opened first to get a handle (similar to the fd in linux), and all further operations are referred to the handle, and so does the D2XX driver.\n\nCurrently it\u0027s not possible to rewrite the D2XX kernel driver (ftdibus.sys). But it\u0027s possible to use Windows API to access the device without the help of ftd2xx.dll which is a userspace library communicating with FTDI\u0027s devices.\n\nSo my idea is to get rid of the ftd2xx.dll, no static nor dynamic linking, and re-implement the functions provided by ftd2xx.dll with my own code.\n\nSince kernel space and user space are isolated, this worth a try. If this is still not enough for the GPL license, there will be no way to support it anymore.","commit_id":"d5e2eb80571ae23b0de68fd40a5f79c1c9632011"},{"author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"change_message_id":"f80762886f4026bdf0aac6e574c725a7630980f7","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"5b171c90_0cd96efd","in_reply_to":"ba95fb11_e8989071","updated":"2023-04-10 15:31:16.000000000","message":"I\u0027m not a lawyer. As far as I know reverse engineering is allowed in some country and it\u0027s strictly forbidden in others, with all the possible intermediate levels in the middle.\nSome part of OpenOCD is written thanks to reverse engineering, so no problem to integrate such type of code.\nBut before going ahead, how do you plan to proceed?\nI\u0027m also not a Windows user nor expert; my understanding is that with D2XX driver installed, it will take control of the FTDI device and libusb (winusb) will fail to use it. User has to change the driver for the FTDI device through Control-Panel.\nDo you see any other solution?","commit_id":"d5e2eb80571ae23b0de68fd40a5f79c1c9632011"}]}
