As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

CW1200 ChipWhisperer-Pro

531 bytes removed, 18:14, 1 May 2018
no edit summary
Check out a [https://youtu.be/qS6JwX4SBOI sneak peek of the CW-Pro].
'''(TODO[[File: picture of CW-Pro)'''cwpro_invisible.png|500x500px]]{{TOC|limit=3}}
== Connection Quick-Start == <ol><li>Follow the [[Installing ChipWhisperer]] instructions for the ChipWhisperer software and its prerequisites.</li><li>Connect ChipWhisperer-Lite, install USB Drivers:<dl><dt>Windows:</dt><dd><ul><li>Plug micro-USB cable into ChipWhisperer-Lite</li><li>If the &quot;New Hardware Found&quot; wizard doesn't prompt you for drivers, go to the control panel and find the &quot;ChipWhisperer-Pro&quot; device, and select "Update Drivers".</li><li>You can find drivers in <code>c:\chipwhisperer\hardware\capture\chipwhisperer-cw1200\</code>. You will likely need to extract them from the <code>cw1200_usbdriver.zip</code> file. If so simply extract them somewhere (i.e. your desktop), and then point the new hardware found wizard to that location.</li></ul></dd><dt>Linux:</dt><dd><ul><li><p>Driver installation is not required, but if you do not update the 'udev' system, you will be unable to run ChipWhisperer-Capture as a regular user. To update the udev system, first make sure the ChipWhisperer-Lite is Make a file called <code>/etc/udev/rules.d/99-cwlite.rules</code> . The contents of this file should be:</p><pre># allow users to claim the deviceSUBSYSTEM==&quot;usb&quot;, ATTRS{idVendor}==&quot;2b3e&quot;, ATTRS{idProduct}==&quot;ace3&quot;, MODE=&quot;0664&quot;, GROUP=&quot;plugdev&quot;</pre></li><li><p>Add your username to the plugdev group:</p><pre>$ sudo usermod -a -G plugdev YOUR-USERNAME</pre></li><li><p>And reset the udev system:</p><pre>$ sudo udevadm control --reload-rules</pre></li><li>Finally log out &amp; in again for the group change to take effect.</li><li>Connect the USB-A cable, and DC power cable</li></ul></dd><dt>MAC:</dt><dd><ul><li>No special installation required - must ensure you have installed libusb via homebrew (see instructions at [[MacOSX_Installation]]).</li></ul></dd></dl></li><li><p>To check for a successful installation Run ChipWhisperer-Capture. This can be done from one of three ways:</p><blockquote><ul><li>Double-click on <code>CWCapture.pyw</code> in the <code>chipwhisperer\software</code> folder. You must have installed Python into your path for this to work.</li><li>run <code>python CWCapture.pyw</code> from the <code>chipwhisperer\software</code> folder using a command prompt with Python in the path.</li><li>run <code>python CWCaptureGUI.py</code> from the <code>chipwhisperer\software\chipwhisperer\capture\ui</code> directory.</li></ul> <p>The last option is the most reliable, in that it should always work on all platforms. If it doesn't start look for possible missing modules or other useful errors.</p></blockquote><li>Your ChipWhisperer-Lite is now connected. See the Tutorial B-1 for details of the demo attack.</li></li></ol>  == Power Supply ==
The ChipWhisperer Pro can only be powered through its 5 V jack. It cannot be powered through the USB port - internally, there are no connections to the USB port's 5 V rail. This limitation is primarily due to the high current draw of the Pro: while powering the touchscreen running and an external target, it would be easy to exceed the USB current limit, causing all sorts of issues.
If you're using the USB power cable, it is recommended to use a separate power supply to power any external target boards.
== Basic Usage ==
The basic features on the Pro are exactly the same as the ChipWhisperer Lite. This means that any scripts and tutorials made for the Lite will work on the Pro, too: the connectors and pinouts are exactly the same.
{{CollapsibleSection
|intro = = == AVR Programmer ===
|content= CW1173_ChipWhisperer-Lite/AVR Programmer}}
{{CollapsibleSection
|intro = = == XMEGA Programmer ===
|content= CW1173_ChipWhisperer-Lite/XMEGA Programmer}}
{{CollapsibleSection
|intro = = == Using Glitch Port ===
|content= CW1173_ChipWhisperer-Lite/Glitch Port}}
{{CollapsibleSection
|intro = = == Using Measure Port ===
|content= CW1173_ChipWhisperer-Lite/Measure Port}}
{{CollapsibleSection
|intro = = == 20-Pin Connector ===
|content= CW1173_ChipWhisperer-Lite/20-Pin Connector}}
{{CollapsibleSection
|intro = = == Upgrading SAM3U Firmware ===
|content= CW1173_ChipWhisperer-Lite/Upgrading SAM3U Firmware}}
== Advanced Features ==
{{CollapsibleSection
|intro = = == Streaming Mode ===
|content= CW1200 ChipWhisperer-Pro/Streaming Mode}}
{{CollapsibleSection
|intro = = == Trigger Module ===
|content= CW1200 ChipWhisperer-Pro/Trigger Module}}
{{CollapsibleSection
|intro = = == SMA I/O ===
|content= CW1200 ChipWhisperer-Pro/SMA I/O}}
{{CollapsibleSection|intro = === Touchscreen ===The touchscreen on the |content= CW1200 ChipWhisperer -Pro shows various details about its status and current settings./Touchscreen}}
== Screen 1: Clock Hardware ==The clock screen shows the status of the CLKGEN and ADC clocks along with the frequency counter. {{Template:Hardware}}
'''TODO: picture'''* '''CLKGEN''': Current frequency of CLKGEN clock in kHz** '''Source''': Input to CLKGEN DCM. Could be system clock or EXTCLK** '''DCM''': Lock status of CLKGEN DCM** '''Reset DCM''': Reset the CLKGEN output. Useful if clock has locked at the wrong frequency* '''ADC Clock''': Current ADC sampling rate in kHz** '''Source''': Input to ADC DCM. Could be related to CLKGEN or EXTCLK** '''DCM''': Lock status of ADC DCM** '''Reset DCM''': Reset the ADC clock output* '''Frequency Counter''': Current frequency measured by the frequency counter** '''Source''': Input to frequency counter. Could be either EXTCLK or CLKGEN == Screen 2: Routing ==The routing screen shows the status of the various I/O pins. '''TODO: picture'''* '''Aux Output''': Status of the aux SMA connections. Could be used as trigger input/output, glitch output, and/or clock output* '''IO Pins''': Status of each of the IO pins on the 20 pin connector. Possible values depend on pin* '''Target Power State''': Status of the 3.3 V output. Can be toggled here to reset target* '''Target HS IO-Out''': Signal connected to high-speed output (HS2). Could be CLKGEN, glitch module, or disabled == Screen 3: Trigger ==The trigger screen shows the current settings for the trigger module and the ADC capture settings. '''TODO: picture'''* '''Trigger Pins''': Whether each trigger input is enabled. Active inputs are highlighted** '''Mode''': Trigger combination method. Could be AND, OR, or NAND* '''Trigger Source''': The trigger type in use. Active trigger module is highlighted** '''State''': The current output level of the trigger module* '''Trigger Mode''': The ADC trigger type. Active mode is highlighted* '''Samples''':** '''Delay''': Current ADC offset. This is the number of samples to wait after trigger before recording begins** '''Pre''': Number of pre-trigger samples to be saved** '''Time''': Delay, but converted into a time** '''Total''': Number of samples to be recorded in total* '''ADC gain''':** '''Mode''': Amplification type. Either low or high** '''Setting''': Low noise amplifier gain level == Screen 4: Glitch ==The glitch screen shows the current settings for the glitch module. '''TODO: picture'''* '''Clock Src''': Input to the glitch module's clock. Active clock is highlighted** '''DCM''': Lock status of the glitch module's DCM* '''Glitch Setup''':** '''Width''': Duty cycle of glitch pulse, as a fraction of one period** '''Fine''': Adjustment on width** '''Offset''': Distance between clock rising edge and glitch pulse rising edge, as a fraction of one period** '''Fine''': Adjustment on offset* '''View''': Schematic of glitch clock. Shows regular clock above (blue) and glitch module output below (black)* '''Trigger Src''': Input for glitch module. Active source is highlighted* '''Trigger Setup''':** '''Trigger''': Cause a manual trigger. Has no effect unless trigger source is set to Manual** '''Offset''': Number of cycles to wait before starting glitch pulses** '''Repeat''': Number of consecutive pulses to generate* '''Output Status'''** '''VCC''': Status of glitching MOSFETs. Shows warning sign if VCC glitching is enabled** '''Cnt''': Total number of glitch pulses generated  {{Template[[Category:Capture Hardware}}]]

Navigation menu