00001 /*This file is prepared for Doxygen automatic documentation generation.*/ 00018 /* Copyright (c) 2009 Atmel Corporation. All rights reserved. 00019 * 00020 * Redistribution and use in source and binary forms, with or without 00021 * modification, are permitted provided that the following conditions are met: 00022 * 00023 * 1. Redistributions of source code must retain the above copyright notice, this 00024 * list of conditions and the following disclaimer. 00025 * 00026 * 2. Redistributions in binary form must reproduce the above copyright notice, 00027 * this list of conditions and the following disclaimer in the documentation 00028 * and/or other materials provided with the distribution. 00029 * 00030 * 3. The name of Atmel may not be used to endorse or promote products derived 00031 * from this software without specific prior written permission. 00032 * 00033 * 4. This software may only be redistributed and used in connection with an Atmel 00034 * AVR product. 00035 * 00036 * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED 00037 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 00038 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE 00039 * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR 00040 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00041 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00042 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 00043 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00044 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00045 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 00046 * 00047 */ 00048 00049 00050 #ifndef _CONF_NF_H_ 00051 #define _CONF_NF_H_ 00052 00053 //_____ M A C R O S ________________________________________________________ 00054 00055 //_____ D E F I N I T I O N ________________________________________________ 00056 00057 // The list of the supported Nand Flash is available in "support_NF_Driver.pdf" file. 00058 00059 00060 // !!!!!! WARNING !!!!!!!! 00061 // !! The auto-detect mode (#define NF_AUTO_...) may be less speed that static compilation (#define NF_TYPE_...) 00062 00063 00070 #define NF_AUTO_DETECT_2KB FALSE 00071 #define NF_AUTO_DETECT_512B FALSE 00072 00073 00074 00077 #define NF_TYPE_MT29F2G08AACWP 00078 00079 00083 #define NF_N_DEVICES 2 00084 00085 00086 // ******** Exemples ********** 00087 // 00088 // You have connected one MT29F2G08AACWP, you shall set 00089 // #define NF_TYPE_MT29F2G08AACWP 00090 // #define NF_N_DEVICES 1 00091 // 00092 // You have connected two MT29F2G08AACWP, you shall set 00093 // #define NF_TYPE_MT29F2G08AACWP 00094 // #define NF_N_DEVICES 2 00095 // 00096 // You have connected one MT29F16G08FAAWC, you shall set 00097 // #define NF_TYPE_MT29F16G08FAAWC 00098 // #define NF_N_DEVICES 2 // 2 because this reference use 2 Chip Select 00099 // 00100 // You have connected two MT29F16G08FAAWC, you shall set 00101 // #define NF_TYPE_MT29F16G08FAAWC 00102 // #define NF_N_DEVICES 4 // 4 because this reference use 2 Chip Select AND you have 2 NandFlash 00103 // 00104 #if 0 00105 --- 00118 00119 #ifndef _CONF_NF_H_ 00120 #define _CONF_NF_H_ 00121 00122 //_____ M A C R O S ________________________________________________________ 00123 00124 //_____ D E F I N I T I O N ________________________________________________ 00125 00126 // Here is the list of the supported Nand Flash 00127 // 00128 // ---- T O S H I B A ---- 00129 // NF_TYPE_TC58DVG02A1FT00 128MB (512B) 3.3 (Not tested) 00130 // NF_TYPE_TC58NVG0S3AFT05 128MB ( 2kB) 3.3 generic driver no supported (Not tested) 00131 // NF_TYPE_TH58NVG1S3AFT05 256MB ( 2kB) 3.3 generic driver no supported (Not tested) 00132 // 00133 // ---- S A M S U N G ---- 00134 // NF_TYPE_K9F1208U0M 64MB (512B) 3.3 00135 // NF_TYPE_K9F1G08U0M 128MB ( 2kB) 3.3 00136 // NF_TYPE_K9F2G08U0M 256MB ( 2kB) 3.3 00137 // NF_TYPE_K9F2G08U0A 256MB ( 2kB) 3.3 generic driver no supported 00138 // NF_TYPE_K9F2G08R0A 256MB ( 2kB) 1.8 generic driver no supported (Not tested) 00139 // NF_TYPE_K9F4G08U0M 2x 256MB ( 2kB) 3.3 generic driver no supported, you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00140 // NF_TYPE_K9F4G08U0A 2x 256MB ( 2kB) 3.3 generic driver no supported, you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00141 // NF_TYPE_K9K4G08U0M 512MB ( 2kB) 3.3 00142 // NF_TYPE_K9K8G08U0M 1024MB ( 2kB) 3.3 generic driver no supported (Not tested) 00143 // NF_TYPE_K9K8G08U0A 1024MB ( 2kB) 3.3 generic driver no supported 00144 // NF_TYPE_K9W8G08U1M 2x 512MB ( 2kB) 3.3 you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00145 // NF_TYPE_K9WAG08U1A 2x 1024MB ( 2kB) 3.3 generic driver no supported, you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00146 // NF_TYPE_K9NBG08U5A 4x 1024MB ( 2kB) 3.3 generic driver no supported, you shall define NF_N_DEVICES at 4 to use all capacity (Not tested) 00147 // 00148 // ---- M I C R O N ------ 00149 // NF_TYPE_MT29F4G08BABWP 512MB ( 2kB) 3.3 00150 // NF_TYPE_MT29F2G08AAAWG 256MB ( 2kB) 3.3 00151 // NF_TYPE_MT29F2G08AABWP 256MB ( 2kB) 3.3 generic driver no supported 00152 // NF_TYPE_MT29F2G08AACWP 256MB ( 2kB) 3.3 00153 // NF_TYPE_MT29F2G08ABCWP 256MB ( 2kB) 1.8 00154 // NF_TYPE_MT29F8G08BAAWP 1024MB ( 2kB) 3.3 (Not tested) 00155 // NF_TYPE_MT29F16G08FAAWP 2x 1024MB ( 2kB) 3.3 you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00156 // NF_TYPE_MT29F16G08FAAWC 2x 1024MB ( 2kB) 3.3 you shall define NF_N_DEVICES at 2 to use all capacity (Not tested) 00157 // 00158 // ---- S T -------------- 00159 // NF_TYPE_NAND01GW3B2A 128MB ( 2kB) 3.3 Not working: stall USB when reading. 00160 // NF_TYPE_NAND128W3A 16MB (512B) 3.3 00161 // 00162 // ---- H Y N I X -------- 00163 // NF_TYPE_HY27UF081G2M 128MB ( 2kB) 3.3 00164 // NF_TYPE_HY27UH08AG5M 2x 1024MB ( 2kB) 3.3 you shall define NF_N_DEVICES at 2 to use all capacity 00165 00171 #define NF_TYPE_MT29F2G08AACWP 00172 00175 #define NF_N_DEVICES 1 00176 00177 00183 #define NF_AUTO_DETECT_2KB FALSE 00184 00185 00190 #define NF_AUTO_DETECT_512B FALSE 00191 00192 00193 #endif // _CONF_NF_H_ 00194 00195 --- 00196 #endif 00197 00198 #endif // _CONF_NF_H_