To do so, simply scroll down and select the "setup_cwlite_stm32f_aes.py" file:
[[File:Stm32f aes.PNG|thumb|left|1104x1104px]]
You'll notice the contents of the script contain the following setup:<syntaxhighlight lang="python" line="1">
Line 12: Sets the serial communication speed with the target at 38400 baud. <p>You can now program the ARM device! To do so, open the STM32F Programmer from the ''Tools'' menu:</p>
<p></p>[[File:Stm32f programmer.png|thumb|none|303x303px]]
<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_xmegaprogbStm32f programmer sig.png|imagenone|thumb|357x357px]]<p></p></li><li><p>Using the ''Find'' button, navigate to the <code>simpleserial-base-CWLITEARM.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_xmegaprogcStm32f programmer succ.png|imagenone|thumb|362x362px]]</p><p></p></li><li><p>If the software freezes and the verification fails after a long period of time, set the Read Block Size to 64 instead of 256.</p></li><li><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>
<p>Finally we can check communications with the programmed file:</p></li></ol>