Open ADC Error when installing Chip Whisperer.

I have both tried installations of the video on youtube demonstrating the WinPython 2.7.x.x(64 first,then 32 2nd attempt) edition as well as the specific version of chipwhisperer. I then continued to try to download the lastest versions of WinPython and the ChipWhisperer install, but all my problems still occur. Openadc doesn’t contain anything in the folder. When installing all as instructed such as the graph and pip installl all went well , but when using the cmd to use the openadc and get to the Chip Analyzer , I got an error about “openadc_ExtendedParameters”.
Has this happened to anyone? Does anyone know how to fix this?

Hi there,

It’s okay that the OpenADC folder is empty. This folder only has some files for developing firmware for the ChipWhisperer’s FPGA, and you don’t need them unless you’re going to develop your own low-level code.

Can you post the full error message that you got? If there’s a window with a Python stack trace I’d like to see all of that info so we can figure out if there’s a bug here.

Will do. Will this matter if I choose to do this with the latest versions of winpython 64 bit and chipwhisperer?

The latest version of ChipWhisperer and 64-bit WinPython should be good . Be careful with the latest copies of WinPython - they now only release a “WinPython-Zero”, which means that it doesn’t come with any of the external packages (like NumPy, SciPy, etc), and some of these are hard to install on Windows. I recommend WinPython 2.7.10.3.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install pyqtgraph
Requirement already satisfied (use --upgrade to upgrade): pyqtgraph in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): numpy in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages (from pyqtgraph)
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install configobj
Collecting configobj
Requirement already satisfied (use --upgrade to upgrade): six in c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages (from configobj)
Installing collected packages: configobj
Successfully installed configobj-5.0.6
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install pyusb
Collecting pyusb
Installing collected packages: pyusb
Successfully installed pyusb-1.0.0
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>cd c:\chipwhisperer\openadc\controlsw\python
The system cannot find the path specified.

C:\WinPython-32bit-2.7.10.3\python-2.7.10>cd c:\chipwhisperer\openadc

c:\chipwhisperer\openadc> cd c:\chipwhisperer\software

c:\chipwhisperer\software>python setup.py develop
running develop
running egg_info
creating chipwhisperer.egg-info
writing requirements to chipwhisperer.egg-info\requires.txt
writing chipwhisperer.egg-info\PKG-INFO
writing top-level names to chipwhisperer.egg-info\top_level.txt
writing dependency_links to chipwhisperer.egg-info\dependency_links.txt
writing manifest file ‘chipwhisperer.egg-info\SOURCES.txt’
reading manifest file ‘chipwhisperer.egg-info\SOURCES.txt’
writing manifest file ‘chipwhisperer.egg-info\SOURCES.txt’
running build_ext
Creating c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages\chipwhisperer.egg-link (link to .)
Adding chipwhisperer 3.5.3 to easy-install.pth file
Installing chipwhisperer-ana script to C:\WinPython-32bit-2.7.10.3\python-2.7.10\Scripts
Installing chipwhisperer-cap script to C:\WinPython-32bit-2.7.10.3\python-2.7.10\Scripts

Installed c:\chipwhisperer\software
Processing dependencies for chipwhisperer==3.5.3
Searching for pyusb==1.0.0
Best match: pyusb 1.0.0
Adding pyusb 1.0.0 to easy-install.pth file

Using c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Searching for docutils==0.12
Best match: docutils 0.12
Adding docutils 0.12 to easy-install.pth file

Using c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Searching for pyserial==2.7
Best match: pyserial 2.7
Adding pyserial 2.7 to easy-install.pth file

Using c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Searching for configobj==5.0.6
Best match: configobj 5.0.6
Adding configobj 5.0.6 to easy-install.pth file

Using c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Searching for six==1.10.0
Best match: six 1.10.0
Adding six 1.10.0 to easy-install.pth file

Using c:\winpython-32bit-2.7.10.3\python-2.7.10\lib\site-packages
Finished processing dependencies for chipwhisperer==3.5.3

c:\chipwhisperer\software>cd chipwhisperer\analyzer

c:\chipwhisperer\software\chipwhisperer\analyzer>dir
Volume in drive C is Local Disk
Volume Serial Number is BCB9-AA21

Directory of c:\chipwhisperer\software\chipwhisperer\analyzer

08/18/2017 04:49 PM .
08/18/2017 04:49 PM …
08/18/2017 04:49 PM attacks
08/18/2017 04:49 PM beta
08/18/2017 04:49 PM models
08/18/2017 04:49 PM preprocessing
08/18/2017 04:49 PM scripts
08/18/2017 04:49 PM ui
08/18/2017 04:49 PM utils
08/18/2017 04:49 PM 0 init.py
1 File(s) 0 bytes
9 Dir(s) 20,656,222,208 bytes free

c:\chipwhisperer\software\chipwhisperer\analyzer>pip install pyside
Collecting pyside
Downloading PySide-1.2.4-cp27-none-win32.whl (41.0MB)
100% |################################| 41.0MB 9.5kB/s
Installing collected packages: pyside
Successfully installed pyside-1.2.4
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

c:\chipwhisperer\software\chipwhisperer\analyzer>python ChipWhispererAnalyzer.py
python: can’t open file ‘ChipWhispererAnalyzer.py’: [Errno 2] No such file or directory

c:\chipwhisperer\software\chipwhisperer\analyzer>C:\WinPython-32bit-2.7.10.3\python-2.7.10>pip install pyqtgraph
‘C:\WinPython-32bit-2.7.10.3\python-2.7.10’ is not recognized as an internal or external command,
operable program or batch file.

OK - it looks like all the installation worked but you just couldn’t open the program at the end. Try running it from the path chipwhisperer\software\CWCapture.pyw (ie: python chipwhisperer\software\CWCapture.pyw).