I am writing to you because I have a problem with my chipwisperer which I just received a few days ago.
I can’t connect to it. I’m using the virtual machine in virtual box (the last version) and last realses (here https://github.com/newaetech/chipwhisperer/releases) in windows 10
i make this test in 3 differents pc and always this same error when i want to connect :
OSError Traceback (most recent call last)
/tmp/ipykernel_926/1654912759.py in
1 import chipwhisperer as cw
----> 2 scope = cw.scope()~/work/projects/chipwhisperer/software/chipwhisperer/init.py in scope(scope_type, name, **kwargs)
255
256 if scope_type is None:
–> 257 scope_type = get_cw_type(**kwargs)
258 scope = scope_type()
259 try:~/work/projects/chipwhisperer/software/chipwhisperer/common/utils/util.py in get_cw_type(sn, idProduct, **kwargs)
503
504 cwusb = NAEUSB_Backend()
–> 505 device = cwusb.find(serial_number=sn, idProduct=possible_ids)
506 name = device.getProduct()
507 cwusb.usb_ctx.close()~/work/projects/chipwhisperer/software/chipwhisperer/hardware/naeusb/naeusb.py in find(self, serial_number, idProduct)
109 def find(self, serial_number=None, idProduct=None):
110 # check if we got anything
–> 111 dev_list = self.get_possible_devices(idProduct)
112 if len(dev_list) == 0:
113 raise OSError(“Could not find ChipWhisperer. Is it connected?”)~/work/projects/chipwhisperer/software/chipwhisperer/hardware/naeusb/naeusb.py in get_possible_devices(self, idProduct, dictonly)
216 if len(dev_list) == 0:
217 raise OSError(“Unable to communicate with found ChipWhisperer. Check that
–> 218 \nanother process isn’t connected to it and that you have permission to communicate with it.”)
219
220 return dev_listOSError: Unable to communicate with found ChipWhisperer. Check that
another process isn’t connected to it and that you have permission to communicate with it.
if i scan usb with usb-devices, i have this info :
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2b3e ProdID=ace2 Rev=01.00
S: Manufacturer=NewAE Technology Inc.
S: Product=ChipWhisperer Lite
S: SerialNumber=50203220313038543130333239323030
C: #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I: If#= 1 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01 Driver=cdc_acm
I: If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
and with dsmeg :
Bus 001 Device 003: ID 2b3e:ace2
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x2b3e
idProduct 0xace2
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 98
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 1
bInterfaceCount 2
bFunctionClass 2 Communications
bFunctionSubClass 2 Abstract (modem)
bFunctionProtocol 1 AT-commands (v.25ter)
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 0
CDC Header:
bcdCDC 1.10
CDC ACM:
bmCapabilities 0x02
line coding and serial state
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 16
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
if i disconnect the usb i have this error :
OSError Traceback (most recent call last)
/tmp/ipykernel_1155/1654912759.py in
1 import chipwhisperer as cw
----> 2 scope = cw.scope()~/work/projects/chipwhisperer/software/chipwhisperer/init.py in scope(scope_type, name, **kwargs)
255
256 if scope_type is None:
–> 257 scope_type = get_cw_type(**kwargs)
258 scope = scope_type()
259 try:~/work/projects/chipwhisperer/software/chipwhisperer/common/utils/util.py in get_cw_type(sn, idProduct, **kwargs)
503
504 cwusb = NAEUSB_Backend()
–> 505 device = cwusb.find(serial_number=sn, idProduct=possible_ids)
506 name = device.getProduct()
507 cwusb.usb_ctx.close()~/work/projects/chipwhisperer/software/chipwhisperer/hardware/naeusb/naeusb.py in find(self, serial_number, idProduct)
111 dev_list = self.get_possible_devices(idProduct)
112 if len(dev_list) == 0:
–> 113 raise OSError(“Could not find ChipWhisperer. Is it connected?”)
114
115 # if more than one CW, we require a serial numberOSError: Could not find ChipWhisperer. Is it connected?
Do you have any idea what I could do?
Thank you.