Changes

V5:Installing ChipWhisperer/Required Tools - Windows

1,630 bytes removed, 17:38, 16 November 2018
no edit summary
<h4> Python </h4>
For any of the other installation methods, you'll need to have Python 2 3 installed on your computer. If you already a recent version of Python installed (23.75.x+), you can skip this step. Note that Python 32.x will not work with this codebase. There's also a bit of setup that's needed to get other tools and prepare other drivers.
The recommend method of installing Python is to use a distribution called [http://winpython.github.io/ WinPython]. This setup avoids installing Python globally, and includes most of the software you will need. In addition it makes it possible to install 32-bit and 64-bit Python on the same system with minimal problems. This can be very useful as the 64-bit version is handy for doing analysis on large data sets.
To install WinPython 23.7.x, Download a release in the 23.7.x branch from the [http://winpython.github.io/ WinPython] site. It's recommended to use the 32-bit version, but you can also use the 64-bit version. Also, note that the recent releases (like WinPython-32bit-2.7.13.0Zero'''NOT SURE IF STILL TRUE) don't come with any pre-installed packages. We recommend [https://sourceforge.net/projects/winpython/files/WinPython_2.7/2.7.10.3/ WinPython 2.7.10.3]''.
Note that certain drivers (such as the SmartCard driver) ''do not'' work on the 64-bit version. Choose a reasonable location to install this to - note the default is simply in the download directory. Instead it's recommended to find a directory such as <code>c:\WinPython32bit-23.7.101.30</code>, or into your local directory such as <code>c:\Users\yourname\WinPython<code>WinPython32bit-32bit-23.7.101.30</code></code>.
Go to your installation directory for WinPython, and run the shortcut called '''WinPython Command Prompt.exe'''. This will give you a command prompt which is setup to run Python along with associated scripts.
<h4> Python Packages </h4>
There are a number of packages that the ChipWhisperer project uses. You'll need to install these so that the software can run. Note that the PyPi install process should automatically install theseWith your WinPython command prompt, so navigate to where you shouldn't need downloaded ChipWhisperer to manually install everything there, then move to the <code>software/</code> directory.
Run the following commands to get the needed packages:
* '''PyQTGraph:''' <code>pip install pyqtgraph</code>* '''ConfigObj:''' <code>pip install configobj</code> You might also need some extra packages-r requirements. Generally you can avoid them unless you have specific need of the features they enable: '''PyUSB:''' if you're planning to use the ChipWhisperer Capture Rev2 hardware, this is necessary. You can install this using pip:* <code>pip install pyusbtxt</code>* If that fails, try specifying the latest version, like: <code>pip install pyusb==1.0.0b1</code> '''FTD2XX:''' [https://github.com/snmishra/ftd2xx ftd2xx] is required for SASEBO-W, SAKURA-G, and SASEBO-GII Support. To install this package, [https://github.com/snmishra/ftd2xx/archive/master.zip download a copy of the ftd2xx repository] and unzip it somewhere. Then run the following where you unzipped it: <pre>python setup.py install</pre>This package will also require you to install the [http://www.ftdichip.com/Drivers/D2XX.htm FTDI D2XX Drivers]. In the preceeding link simply find the correct driver for your OS Version and install that. '''MYSQL:''' If you want to use the MySQL trace format (not used by default), you'll need to install [https://pypi.python.org/pypi/umysql umysql]: <pre>pip install umysql</pre> '''PYSCARD:''' If planning on using a PS/SC smartcard reader (i.e. standard USB-connected reader), you will need to install [https://sourceforge.net/projects/pyscard/files/pyscard/ pyscard].
<h4> Installing Hardware Drivers </h4>
Approved_users, administrator
366
edits