This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529: MSP430 USB Firmware Upgrade Example for Python 3

Part Number: MSP430F5529

Hi,

Did anyone tried to port the MSP430 USB Firmware Upgrade Example 3.1 to Python3?

I got the following:

Opening HID device HID device (vID=0x2047, pID=0x0200, v=0x0109); Unknown manufacturer; @input.inf,%hid_device_vendor_defined_range%;HID-compliant vendor-defined device, Path: \\?\hid#vid_2047&pid_0200#8&69096a7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Mass erase...
Download full BSL...
Programming...
Programming: OK
Waiting for BSL...
closing HID device
Closed!...
Opening HID device HID device (vID=0x2047, pID=0x0200, v=0x0109); Unknown manufacturer; @input.inf,%hid_device_vendor_defined_range%;HID-compliant vendor-defined device, Path: \\?\hid#vid_2047&pid_0200#8&69096a7&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "TargetGUI.py", line 290, in selectFile
self.doLoad(file)
File "TargetGUI.py", line 193, in doLoad
self.open_connection()
File "TargetGUI.py", line 272, in open_connection
bsl_version = self.bsl5Target.BSL_VERSION()
File "C:\Users\Itay-Home\AppData\Roaming\Python\Python37\site-packages\msp430\bsl5\bsl5.py", line 115, in BSL_VERSION
answer = self.bsl(BSL_VERSION,''.encode(), expect=4)
File "C:\Users\Itay-Home\AppData\Roaming\Python\Python37\site-packages\msp430\bsl5\hid_1.py", line 70, in bsl
self.write_report(txdata)
File "C:\Users\Itay-Home\AppData\Roaming\Python\Python37\site-packages\msp430\bsl5\hid_1.py", line 145, in write_report
self.hid_device.send_output_report([ctypes.c_ubyte(x) for x in data])
File "C:\Users\Itay-Home\AppData\Roaming\Python\Python37\site-packages\pywinusb\hid\core.py", line 559, in send_output_report
raise HIDError("Write timed out")
pywinusb.hid.helpers.HIDError: Write timed out

Any ideas?

Thanks,

Itay

**Attention** This is a public forum