CARD Library (CARD) Sample Demo

Location

$TwlSDK/build/demos/card

Compilation

Move to the $TwlSDK/build/demos/card directory and enter the following.

% make

  The compilation begin, and the SRL executable file and the NEF or TEF files with binary information are generated in $TwlSDK/build/demos/fs/(sample name)/bin/(platform)/(target)/.

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

 For example:

$TwlSDK/build/demos/card/card-1/bin/ARM9-TS/Release/main.srl

will be the executable file for the card-1 demo.

Execution

For NITRO ROMs:

If using the Ensata emulator:

If using IS-NITRO-DEBUGGER:

If using IS-TWL-DEBUGGER:

For TWL/NITRO Hybrid ROMs

If using IS-NITRO-DEBUGGER:

If using IS-TWL-DEBUGGER:

For TWL Limited ROMs

If using IS-TWL-DEBUGGER:

Description

Name Directories Operation
backup demos This simple sample shows how to use the CARD library to access a backup device.
card-1trom demos This demo uses one-time PROM as the ROM type and outputs the transfer speed to the debugger.
card-mrom demos This demo uses mask ROM as the ROM type and outputs the transfer speed to the debugger.
ctrdg/pullout-1
(included in the cartridge demo)
demos This sample is included in the Game Pak demo ($TwlSDK/build/demos/ctrdg). Detects removal of card and cartridge.

Operation

The card-mrom demo works properly only in NTR mode.

See Also

CARD Function List

Revision History

2008/12/12 Renamed the card-1 demo to the backup demo.
2008/07/11 Changed the notation corresponding to TWL.
2005/04/26 Changed term from "1-time ROM" to "one-time PROM."
2005/04/06 Added descriptions of card-1trom and card-mrom demos.
2005/03/02 Revised descriptions to reflect current support environment conditions.
2004/10/06 Added description regarding ctrdg/pullout-1 demo.
2004/09/10 Initial version.


CONFIDENTIAL