Python connection issue with most updated firmware and pyuarm

uArm Serial No.: (the No. at the bottom of each uArm reading “UARM-XXXXXXXXXX”)
uARM Metal
Firmware Version: 2.2.1
Operation System: Win 10
uArm Controlling Method: Python 2.7

Hello,

I just flashed my firmware today to 2.2.1, and pip installed pyuarm, but when I try to run following in python, I got firmware issue. Any idea how it can be fixed?

Thanks,

Wayne

import pyuarm
uarm = pyuarm.get_uarm()

Initialize uArm, port is COM3…

UnknownFirmwareException Traceback (most recent call last)
in ()
----> 1 uarm = pyuarm.get_uarm()

C:\Users\WW\AppData\Local\Enthought\Canopy\User\lib\site-packages\pyuarm\tools\list_uarms.pyc in get_uarm()
50 ports = uarm_ports()
51 if len(ports) > 0:
—> 52 return pyuarm.uArm(port=ports[0])
53 else:
54 print(“There is no uArm port available”)

C:\Users\WW\AppData\Local\Enthought\Canopy\User\lib\site-packages\pyuarm\pyuarm.pyc in init(self, port, debug, timeout)
52 except TypeError as e:
53 raise UnknownFirmwareException(
—> 54 “Unknown Firmware Version, Please use ‘python -m pyuarm.tools.firmware_helper’ upgrade your firmware”)
55
56 for v in support_versions:

UnknownFirmwareException: “Unknown Firmware Version, Please use ‘python -m pyuarm.tools.firmware_helper’ upgrade your firmware”


UFACTORY Website:
www.ufactory.cc
uArm User Facebook Group
Contact Us:
English Channel
中文通道

Hi,

Sorry for the late reply because of the Chinese New Year.

Please check the version of the pyuarm you’re using:

>>> import pyuarm
>>> pyuarm.__version__
'2.2.5.3'

2.2.5.3 is the latest version of pyuarm. If you’re not using this version, please update pyuarm by typing:
pip install pyuarm --no-cache-dir