Changes

Programming Arm

161 bytes removed, 20:35, 9 October 2018
no edit summary
To do so, simply scroll down and select the "setup_cwlite_stm32f_aes.py" file:
 [[File:Stm32f aesStm32f_aes.PNG|thumb|leftframeless|1104x1104px]]
You'll notice the contents of the script contain the following setup:<syntaxhighlight lang="python" line="1">
<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>[[File:Stm32f programmer sig.png|none|thumb|357x357px]]<p></p></li>
<li><p>Using the ''Find'' button, navigate to the <code>simpleserial-base-CWLITEARM.hex</code> (or whatever your binary is called), 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>[[File:Stm32f programmer succ.png|none|thumb|362x362px]]<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:</pli></li></ol> [[File:09_Cw1173_connectrun.png|image]] <ol start="17" style="list-style-type: decimal;"><lip>If you'd like, you can close the STM32F programmer dialog. If you frequently reprogram the target, you may want to leave it open.</p></li></ol>
Approved_users, administrator
366
edits