[Gnuk-users] [PATCH] BUG/MINOR: stlinkv2.py: Use modern python concatenation

Bertrand Jacquin bertrand at jacquin.bzh
Tue Jan 20 20:38:27 UTC 2015


On 20/01/2015 06:53, NIIBE Yutaka wrote:
> 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.

Hi,

I am using pyusb 1.0.0_beta2

-- 
Bertrand



More information about the gnuk-users mailing list