Simpleserial error


#1

Hello,
I have 2 chipwhisperer-lite, I use windows10, 1 chipwhisperer works well but other chipwhisperer when run simpleserial script gives this error:

Debug logging

INFO - Found ChipWhisperer-Lite, Serial Number = 44203120314a33413230322032313032

INFO - SAM3U Firmware version = 0.11 b0

INFO - Detected ChipWhisperer with USB ID ace2 - switching firmware loader

INFO - FPGA programmed

ERROR - For address 0x10=16 Sent data: 505f0808 Read data: 585f0808

ERROR - Value 134766424 out of limits ((129, 134766416)) in parameter "Total Samples"

ERROR - For address 0x10=16 Sent data: 505f0808 Read data: 585f0808

ERROR - Value 134766424 out of limits ((129, 134766416)) in parameter "Total Samples"

INFO - OpenADC Found, Connecting

ERROR - Value 8 out of limits ({‘Digital IO Decode’: 3, ‘Basic (Edge/Level)’: 0, ‘SAD Match’: 2}) in parameter “Trigger Module”

ERROR - Value 9 out of limits ({‘USI-Out’: 4, ‘USI-In’: 8, ‘Serial TXD’: 1, ‘High-Z’: 0, ‘Serial RXD’: 2, ‘GPIO’: 128}) in parameter “Target IO1”

ERROR - Value 10 out of limits ({‘USI-Out’: 4, ‘USI-In’: 8, ‘Serial TXD’: 1, ‘High-Z’: 0, ‘Serial RXD’: 2, ‘GPIO’: 128}) in parameter “Target IO2”

ERROR - Value 8 out of limits ({‘GPIO’: 128, ‘Serial TXD’: 1, ‘High-Z’: 0}) in parameter “Target IO4”

Scripts commands

[‘ChipWhisperer/OpenADC’, ‘NewAE USB (CWLite/CW1200)’, ‘Serial Number’, ‘Auto’],

[‘OpenADC’, ‘Clock Setup’, ‘CLKGEN Settings’, ‘Multiply’, 10],

[‘OpenADC’, ‘Clock Setup’, ‘CLKGEN Settings’, ‘Divide’, 9],

[‘OpenADC’, ‘Trigger Setup’, ‘Mode’, ‘rising edge’],

Python Console

>>> execfile(‘C:/Program Files (x86)/ChipWhisperer/chipwhisperer/software/chipwhisperer/capture/scripts/connect_cwlite_simpleserial.py’)

Traceback (most recent call last):

File "<console>", line 1, in <module>

File "C:/Program Files (x86)/ChipWhisperer/chipwhisperer/software/chipwhisperer/capture/scripts/connect_cwlite_simpleserial.py", line 9, in <module>

scope = cw.scope()

File "C:\Program Files (x86)\ChipWhisperer\chipwhisperer\software\chipwhisperer_init_.py", line 91, in scope

scope.con()

File "C:\Program Files (x86)\ChipWhisperer\chipwhisperer\software\chipwhisperer\capture\scopes\base.py", line 62, in con

if self._con():

File "C:\Program Files (x86)\ChipWhisperer\chipwhisperer\software\chipwhisperer\capture\scopes\OpenADC.py", line 160, in _con

self.advancedSettings = ChipWhispererExtra.ChipWhispererExtra(cwtype, self.scopetype, self.qtadc.sc)

File "C:\Program Files (x86)\ChipWhisperer\chipwhisperer\software\chipwhisperer\capture\scopes\cwhardware\ChipWhispererExtra.py", line 682, in init

self.glitch = ChipWhispererGlitch.ChipWhispererGlitch(cwtype, scope, oa)

File "C:\Program Files (x86)\ChipWhisperer\chipwhisperer\software\chipwhisperer\capture\scopes\cwhardware\ChipWhispererGlitch.py", line 501, in init

self.glitchPR.load(zfile.open("%s-glitchwidth.p" % partialbasename))

File "C:\Program Files (x86)\ChipWhisperer\WinPython-32bit-2.7.13.0Zero\python-2.7.13\lib\zipfile.py", line 964, in open

zinfo = self.getinfo(name)

File "C:\Program Files (x86)\ChipWhisperer\WinPython-32bit-2.7.13.0Zero\python-2.7.13\lib\zipfile.py", line 912, in getinfo

‘There is no item named %r in the archive’ % name)

KeyError: “There is no item named ‘cw1200-glitchwidth.p’ in the archive”

I erased and reprogram the firmware some times with the last firmrware, and verify with bossa than the firmware is correct
Could anyone help me please?
Best regards and sorry for my english
Zigor


#2

Hello,

The error seems to be a problem with the FPGA communication (data error between chips). Do you have the test report that came with the unit? The SN in that error message doesn’t match saved ones here, so I can’t pull it up. If it’s a home-built unit you might need to check soldering of the FPGA and/or SAM3U.

-Colin