Hi,
I wanted to program the SAM4S with the nano board, and got an error message:
(ChipWhisperer Target WARNING|File programmers.py:168) Serial pins incorrect for NewAE SAM4S target
(ChipWhisperer Target WARNING|File programmers.py:169) (tio1, tio2) != ('serial_rx', 'serial_tx')
(ChipWhisperer Target WARNING|File programmers.py:170) Did you forget to call scope.default_setup()?
For anyone with same problem the fix is to add this check in line 167 of “/software/chipwhisperer/capture/api/programmers.py”
if not type(self.scope) is CWNano:
if (self.scope.io.tio1, self.scope.io.tio2) != ("serial_rx", "serial_tx"):
target_logger.warning("Serial pins incorrect for NewAE SAM4S target")
target_logger.warning("(tio1, tio2) != ('serial_rx', 'serial_tx')")
target_logger.warning("Did you forget to call scope.default_setup()?")