As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

Programming XMEGA

65 bytes removed, 16:26, 9 October 2018
no edit summary
<h4> Programming the Example </h4>
Note with the CW1173 XMEGA target, 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.
<h4> Communicating from CW-Capture Software </h4>
<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> (or whatever your hex file 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>
<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> <p>Finally we can check communications with the programmed file:</p></li></ol> [[File:09_Cw1173_connectrun.png|image]]
<ol start="17" style="list-style-type: decimal;">
<li>You can now close the programming dialog if you'd like. If you're frequently reprogramming the target, you may want to leave this open.</li></ol>
Approved_users, administrator
366
edits

Navigation menu