lpd_imx31_sdhc readme.txt ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ lpd_imx31_sdhc is a SDHC driver supporting the IMX31 on chip SDHC interface. This driver is supported under Logic Product Development's LoCE BSP v2.0.0+ By using this driver, you agree to Logic Product Development's WinCE BSP EULA. If you did not receive a copy of the EULA with this driver, please email product.sales@logicpd.com or contact Logic Product Development at: Logic Product Development Attn: Logic Product Sales 411 North Washington Avenue Suite101 Minneapolis, MN U.S.A 55401 _____________________________________________________________________________ _______________ ToC ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ 1 Release Notes 2 What's New 3 Known Issues 4 Dependencies 5 Using registry settings to configure Card and Write Protect GPIO pins - Change Log _______________ Please see the LoCE BSP Users Guide for general installation instructions. 1) Release Notes ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ --) This is a production release binary supporting the iMX31-LV SOM. 2) What's New ŻŻŻŻŻŻŻŻŻŻŻŻŻ --) First Production release. 3) Known Issues ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ --) NA 4) Dependencies ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ --) Depending on the desired functionality, One of the following catalog items or a compatible third party client driver is needed: .\Device Drivers\SDIO\SD Memory .\Device Drivers\SDIO\SDIO WIFI --) Kernel release v2.1.9.0 or later --) Must use with Audio driver revision 0.2.0 or later 5) Using registry settings to configure Card and Write Protect GPIO pins ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ This driver features registry-configurable Card Detect (CD) and Write Protect (WP) detection pins. Since the IMX31 has a highly configurable pin/pad iomux, a number of signals, (like GPIO pins,) can "routed" to a small number of selected pads in the bga array. Because of this tremendous flexibility it is necessary for the driver to know not only which signals are being used but which pin io configurations and which pads the signals are connected to. The first step in this process is to determine the pins and pads used for the CD and WP signals. For the purposes of this example we will use the configuration required by the SDK2 development base board, which are these GPIOS: CD uses GPIO port 2 pin number 11 WP uses GPIO port 1 pin number 6 Having determined this, we can update the following entries in the lpd_mx31_shdc.reg file: "CardDetectPort"=dword:2 "CardDetectPin"=dword:B "WPDetectPort"=dword:1 "WPDetectPin"=dword:6 NOTE: The wince registry items require values that are in hex Next, we must update the following registry items with appropriate pad/pin addresses. "CardDetectIomuxPadID"=dword: "CardDetectIomuxPinID"=dword: "WPDetectIomuxPadID"=dword: "WPDetectIomuxPinID"=dword: Starting with the CD GPIO, we must first determine the appropriate mnemonic to search for in the following file: platform\loce\src\drivers\ce_drivers\DrvLib\imx31_csp\iomux\iomux.h As mentioned earlier, every pad has a number of different signals that might be routed to it, BUT the header file has only one mnemonic per pad/pin. Thus it MAY be necessary to search for more than one of the potential mnemonics associated with the pad. See the i.MX31 Technical Reference Guide for the iomux guide and mnemonics for the pins and pads. IMPORTANT NOTE: Confusingly enough, there are two sets of PIN definitions in this file DO NOT use the entries in the "#ifdef VPMX31" section. Once you have determined the appropriate pad and pin nnumbers these must be converted to hex and then added to the registry configuration, thusly: "CardDetectIomuxPadID"=dword:4AA "CardDetectIomuxPinID"=dword:370 "WPDetectIomuxPadID"=dword:D4A "WPDetectIomuxPinID"=dword:9E8 Once configured a series of simple tests will determine if you've got the right configuration. _____________________________________________________________________________ Change Log: ŻŻŻŻŻŻŻŻŻŻŻ --) v1.0.0 ŻŻŻŻŻŻ + First Production release --) v0.1.0 ŻŻŻŻŻŻ + Initial release _____________________________________________________________________________ Copyright (c) 2008 Logic Product Development http://www.logicpd.com/