Hi,
Just got my uarm, followed the installation instructions for osx. Can control it via the uarm_client.app.
However, when I tried pyuarm 1.3.29 I get “unsupported firmware version”.
Trying to update via uarm-firmware fails. Does anyone have some suggestions? Is it wise to use avrdude directly?
Some terminal output:
[iMac:~/Desktop] hwa% uarm-firmware -h
usage: uarm-firmware [-h] [-d] [-f [FORCE]] [-c [CHECK]] [-p [PORT]] [-u]
optional arguments:
-h, --help show this help message and exit
-d, --download download firmware into firmware.hex
-f [FORCE], --force [FORCE]
without firmware path, flash default firmware.hex,
with firmware path, flash the firmware, eg. -f
Blink.ino.hex
-c [CHECK], --check [CHECK]
remote - lateset firmware release version, local -
read uArm firmware version
-p [PORT], --port [PORT]
provide port number
-u, --upgrade Upgrade firmware if remote version newer than local
version
[iMac:~/Desktop] hwa% uarm-firmware -c
Reading Firmware version from uArm...
Initialize uArm, port is /dev/cu.usbserial-AI041DRW...
Firmware Version: 1.5.8
Traceback (most recent call last):
File "/usr/local/bin/uarm-firmware", line 9, in <module>
load_entry_point('pyuarm==1.3.29', 'console_scripts', 'uarm-firmware')()
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 304, in main
helper.get_uarm_version()
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 185, in get_uarm_version
uarm = pyuarm.uArm(port=self.uarm_port)
File "/usr/local/lib/python2.7/site-packages/pyuarm/pyuarm.py", line 57, in __init__
raise UnSupportedFirmwareVersionException('Unsupported firmware version: {0}, Please flash the support version {1}'.format(self.firmware_version, support_versions))
pyuarm.util.UnSupportedFirmwareVersionException: "Unsupported firmware version: 1.5.8, Please flash the support version ['1.7']"
[iMac:~/Desktop] hwa% uarm-firmware -d
Downloading firmware.hex...
Downloading: 100% [##########################################################################] Time: 0:00:02 23.14 kB/s
[iMac:~/Desktop] hwa% uarm-firmware -u
Fetching the latest firmware version...
Reading Firmware version from uArm...
Initialize uArm, port is /dev/cu.usbserial-AI041DRW...
Firmware Version: 1.5.8
Traceback (most recent call last):
File "/usr/local/bin/uarm-firmware", line 9, in <module>
load_entry_point('pyuarm==1.3.29', 'console_scripts', 'uarm-firmware')()
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 314, in main
helper.upgrade()
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 201, in upgrade
if self.compare_version():
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 196, in compare_version
if LooseVersion(self.get_uarm_version()) < LooseVersion(get_latest_version()):
File "/usr/local/lib/python2.7/site-packages/pyuarm/tools/firmware_helper.py", line 185, in get_uarm_version
uarm = pyuarm.uArm(port=self.uarm_port)
File "/usr/local/lib/python2.7/site-packages/pyuarm/pyuarm.py", line 57, in __init__
raise UnSupportedFirmwareVersionException('Unsupported firmware version: {0}, Please flash the support version {1}'.format(self.firmware_version, support_versions))
pyuarm.util.UnSupportedFirmwareVersionException: "Unsupported firmware version: 1.5.8, Please flash the support version ['1.7']"
[iMac:~/Desktop] hwa% avrdude
Usage: avrdude [options]
Options: