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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../css/nitro.css"> 8<TITLE>CP Demos</TITLE> 9</HEAD> 10<BODY> 11<H1>Coprocessor Sample Demo</H1> 12<H2>Location</H2> 13<P><CODE>$TwlSDK/build/demos/cp</CODE></P> 14<H2>Compilation</H2> 15<P>Move to the <CODE>$TwlSDK/build/demos/cp</CODE> directory and enter the following:</P> 16<BLOCKQUOTE><CODE>% make</CODE></BLOCKQUOTE> 17<P> The compiled SRL executable file, and the NEF or TEF files with binary information are created in <CODE>$TwlSDK/build/demos/cp/(sample name)/bin/(platform)/(target)/</CODE>.</P> 18<BLOCKQUOTE><CODE></CODE></BLOCKQUOTE> 19<P> For example:</P> 20<BLOCKQUOTE><CODE>$TwlSDK/build/demos/cp/ThreadSafeTest/bin/ARM9-TS/Release/main.srl</CODE></BLOCKQUOTE> 21<P>will be the executable file for the <CODE>ThreadSafeTest</CODE> demo.</P> 22 23<H2>Execution</H2> 24<H3>For NITRO ROMs:</H3> 25 26<P>If using the Ensata emulator:</P> 27<UL> 28<LI>Execute NEF and SRL files with ensata. 29</UL> 30<P>If using IS-NITRO-DEBUGGER:</P> 31<UL> 32<LI>Load and execute an NLF file with IS-NITRO-DEBUGGER. 33<LI>Execute an SRL file with IS-NITRO-DEBUGGER 34<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line. 35</UL> 36<P>If using IS-TWL-DEBUGGER:</P> 37<UL> 38<LI>Load and execute an NLF file with IS-TWL-DEBUGGER. 39<LI>Execute an SRL file with IS-TWL-DEBUGGER. 40<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line. 41</UL> 42<H3>For TWL/NITRO HYBRID ROMs:</H3> 43<P>If using IS-NITRO-DEBUGGER:</P> 44<UL> 45<LI>Execute an SRL file with IS-NITRO-DEBUGGER 46<LI>Execute an SRL file with IS-NITRO-DEBUGGER using the <CODE>loadrun.exe</CODE> tool from a command line 47</UL> 48<P>If using IS-TWL-DEBUGGER:</P> 49<UL> 50<LI>Load and execute an TLF file with IS-TWL-DEBUGGER. 51<LI>Execute an SRL file with IS-TWL-DEBUGGER 52<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line. 53</UL> 54<H3>For TWL LIMITED ROMs:</H3> 55<P>If using IS-TWL-DEBUGGER:</P> 56<UL> 57<LI>Load and execute a TLF file with IS-TWL-DEBUGGER 58<LI>Execute an SRL file with IS-TWL-DEBUGGER 59<LI>Execute an SRL file with IS-TWL-DEBUGGER using the <CODE>loadrun.TWL.exe</CODE> tool from a command line. 60</UL> 61 62<H2>Description</H2> 63<BR> 64<TABLE width="720"> 65 <TBODY> 66 <TR> 67<TH>Name</TH> 68<TH>Directories</TH> 69<TH>Operation</TH> 70 </TR> 71 <TR> 72<TD width="187"><EM><STRONG><CODE>ThreadSafeTest</CODE></STRONG></EM></TD> 73<TD><CODE>demos</CODE></TD> 74<TD width="525">Indicates a thread safe condition due to also switching coprocessor context when threads are switched.</TD> 75 </TR> 76 </TBODY> 77</TABLE> 78<H2>Operation</H2> 79<P>ThreadSafeTest does not work properly with ensata.</P> 80<H2>See Also</H2> 81<P><A href="../../cp/list_cp.html"><CODE>CP Function List</CODE></A></P> 82<H2>Revision History</H2> 83<P> 842008/07/11 Changed descriptions to support TWL.<br /> 2005/03/02 Revised descriptions to reflect current support environment conditions.<br />2004/08/17 Standardized the notation of the IS-NITRO-EMULATOR.<br /> 2004/07/19 Initial version.</P> 85<hr><p>CONFIDENTIAL</p></body> 86</HTML>