newaetech / chipwhisperer

ChipWhisperer - the complete open-source toolchain for side-channel power analysis and glitching attacks
http://chipwhisperer.com
Other
1.09k stars 280 forks source link

nRST briefly goes high-z when setting target_pwr=0 #481

Closed alex-dewar closed 5 months ago

alex-dewar commented 5 months ago

As per https://forum.newae.com/t/pulse-on-target-nrst-when-target-pwr-set-to-0/4863, setting scope.io.target_pwr = False causes the nRST pin to briefly go high-z. Looking at the relevant code (https://github.com/newaetech/chipwhisperer/blob/develop/hardware/common/hdl/reg_chipwhisperer.v#L557) and the actual behaviour observed, this seems to be unintentional.