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 Arm

352 bytes removed, 15:59, 28 September 2018
no edit summary
<h4> Programming the Example </h4>
Note with the CW1173 CW303 Arm 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>
<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:</p></li></ol>
<ol start="17" style="list-style-type: decimal;">
<li>Close If you'd like, you can close the STM32F programmer dialog.</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 frequently reprogram the target.</li><li>Hit the ''Run 1'' button ([[File:Capture One Button.PNG|image]]). You , you may have want to hit leave 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'' fieldopen.</li></ol>
Approved_users, administrator
366
edits

Navigation menu