458
edits
Changes
no edit summary
Assuming this setup is complete, you can confirm you are able to communicate with the hardware by running the example capture of traces given in the [[CW1173_ChipWhisperer-Lite]] quick-start.
<h2h4> Programming the Example </h2h4>
Note with the CW1173 you need to configure a clock before programming of the device will succeed. Programming of the target device will be done as part of the CW-Capture software setup, discussed next.
<h2h4> Communicating from CW-Capture Software </h2h4>
Next, open the CW-Capture software. Then perform the following steps:
[[File:cwsetup_scriptselection.png|600px889x889px]]
# Switch to the ''Python Console'' tab.
The window should change to indicate the connect succeeded:
[[File:cwsetup_scriptselection_cwliterun.png|400px889x889px]]
<ol start="4" style="list-style-type: decimal;">
To do so, simply scroll down and select the "setup_cwlite_xmega_aes.py" file:
<ol start="14" style="list-style-type: decimal;">
<li><p>Hit the ''Check Signature'' button and confirm the device is detected. If not you may have issues with the clock setup.</p>
<p>[[File:cw1173_xmegaprogb.png|image]]</p></li>
<li><p>Using the ''Find'' button, navigate to the <code>simpleserial-base-cw303.hex</code> which you built earlier with the <code>make</code> command. You can then press the ''Erase/Program/Verify'' button, and confirm the file is programmed into the XMEGA device:</p>
<p>[[File:cw1173_xmegaprogc.png|image]]</p>
<p>Note the programmer dialog not only shows the successful programming status, but also shows when the <code>.hex</code> file was last modified. Always confirm this matches with when you last remember compiling the program -- if it is widely different this suggests you have selected the wrong file!</p>