V5.4
New Features:
- AES MixColumns Attack and Variable Vector KTP (requires scared/estraces)
- Update FW for USB devices - auto configure as WinUSB
- Update FW to increase serial buffer
- Support both libusb0 and libusb1
- Add automated plotting functions for analyzer plots
- Add TraceWhisperer
- Improve CW305 AES implementation
- Add cw.plot()
- Add scope.sn
- Major CWNano speedup
- Analyzer autoplots
- Add SimpleSerialV2 (not used by default) binary serial protocol
- Use 230400bps for SSV2 baud
- Major capture speedup when using SSV2
- New experiment/target class: CW305 HW ECC
- Add CW305 register name autodetect
- Add glitch arm timing of "no_glitch" (moderate speedup for SSV2)
Fixes:
- target.baud not being reset correctly after programming STM32
- Turn off STM32 HW floating point
- VM: Fix firmware programming
Firmware updates:
- Auto driver configuration on Windows: Once updated firmware is installed, device will automatically configure as a WinUSB device if no other drivers present. See https://docs.microsoft.com/en-us/windows-hardware/drivers/install/using-device-manager-to-uninstall-devices-and-driver-packages for uninstalling drivers.
- Serial buffer size increase from 128 bytes to 200 bytes. Allows 99 bytes of data to be sent with SimpleSerial v1 and 192 bytes to be sent with SimpleSerial V2
SimpleSerial 2
New serial communication protocol. Improved communication speed + data integrity, more flexibility with commands, longer data length supported. Normal capture speed with SSV2 is roughly 110 captures/second, but can be increased to ~150 captures/second by not reading response + setting scope.glitch.arm_timing="no_glitch"
(disables glitch)
Use in sca101/fault101 by setting SS_VER='SS_VER_2_0'
. Build SSV2 firmware by make PLATFORM=X CRYPTO_TARGET=Y SS_VER=SS_VER_2_0
. See readthedocs for documentation.
Firmware update tool
In some cases, users may be unable to reprogram the ChipWhisperer scope (not target) firmware from inside the VM. As such, there is a firmware updater Windows executable that will allow reprogramming of the ChipWhisperer from a native Windows install without requiring a full ChipWhisperer install. It can be used with the syntax cw_firmware_updater_5_4_0.exe <COM_PORT> <HARDWARE_TYPE>
where <COM_PORT>
is the AT91 serial bootloader serial port name (i.e. COM4
) and <HARDWARE_TYPE>
is one of cwlite
, cw1200
, cwnano
, or cw305
.
NOTE: This tool can only reprogram the ChipWhisperer. It cannot put the ChipWhisperer into bootloader mode, which is a prerequisite to reprogramming the ChipWhisperer.