CHT Demos

# PictoChat Library (CHT) Demos

## Location

`$TwlSDK/build/demos/cht`

## Compilation

Move to the `$TwlSDK/build/demos/cht` directory and enter the following:

> `% make`

The compiled SRL executable file, and the NEF or TEF files with binary information are created in `$TwlSDK/build/demos/cht/(sample name)/bin/(platform)/(target)/`.

> ``

For example:

> `$TwlSDK/build/demos/cht/catch-1/bin/ARM9-TS/Release/main.srl`

will be the executable file for the `catch-1` demo.

## Execution

### For NITRO ROMs:

If using IS-NITRO-DEBUGGER:

- Load and execute an NLF file with IS-NITRO-DEBUGGER.
- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from a command line.

If using IS-TWL-DEBUGGER:

- Load and execute an NLF file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line.

### For TWL/NITRO HYBRID ROMs:

If using IS-NITRO-DEBUGGER:

- Execute an SRL file with IS-NITRO-DEBUGGER
- Execute an SRL file with IS-NITRO-DEBUGGER using the `loadrun.exe` tool from a command line

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER.
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line.

### For TWL LIMITED ROMs:

If using IS-TWL-DEBUGGER:

- Load and execute a TLF file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER
- Execute an SRL file with IS-TWL-DEBUGGER using the `loadrun.TWL.exe` tool from a command line.

## Description

Name | Directories | Operation
--- | --- | ---
`catch-1` | `demos` | This demo uses the PictoChat search feature to detect the PictoChat parent's beacon. It uses the WH sample module in $TwlSDK/build/demos/wireless_shared/wh for wireless control.
`catch-2` | `demos` | This demo uses the PictoChat search feature to detect the PictoChat parent's beacon. It uses the WC sample module in $TwlSDK/build/demos/wireless_shared/wc for wireless control.

## Operation

The CHT library demos do not work on ensata.

## See Also

CHT function list

## Revision History

2008/07/11 Changed descriptions to support TWL.
2005/07/14 Added catch-min.
2005/05/10 Initial version.
f

CONFIDENTIAL