NANDSetAutoErrorMessaging

Syntax

#include <revolution/nand.h>

BOOL NANDSetAutoErrorMessaging(BOOL enable);

Arguments

enable TRUE (the default setting) enables Auto Error Message mode. FALSE disables this mode.

Return Values

Returns TRUE if Auto Error Message mode is enabled and FALSE if it is disabled.

Description

Changes the Auto Error Message mode.

When this mode is enabled, the NAND flash device driver processes some result codes (see below). When an error occurs, it displays the appropriate error message on the TV screen and immediately disconnects by calling the OSFatal function. During this time, no application code can execute. In other words, developers do not need to worry about responding to the result codes shown below.

Depending on the system's language setting, the appropriate error message is selected from one of seven languages (English, Japanese, German, French, Spanish, Italian, or Dutch).

Developers who plan to implement their own FATAL error message must call NANDSetAutoErrorMessaging(FALSE) at the start of their applications.

This function automatically displays the error messages corresponding to the following result codes.

Note that the application is still responsible for displaying messages for other result codes (for example, NAND_RESULT_ECC_CRIT).

See Also

OSFatal

Revision History

2009/07/24 Initial version.


CONFIDENTIAL