Hello,
I have a trouble connecting my CW305 via python.
I installed “Chipwhisperer.v5.5.0.Setup.64-bit.exe” directly for my windows computer.
When running below code it showed that USB Device no found.
But device manager has recognized CW305!
Did I miss some installation/operation steps so it doesn’t work?
from chipwhisperer.capture.targets.CW305 import CW305
import chipwhisperer as cw
bitstream_file = r"D:\APP\ChipWhisperer5_64\git\home\portable\chipwhisperer\hardware\victims\cw305_artixtarget\fpga\vivado_examples" \
r"\aes128_verilog\aes128_verilog.runs\impl_35t\cw305_top.bit"
scope = cw.scope()
self.scope = scope
target = cw.target(scope, fpga_id='35t',bsfile=bitstream_file, force=False)
self.target = target
OSError Traceback (most recent call last)
in
5 r"\aes128_verilog\aes128_verilog.runs\impl_35t\cw305_top.bit"
6
----> 7 scope = cw.scope()
8 self.scope = scope
9
d:\app\chipwhisperer5_64\git\home\portable\chipwhisperer\software\chipwhisperer_init_.py in scope(scope_type, sn)
226 from chipwhisperer.common.utils.util import get_cw_type
227 if scope_type is None:
–> 228 scope_type = get_cw_type(sn)
229 scope = scope_type()
230 try:
d:\app\chipwhisperer5_64\git\home\portable\chipwhisperer\software\chipwhisperer\common\utils\util.py in get_cw_type(sn)
501 name = “”
502 if len(possible_sn) == 0:
–> 503 raise OSError(“USB Device not found. Did you connect it first?”)
504
505 if (len(possible_sn) > 1):
OSError: USB Device not found. Did you connect it first?