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

458 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>Close You can now close the XMEGA programmer programming dialogif you'd like.</li><li>Open the status monitor under <i>Tools > Encryption Status Monitor</i>.</li><li>Resize the monitor window. The monitor will show sent &amp; received data to If you're frequently reprogramming the target.</li><li>Hit the ''Run 1'' button ([[File:Capture One Button.PNG|image]]). You , you may have want to hit it a few times, as the very first serial data is often lost. You should see data populate in the ''Text Out'' field of the monitor window. Note that each byte of the ''Text In'' is incremented in the ''Text Out'' fieldleave this open.</li></ol>
Approved_users, administrator
366
edits

Navigation menu