CARD Demos

# CARD Library (CARD) Sample Demo

## Location

`$NitroSDK/build/demos/card`

## Compilation

Move to the `$NitroSDK/build/demos/card` directory and input

        % make

This will generate executable (`.nef`, `.srl`) files under

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

For example

        $NitroSDK/build/demos/card/card-1/bin/ARM9-TEG/Release/

## Execution

Move to the `$NitroSDK/build/demos/card/sample_name/bin/platform/target/` directory and do one of the following.

- With ensata, run `*.nef`, `*.srl`.
- With the TEG version of IS-NITRO-EMULATOR, run `*.srl`.
- With IS-NITRO-DEBUGGER, load `*.nlf` files and run.
- With IS-NITRO-DEBUGGER, run `*.srl`.

## Description

`card-1` | This is a very simple sample that shows how to use the CARD library to access a backup device.
`ctrdg/pullout-1 (included in the cartridge demo)` | This sample is included in cartridge demo (`$NitroSDK/build/demos/ctrdg`). Detects removal of card and cartridge.

## See Also

`CARD Function List`

## Revision History

10/06/2004 Added description regarding ctrdg/pullout-1 demo
09/10/2004 Initial Version