diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-092F414B-2279-4ADB-970F-75DAB8A80BD7.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/PDK/Source/GUID-092F414B-2279-4ADB-970F-75DAB8A80BD7.dita Tue Mar 30 11:56:28 2010 +0100 @@ -0,0 +1,55 @@ + + + + + +Testing +the PortHow to run unit tests of the SDIO platform-specific layer. +

Before running +this test, you must do the following:

    +
  • Port the SDIO Controller for your platform (see SDIO +Implementation Overview)

  • +
  • Build the test ROM (see SDIO +Testing Overview)

  • +
  • Boot the device with the test ROM.

  • +

+

The SDIOTest utility +is not an automated test: it performs various unitary operations , which can +be used to validate the behaviour of the SDIO Controller. First, you request +an operation by pressing the corresponding key on the command line. Then, +you compare the resulting display with the data expected from the card.

The +following steps provide an example of how to test your port.

+ +Run the SDIOTest application. + +Power up the stack +by pressing the P key. +

The stack must report that no card is present.

+
+Insert a card and power it up. +

The stack must report that a card is present.

+
+Read the card information by pressing the I key. +

The data returned by the stack must match the data sheet you +have for the card.

+
+Read the common control registers by pressing the R key. +

The values must match the expected card data.

+
+Read the common configuration by pressing the C key. +

The values must match the expected card data.

+
+Read information about the I/O function by pressing the F key. +

The data returned by the stack must match the I/O specifications +of the card.

+
+Quit the test by pressing the Q key. + +
+
\ No newline at end of file