Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Project/STM32F10x_StdPeriph_Examples/FLASH/Program/readme.txt @ 0:c59513fd84fb
Initial commit of STM32 test code.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 03 Oct 2011 21:19:15 +1030 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c59513fd84fb |
---|---|
1 /** | |
2 @page FLASH_Program FLASH Program example | |
3 | |
4 @verbatim | |
5 ******************** (C) COPYRIGHT 2011 STMicroelectronics ******************* | |
6 * @file FLASH/Program/readme.txt | |
7 * @author MCD Application Team | |
8 * @version V3.5.0 | |
9 * @date 08-April-2011 | |
10 * @brief Description of the FLASH Program example. | |
11 ****************************************************************************** | |
12 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS | |
13 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE | |
14 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY | |
15 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING | |
16 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE | |
17 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. | |
18 ****************************************************************************** | |
19 @endverbatim | |
20 | |
21 @par Example Description | |
22 | |
23 This example provides a description of how to program the STM32F10x FLASH. | |
24 | |
25 After Reset, the Flash memory Program/Erase Controller is locked. To unlock it, | |
26 the FLASH_Unlock function is used. | |
27 Before programming the desired addresses, an erase operation is performed using | |
28 the flash erase page feature. The erase procedure starts with the calculation of | |
29 the number of pages to be used. Then all these pages will be erased one by one by | |
30 calling FLASH_ErasePage function. | |
31 | |
32 Once this operation is finished, the programming operation will be performed by | |
33 using the FLASH_ProgramWord function. The written data is then checked and the | |
34 result of the programming operation is stored into the MemoryProgramStatus variable. | |
35 | |
36 @par Directory contents | |
37 | |
38 - FLASH/Program/stm32f10x_conf.h Library Configuration file | |
39 - FLASH/Program/stm32f10x_it.h Interrupt handlers header file | |
40 - FLASH/Program/stm32f10x_it.c Interrupt handlers | |
41 - FLASH/Program/main.c Main program | |
42 - FLASH/Program/system_stm32f10x.c STM32F10x system source file | |
43 | |
44 @par Hardware and Software environment | |
45 | |
46 - This example runs on STM32F10x Connectivity line, High-Density, Medium-Density, | |
47 XL-Density, High-Density Value line, Medium-Density Value line, Low-Density | |
48 and Low-Density Value line Devices. | |
49 | |
50 - This example has been tested with STMicroelectronics STM32100E-EVAL (High-Density | |
51 Value line), STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL | |
52 (Connectivity line), STM3210E-EVAL (High-Density and XL-Density) and | |
53 STM3210B-EVAL (Medium-Density) evaluation boards and can be easily tailored | |
54 to any other supported device and development board. | |
55 | |
56 @par How to use it ? | |
57 | |
58 In order to make the program work, you must do the following : | |
59 - Copy all source files from this example folder to the template folder under | |
60 Project\STM32F10x_StdPeriph_Template | |
61 - Open your preferred toolchain | |
62 - Rebuild all files and load your image into target memory | |
63 - Run the example | |
64 | |
65 @note | |
66 - Low-density Value line devices are STM32F100xx microcontrollers where the | |
67 Flash memory density ranges between 16 and 32 Kbytes. | |
68 - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx | |
69 microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. | |
70 - Medium-density Value line devices are STM32F100xx microcontrollers where | |
71 the Flash memory density ranges between 64 and 128 Kbytes. | |
72 - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx | |
73 microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes. | |
74 - High-density Value line devices are STM32F100xx microcontrollers where | |
75 the Flash memory density ranges between 256 and 512 Kbytes. | |
76 - High-density devices are STM32F101xx and STM32F103xx microcontrollers where | |
77 the Flash memory density ranges between 256 and 512 Kbytes. | |
78 - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where | |
79 the Flash memory density ranges between 512 and 1024 Kbytes. | |
80 - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers. | |
81 | |
82 * <h3><center>© COPYRIGHT 2011 STMicroelectronics</center></h3> | |
83 */ |