NAND-FLASH-fangwen
所属分类:单片机开发
开发工具:C/C++
文件大小:2252KB
下载次数:7
上传日期:2012-06-30 12:05:51
上 传 者:
Successan
说明: 文件中包含了在MDK及IAR两种开发工具下的NAND FLASH读写访问驱动代码,已调试通过。
(The file contains the MDK and IAR two development tools under the NAND Flash read and write access to the driver code has been through debugging.)
文件列表:
NAND FLASH fangwen\fsmc_nand.c (18156, 2010-12-21)
NAND FLASH fangwen\fsmc_nand.h (5325, 2010-12-19)
NAND FLASH fangwen\fsmc_nand1.c (20257, 2010-12-19)
NAND FLASH fangwen\fsmc_nand1.h (4897, 2010-12-19)
NAND FLASH fangwen\main.c (8957, 2010-12-19)
NAND FLASH fangwen\Release_Notes_for_STM32F10x_StdPeriph_Template.html (19664, 2010-04-23)
NAND FLASH fangwen\stm32f10x_conf.h (3253, 2010-12-19)
NAND FLASH fangwen\stm32f10x_it.c (4387, 2010-12-19)
NAND FLASH fangwen\stm32f10x_it.h (1917, 2010-12-19)
NAND FLASH fangwen\TrueSTUDIO\note.txt (2108, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\stm32f10x_flash_extsram.ld (4985, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32F10X_XL\.cproject (18609, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32F10X_XL\.project (6414, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32F10X_XL\stm32_flash.ld (4956, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210E-EVAL\.cproject (22640, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210E-EVAL\.project (6565, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210E-EVAL\stm32_flash.ld (4960, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210C-EVAL\.cproject (18942, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210C-EVAL\.project (6565, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210C-EVAL\stm32_flash.ld (4960, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210B-EVAL\.cproject (19303, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210B-EVAL\.project (6418, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM3210B-EVAL\stm32_flash.ld (4960, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32100B-EVAL\.cproject (18914, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32100B-EVAL\.project (6577, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\STM32100B-EVAL\stm32_flash.ld (4957, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\Patch.exe (20480, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\.plugins\org.eclipse.debug.core\.launches\STM32100B-EVAL Debug.launch (3447, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\.plugins\org.eclipse.debug.core\.launches\STM3210B-EVAL Debug.launch (3442, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\.plugins\org.eclipse.debug.core\.launches\STM3210C-EVAL Debug.launch (3442, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\.plugins\org.eclipse.debug.core\.launches\STM3210E-EVAL Debug.launch (3442, 2010-04-23)
NAND FLASH fangwen\TrueSTUDIO\.metadata\.plugins\org.eclipse.debug.core\.launches\STM3210X_XL Debug.launch (3437, 2010-04-23)
NAND FLASH fangwen\RIDE\Project.rapp (92623, 2010-04-23)
NAND FLASH fangwen\RIDE\Project.rprj (289, 2010-04-23)
... ...
/**
@page FSMC_NAND FSMC_NAND
@verbatim
******************** (C) COPYRIGHT 2010 STMicroelectronics *******************
* @file FSMC/NAND/readme.txt
* @author MCD Application Team
* @version V3.3.0
* @date 04/16/2010
* @brief Description of the FSMC NAND Example.
******************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
@par Example Description
This example provides a basic example of how to use the FSMC firmware library and
an associate driver to perform erase/read/write operations on the NAND512W3A2 memory
mounted on STM3210E-EVAL board.
@par Directory contents
- FSMC/NAND/stm32f10x_conf.h Library Configuration file
- FSMC/NAND/stm32f10x_it.c Interrupt handlers
- FSMC/NAND/stm32f10x_it.h Header for stm32f10x_it.c
- FSMC/NAND/main.c Main program
- stm3210e_eval_fsmc_nand.c Driver for NAND memory
- stm3210e_eval_fsmc_nand.h Header for stm3210e_eval_fsmc_nand.c
@par Hardware and Software environment
- This example runs only on STM32F10x High-Density and XL-Density Devices.
- This example has been tested with STMicroelectronics STM3210E-EVAL (High-Density
and XL-Density) evaluation board.
To select the STMicroelectronics evaluation board used to run the example,
uncomment the corresponding line in stm32_eval.h file (under Utilities\STM32_EVAL)
- STM3210E-EVAL Set-up
- This example runs on STMicroelectronics STM3210E-EVAL evaluation board RevD.
@note make sure that the Jumper 7 (JP7) is in position 1<-->2.
@par How to use it ?
In order to make the program work, you must do the following:
- Create a project and setup all project configuration
- Add the required Library files:
- stm32f10x_gpio.c
- stm32f10x_fsmc.c
- stm32f10x_rcc.c
- stm32f10x_exti.c
- stm32f10x_i2c.c
- stm32f10x_spi.c
- misc.c
- stm32f10x_usart.c
- system_stm32f10x.c (under Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x)
- stm32_eval.c (under Utilities\STM32_EVAL)
- stm3210e_eval_fsmc_nand.c (under Utilities\STM32_EVAL\STM3210E_EVAL)
- Edit stm32f10x.h file to select the device you are working on.
- Edit stm32_eval.h file to select the evaluation board you will use.
@b Tip: You can tailor the provided project template to run this example, for
more details please refer to "stm32f10x_stdperiph_lib_um.chm" user
manual; select "Peripheral Examples" then follow the instructions
provided in "How to proceed" section.
- Link all compiled files and load your image into target memory
- Run the example
@note
- Low-density Value line devices are STM32F100xx microcontrollers where the
Flash memory density ranges between 16 and 32 Kbytes.
- Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
- Medium-density Value line devices are STM32F100xx microcontrollers where
the Flash memory density ranges between *** and 128 Kbytes.
- Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between *** and 128 Kbytes.
- High-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 512 and 1024 Kbytes.
- Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
*
© COPYRIGHT 2010 STMicroelectronics
*/
近期下载者:
相关文件:
收藏者: