微處理器 - TI CC2540 - 解決Error occured: libusb_control_transfer (out) failed, Pipe error問題



參考資訊:
http://hfdb.io/cpumcus/ti/cc254x.html
https://sourceforge.net/p/cctool/discussion/general/thread/8f70cec7/?limit=25

問題如下:

Programmer: CC Debugger
Target: CC2540
Error occured: libusb_control_transfer (out) failed, Pipe error

解法如下:

$ vim src/programmer/cc_programmer.cpp +281
    USB_SET_CHIP_INFO, 1, 0, &command[0], command.size());