1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6 <TITLE>MP Demo</TITLE> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8</HEAD> 9<BODY> 10 11<h1>MP Sample Demos</h1> 12 13<h2>Location</h2> 14<p> 15<code>$REVOLUTION_EXT_ROOT/build/demos/mpdemo</code> 16</p> 17 18<H2>Compilation</H2> 19<p> 20Go to the <code>$REVOLUTION_EXT_ROOT/build/demos/mpdemo</code> directory and type <CODE>make</CODE>. An executable file (<code>.elf</code> file) will be generated under the path <code>$REVOLUTION_EXT_ROOT/RVL/bin/demos/mpdemo/</code>. 21</p> 22 23<H2>Running the Demo</H2> 24<p> 25Navigate to the <code>$REVOLUTION_EXT_ROOT/RVL/bin/demos/mpdemo/</code> directory and perform the following steps: 26</p> 27 28<ul> 29<li>To execute a program, run the <code>ndrun</code> script with the <code>.elf</code> file as the argument.</li> 30<li>To debug using CodeWarrior, do one of the following:</li> 31<ul> 32<li>Execute <code>$CWFOLDER/bin/IDE.exe</code> with the <code>.elf</code> file as an argument.</li> 33<li>Launch <code>$CWFOLDER/bin/IDE.exe</code>, then drag and drop the <code>.elf</code> file.</li> 34<li>If the <code>.elf</code> file is associated with <code>$CWFOLDER/bin/IDE.exe</code>, double-click the <code>.elf</code> file.</li> 35</ul> 36 37</ul> 38 39<H2>Description</H2> 40<p> 41<TABLE border="1"> 42 <TBODY> 43 <TR> 44<TD width="120"><EM><STRONG><CODE>mpsimple</CODE></STRONG></EM></TD> 45<TD width="520">This demo connects to the wm/simple-1 demo found in the NITRO-SDK and communicates with it.</TD> 46 </TR> 47 <TR> 48<TD width="120"><EM><STRONG><CODE>mpsimpleAsync</CODE></STRONG></EM></TD> 49<TD width="520">This demo connects to the <CODE>wm/simple-1</CODE> demo found in the NITRO-SDK and communicates with it asynchronously.</TD> 50 </TR> 51 </TBODY> 52</TABLE> 53</p> 54 55<H2>See Also</H2> 56<p><a href="../toc.html" target="contents_detail">MP API</a></p> 57 58<H2>Revision History</H2> 59<P> 602007/03/06 Added a description of the <CODE>mpsimpleAsync</CODE> demo<BR>2007/1/12 Corrected path.<BR>2006/06/29 Initial version. 61</P> 62<HR> 63<P>CONFIDENTIAL</P> 64</body> 65</html> 66