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

CW-Capture Tool

1,370 bytes added, 16:15, 15 July 2016
The Basic
## At this point, you may want to flash the desired firmware to the target, using the Programmer option in the Tools' menu.
# Once connected, both the "Scope Settings" and "Target Settings" list of parameters may expand, giving access to more advanced settings. You will have to setup these parameters which depend on what you want to capture. It usually involves setting the following parameters:
## * Trigger Pins## * Target IOn Pins## * Target HS IO-Out## * Clock Setup## * Trigger Setup->Total Sample## * Trigger Setup->Offset## * Trigger Setup->Mode## * Gain## * Relock/reset the DCM in case it is lost.#* TIP: check the content of the "Example Scripts" at chipwhisperer/software/chipwhisperer/capture/scripts if you are lost.
# You may want to check if everything is working properly by clicking in the "Capture 1" button and adjusting the above settings if necessary.
# Once the traces output is working as expected, you can set the "Generic Settings"->"Ackisition Settings"->"Number of Traces" option to the desired amount (i.e. 50-100) and click the "Capture M" button in the toolbar. This time the traces will be saved to the "Trace Manager" if you specified a "Trace Format".
# You can also import, delete, edit or select/deselect the trace segments by opening the "Trace Manager" in the Project menu.
# Don't forget to save the Project after each change in the traces. A "Consolidate" option is also available to move/copy all the trace files to the current project directory. It is useful if you imported existing traces or captured it before creating the project.
Once you Master these procedure and are bored of doing it everytime you open the tool, there are two things you can do about it:
# Create your own script (based on the existing ones) and add it to the chipwhisperer/software/chipwhisperer/capture/scripts or ~/chipwhisperer_projects/chipwhisperer/software/chipwhisperer/capture/scripts directories. You may want to copy/paste the lines in the "Script Commands" window, once the environment is already set, to your script file in order to make it easier.
# Set your capture environment and save the parameter groups using the Save buttons in the top of the Settings tabs. The "Project"->"Save Settings" option will save all the settings at the same time to the settings.cwset file inside your project directory. The settings are NOT loaded automatically when the project is opened. Instead, you should click in the Load button for each settings group that you want to restore. You can have multiple settings profiles using different settings files. The capture tool also records the settings with the traces when they are captured. So if you want to configure the tool to the same environment used in a previous capture, it is possible by loading the setting file save inside the traces directory.
== Tutorials ==
Follow the [[Tutorial B5 Breaking AES (Straightforward)|B5 tutorial]] to learn how to use it with different targets.
218
edits

Navigation menu