Hello,
I have been working with the CW312T-A35 board, using both the CW Husky and CW313 support board. Recently, I attempted to test it using the PA_HW_CW312T-A35-Attacking_AES_on_an_FPGA example code. However, during the process, especially when trying to upload the bitstream to the FPGA, I encountered an error. To resolve this issue, I’ve already tried the following steps:
Reconnecting the device.
Updating the requirements.
Despite these efforts, I am still facing the same error, as shown in the attached image. Any suggestions on how to fix this would be greatly appreciated.
Error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[5], line 21
17 fpga_id = '35t'
19 # On the CW305, setting force=False only programs the FPGA if it is currently unprogrammed, whereas force=True programs the FPGA regardless.
20 # This option isn't available on the CW312T_A35 or CW312T_ICE40.
---> 21 target = cw.target(scope, cw.targets.CW305, force=True, fpga_id=fpga_id, platform=platform)
File c:\users\t177h608_a\chipwhisperer5_64\cw\home\portable\chipwhisperer\software\chipwhisperer\__init__.py:415, in target(scope, target_type, **kwargs)
400 """Create a target object and connect to it.
401
402 Args:
(...)
412 Connected target object specified by target_type.
413 """
414 rtn = target_type()
--> 415 rtn.con(scope, **kwargs)
417 # need to check
418 if type(rtn) in (targets.SimpleSerial, targets.SimpleSerial2) \
419 and scope and scope._getNAEUSB().check_feature("SERIAL_200_BUFFER"):
File c:\users\t177h608_a\chipwhisperer5_64\cw\home\portable\chipwhisperer\software\chipwhisperer\capture\targets\_base.py:65, in TargetTemplate.con(self, scope, **kwargs)
63 try:
64 self.connectStatus = True
---> 65 self._con(scope, **kwargs)
66 except:
67 self.dis()
TypeError: CW305._con() got an unexpected keyword argument 'platform'