[Gnuk-users] [PATCH] BUG/MINOR: stlinkv2.py: Use modern python concatenation
NIIBE Yutaka
gniibe at fsij.org
Tue Jan 20 06:53:01 UTC 2015
On 01/18/2015 09:36 AM, Bertrand Jacquin wrote:
> The following error can be observed when VERIFY is in progress:
>
> $ python2.7 ./tool/stlinkv2.py ./src/build/gnuk.bin
> ST-Link/V2 version info: 2 17 4
> Change ST-Link/V2 mode 0001 -> 0001
> CORE: 1ba01477, CHIP_ID: 20036410
> Flash ROM read protection: off
> Option bytes: ffff5aa5
> SPI Flash ROM ID: bf254a
> WRITE
> VERIFY
> TypeError('can only concatenate tuple (not "array.array") to tuple',)
Thank you for your patch. But, are you using PyUSB 0.4.3? I tried to
fix some issues for PyUSB 1.0 (beta), but it's not finished yet.
IIRC, the error above is from incompatibility of PyUSB 0.4.3 and PyUSB
1.0.
--
More information about the gnuk-users
mailing list