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 compilation begins, and the SRL executable file and the NEF or TEF files with binary information are generated in the following directory.

> `$TwlSDK/build/demos/cht/(sample name)/bin/(platform)/(target)/`

For example:

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

is 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 the 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 | Directory | Operation
--- | --- | ---
`catch-1` | `demos` | 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.

## Operation

`The CHT library demos do not work with Ensata.`

## See Also

`CHT function list`

## Revision History

2009/08/28 Deleted `catch-2`.
2008/07/11 Changed the description to match TWL.
2005/07/14 Added `catch-min`.
2005/05/10 Initial version.

CONFIDENTIAL