Changes

Running Multiple ChipWhisperers

1,500 bytes added, 21:06, 6 November 2018
Created page with "The ChipWhisperer hardware/software supports running as many capture boards as you have USB ports. This page documents how to connect to multiple devices, which differs from t..."
The ChipWhisperer hardware/software supports running as many capture boards as you have USB ports. This page documents how to connect to multiple devices, which differs from the usual way of connecting to a ChipWhisperer (both inside and outside of the GUI).

'''NOTE: Connecting to multiple devices is not yet supported on CW5. Either CW3 or CW4 must be used instead.'''

== Multiple Devices in the GUI ==
Note that using Capture requires one instance per device connected.
# Under ''Generic Settings'', select "ChipWhisperer/OpenADC" as ''Scope Module'' and "Simple Serial" as ''Target Module'': [[File:Mult Dev 1.png|frameless|747x747px]]
# Hit the "Master: DIS" button. A warning window should pop up. Close this popup.
# Under the ''Scope Settings>NewAE USB (CWLite/CW1200)>Serial Number'' drop down menu, select the serial number of the device you want to use. [[File:Mult Dev 2.png|frameless|750x750px]]
# Hit the "Master: DIS" button again.
# Continue as usual

== Multiple Devices via Python ==
<syntaxhighlight lang="python">
import chipwhisperer as cw
from chipwhisperer.capture.scopes.OpenADC import OpenADC

# Will fail and print serial numbers of connected devices
scope = cw.scope()

scope = OpenADC()

# Will report out of limits error, but still works
# Replace <Serial Number> with the s/n of the device you want to connect
scope.scopetype.getParams().getChild('Serial Number').setValue('<Serial Number>')

# Should succeed
scope.con()

# Continue as usual...
</syntaxhighlight>
Approved_users, administrator
366
edits