CP Demos

# Coprocessor Sample Demo

## Location

`$NitroSDK/build/demos/cp`

## Compilation

Move to the `$NitroSDK/build/demos/cp` directory and enter:

> `% make`

Executables (`.nef`, `.srl` files) are generated in

    $NitroSDK/build/demos/cp/sample_name/bin/platform/target/

For example:

> `$NitroSDK/build/demos/cp/ThreadSafeTest/bin/ARM9-TS/Release/`

## Execution

Move to the `$NitroSDK/build/demos/cp/sample_name/bin/platform/target/` directory and perform one of the following:

- Execute `*.nef`, `*.srl` with ensata.
- Execute `*.srl` with the TEG version of the IS-NITRO-EMULATOR.
- Load and execute `*.nlf` with the IS-NITRO-DEBUGGER.
- Execute `*.srl` with the IS-NITRO-DEBUGGER.

## Description

`ThreadSafeTest` | Indicates a thread safe condition due to also switching coprocessor context when threads are switched.

## Operation

`ThreadSafeTest` does not work properly with ensata.

## See Also

`CP Function List`

## Revision History

08/17/2004 Standardized the notation of the IS-NITRO-EMULATOR.
07/19/2004 Initial version.