skip navigation
URC Consortium Logo

You are here: MyURC.org > Tools & Prototypes > GC100eTargets > tutorial > Tutorial

GC100e Tutorial


Page Content:


Configure GC100 TDM as a UCH local resource

Add a new local resource with the following properties in .ucf file and a directory called 'gctdm'.

'gctdm' directory contains gctdm dynamic library and HTML files for Auto-configuration of GC100 devices.

   <?xml version="1.0" encoding="UTF-8"?>

   <props>

      <prop>

         <name>http://myurc.org/ns/res#name</name>

         <value>http://res.myurc.org/gc100/tdm/c++</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#dynamicLibClass</name>

         <value>libGCTDM.so</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#type</name>

         <value>http://myurc.org/restypes#tdm</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#platform</name>

         <value>intel</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#devicePlatform</name>

         <value>GC100</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#indexFile</name>

         <value>gc100/config/index.html</value>

      </prop>

      <prop>

         <name>http://purl.org/dc/terms/conformsTo</name>

         <value>http://myurc.org/TR/uch1.0-20091103/</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#mimeType</name>

         <value>application/zip</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#resourceUri</name>

         <value>libGCTDM.so</value>

      </prop>

   </props>

By default UCH finds all TDM's in the local resource directory and instantiates them on startup, so above TDM will be initiated thereby.

Configure GC100 based TA as a UCH local resource

Add a new local resource with the following properties in .ucf file and TA dynamic library file.

   <?xml version="1.0" encoding="UTF-8"?>

   <props>

      <prop>

         <name>http://myurc.org/ns/res#name</name>

         <value>http://res.myurc.org/gc100/ta/generic/ir/c++</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#dynamicLibClass</name>

         <value>libGC100IRGenericAdapter.so</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#type</name>

         <value>http://myurc.org/restypes#ta</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#platform</name>

         <value>intel</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#devicePlatform</name>

         <value>IR</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#deviceType</name>

         <value>*</value>

      </prop>

      <prop>

         <name>http://purl.org/dc/terms/conformsTo</name>

         <value>http://myurc.org/TR/uch1.0-20091103/</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#mimeType</name>

         <value>application/c++-archive</value>

      </prop>

      <prop>

         <name>http://myurc.org/ns/res#resourceUri</name>

         <value>libGC100IRGenericAdapter.so</value>

      </prop>

   </props>

Set the values of following properties as per TA for respective device platform:

Property Name
IR
Relay
http://myurc.org/ns/res#name
http://res.myurc.org/gc100/ta/generic/ir/c++
http://res.myurc.org/gc100/ta/generic/relay/c++
http://myurc.org/ns/res#dynamicLibClass
libGC100IRGenericAdapter.so
libGC100RelayGenericAdapter.so
http://myurc.org/ns/res#devicePlatform
IR
RELAY
http://myurc.org/ns/res#resourceUri
libGC100IRGenericAdapter.so
libGC100RelayGenericAdapter.so

Configure IR Code File for Generic GC100 IR Target Adapter

Please refer to How to write IR code File.

Write a GC100 Target Adapter

For other general instructions for writing a TA click here.


Last update: Parikshit Thakur & Team, 2010-05-20

This site is maintained by the University of Wisconsin Trace Center, a member of the Universal Remote Console Consortium.