Hi @Alex_Dewar , I updated it to the lastest firmwarelike you said which was 1.60.0.
But still getting the Hard Fault error on the capture box when I execute this below cell
trace_test = cap_pass_trace(“h\n”)
#Basic sanity check
assert(len(trace_test) == 3000)
print(“ OK to continue!”)
The error is as follows
USBTimeoutError Traceback (most recent call last)
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\targets\SimpleSerial.py in read(self, num_char, timeout)
269 num_char = self.ser.inWaiting()
→ 270 return self.ser.read(num_char, timeout)
271 except USBError:
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\targets\simpleserial_readers_base.py in read(self, num, timeout)
133 # If we didn’t get enough data, try to read more from the hardware
→ 134 data = bytearray(self.hardware_read(num, timeout=timeout)).decode(‘latin-1’)
135 for c in data:
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\targets\simpleserial_readers\cwlite.py in hardware_read(self, num, timeout)
80 def hardware_read(self, num, timeout=250):
—> 81 return self.cwlite_usart.read(num, timeout)
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\serial.py in read(self, dlen, timeout)
187 if waiting > 0:
→ 188 newdata = self._usb.readCtrl(self.CMD_USART0_DATA, 0, min(min(waiting, dlen), self._max_read))
189 resp.extend(newdata)
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\naeusb.py in readCtrl(self, cmd, value, dlen)
791 # Vendor-specific, IN, interface control transfer
→ 792 return self.usbseralizer.readCtrl(cmd, value, dlen)
793
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\naeusb.py in readCtrl(self, cmd, value, dlen)
190 cmdpacket = self.make_cmd(self.READ_CTRL, cmdpacket)
→ 191 return self.process_rx(self.txrx(tx=cmdpacket))
192
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\hardware\naeusb\naeusb.py in txrx(self, tx)
298 if cmd == self.READ_CTRL:
→ 299 response = self.usbdev().ctrl_transfer(payload[0], payload[1], payload[2], payload[3], payload[4], timeout=self._timeout)
300 naeusb_logger.debug("READ_CTRL: bmRequestType: {:02X}, \
~\WPy64-3771\python-3.7.7.amd64\lib\site-packages\usb\core.py in ctrl_transfer(self, bmRequestType, bRequest, wValue, wIndex, data_or_wLength, timeout)
1078 buff,
→ 1079 self.__get_timeout(timeout))
1080
~\WPy64-3771\python-3.7.7.amd64\lib\site-packages\usb\backend\libusb1.py in ctrl_transfer(self, dev_handle, bmRequestType, bRequest, wValue, wIndex, data, timeout)
900 length,
→ 901 timeout))
902
~\WPy64-3771\python-3.7.7.amd64\lib\site-packages\usb\backend\libusb1.py in _check(ret)
601 elif ret == LIBUSB_ERROR_TIMEOUT:
→ 602 raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
603 else:
USBTimeoutError: [Errno 10060] Operation timed out
During handling of the above exception, another exception occurred:
Warning Traceback (most recent call last)
in
----> 1 trace_test = cap_pass_trace(“h\n”)
2
3 #Basic sanity check
4 assert(len(trace_test) == 3000)
5 print(“ OK to continue!”)
in cap_pass_trace(pass_guess)
3 num_char = target.in_waiting()
4 while num_char > 0:
----> 5 target.read(num_char, 10)
6 time.sleep(0.01)
7 num_char = target.in_waiting()
c:\users\shobha~1\chipwh~1\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\targets\SimpleSerial.py in read(self, num_char, timeout)
271 except USBError:
272 self.dis()
→ 273 raise Warning(“Error in target. It may have been disconnected”)
274 except Exception as e:
275 self.dis()
Warning: Error in target. It may have been disconnected
And extending the ext_offset worked
Regards,
Niharika