In this example they are both set to the same array value. The measure_AES() function passes both the plaintext and key. To do this, simply perform the following: For example we can get information about the current scope module:īut you probably just want to run an AES test. Note you can actually interact directly with the 'cw' object as in Python. You may have not closed the connection from the previous test. If this FAILS, you may need to simply unplug/replug the ChipWhisperer-Lite. If this works it should print the information about the 'cw' object: You should be able to simply connect to the ChipWhisperer-Lite with the following: The matlab files internally will reference a. To run the examples, you will need to ensure you set the MATLAB working directory to the location of the. Hopefully you see some waveforms show up on the screen!.From the 'Project' and 'Example Scripts' menu, select 'ChipWhisperer-Lite: AES SimpleSerial on XMEGA'. To do run the command python to start Python interpreter, then run: Once drivers are installed, you should be able to run the examples from the WinPython command prompt.Plug in CW-Lite, when prompted for drivers you'll have to download the driver zip-file and extract that somewhere, then point the installer to this location.
Run pip install chipwhisperer in the WinPython prompt which should install ChipWhisperer.Run the 'WinPython Command Prompt' - this will be in the directory you installed WinPython to.Run the installer - it will actually just extract this somewhere, I suggest to use a location such as c:\WinPython-64bit-2.7.10.3 rather than the default which will just install in a subdirectory of whereever you downloaded the installer to.Download WinPython 2.7.10.3, most likely you will require the 64-bit version (most recent MATLAB installs will be 64-bit).Note you'll need match the type of Python to your MATLAB install (i.e., 64-bit Python if using 64-bit MATLAB). You will need to first install Python 2.7 + ChipWhisperer.