/**
@page binary_template AN2557 Binary Template Readme file
@verbatim
******************** (C) COPYRIGHT 2010 STMicroelectronics *******************
* @file IAP/binary_template/readme.txt
* @author MCD Application Team
* @version V3.3.0
* @date 10/15/2010
* @brief Description of the binary_template directory.
******************************************************************************
* 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 Description
This directory contains a set of sources files that build the application to be
loaded into Flash memory using In-Application Programming (IAP, through USART).
To build such application, some special configuration has to be peformed:
1. Set the program load address at 0x08003000, using your toolchain linker file.
2. Relocate the vector table at address 0x08003000, using
the "NVIC_SetVectorTable" function.
The SysTick example provided within the STM32F10x Standard Peripherals library
examples is used as illustration.
This example configures the SysTick to generate a time base equal to 1 ms.
The system clock is set to the maximum system frequency, the SysTick is clocked by
the AHB clock (HCLK). A "Delay" function is implemented based on the SysTick
end-of-count event.
Four LEDs are toggled with a timing defined by the Delay function.
@par Directory contents
- "IAP\binary_template\EWARM": This folder contains a pre-configured project file
that produces a binary image of SysTick example to
be loaded with IAP.
- "IAP\binary_template\RIDE": This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with IAP.
- "IAP\binary_template\MDK-ARM": This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with IAP.
- "IAP\binary_template\HiTOP": This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with IAP.
- "IAP\binary_template\TrueSTUDIO": This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with IAP.
- "IAP\binary_template\inc": contains the binary_template firmware header files
- IAP/binary_template/inc/stm32f10x_conf.h Library Configuration file
- IAP/binary_template/inc/stm32f10x_it.h Header for stm32f10x_it.c
- IAP/binary_template/inc/main.h Header for main.c
- "IAP\binary_template\src": contains the binary_template firmware source files
- IAP/binary_template/src/main.c Main program
- IAP/binary_template/src/stm32f10x_it.c Interrupt handlers
- IAP/binary_template/src/system_stm32f10x.c STM32F10x system source file
@par Hardware and Software environment
- This example runs on STM32F10x Connectivity line, High-Density, High-Density
Value line, Medium-Density, XL-Density, Medium-Density Value line, Low-Density
and Low-Density Value line Devices.
- This example has been tested with STMicroelectronics STM32100E-EVAL (High-Density
Value line), STM32100B-EVAL (Medium-Density Value line), STM3210C-EVAL (Connectivity line),
STM3210E-EVAL (High-Density and XL-Density), STM3210B-EVAL (Medium-Density)
and STM3210E-EVAL (High-Density Value line) evaluation boards and can be easily
tailored to any other supported device and development 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)
- STM32100E-EVAL Set-up
- Use LED1, LED2, LED3 and LED4 connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
- STM32100B-EVAL Set-up
- Use LED1, LED2, LED3 and LED4 connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
- STM3210C-EVAL Set-up
- Use LED1, LED2, LED3 and LED4 connected respectively to PD.07, PD.13, PF.03
and PD.04 pins
- STM3210E-EVAL Set-up
- Use LED1, LED2, LED3 and LED4 connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
- STM3210B-EVAL Set-up
- Use LED1, LED2, LED3 and LED4 connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
@par How to use it ?
In order to load the SysTick example with the IAP, you must do the following:
- EWARM (v5.50 and later):
- Open the SysTick.eww workspace
- In the workspace toolbar select the project config:
- STM32100E-EVAL: to configure the project for STM32 High-density Value line devices
- STM3210E-EVAL_XL: to configure the project for STM32 XL-density devices
- STM32100B-EVAL: to configure the project for STM32 Medium-Density Value line devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->Rebuild all
- A binary file "SysTick.bin" will be generated under "STM3210E-EVAL_XL\Exe",
"STM32100B-EVAL\Exe", "STM3210C-EVAL\Exe", "STM3210E-EVAL\Exe", "STM3210B-EVAL\Exe"
or "STM32100E-EVAL\Exe" folder depending on the selected configuration.
- Finally load this image with IAP application
- RIDE:
- Open the SysTick.rprj project
- In the configuration toolbar(Project->properties) select the project config:
- STM32100E-EVAL: to configure the project for STM32 High-density Value line devices
- STM3210E-EVAL_XL: to configure the project for STM32 XL-density devices
- STM32100B-EVAL: to configure the project for STM32 Medium-Density Value line devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->build project
- Go to "Utilities\Binary" directory and run "hextobin.bat"
- A binary file "SysTick.bin" will be generated under "\STM3210E-EVAL_XL", "\STM32100B-EVAL",
"\STM32100B-EVAL", "\STM3210C-EVAL", \STM3210E-EVAL", "\STM3210B-EVAL" or "\STM32100E-EVAL"
folder depending on the selected configuration.
- Finally load this image with IAP application
- MDK-ARM:
- Open the SysTick.uvproj project
- In the build toolbar select the project config:
- STM32100E-EVAL: to configure the project for STM32 High-density Value line devices
- STM3210E-EVAL_XL: to configure the project for STM32 XL-density devices
- STM32100B-EVAL: to configure the project for STM32 Medium-Density Value line devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity line devices
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210E
没有合适的资源?快使用搜索试试~ 我知道了~
Stm32BootLoader参考
共434个文件
h:93个
c:92个
s:48个
5星 · 超过95%的资源 需积分: 41 291 下载量 128 浏览量
2016-03-03
00:05:45
上传
评论 3
收藏 6.63MB RAR 举报
温馨提示
1.Bootloader程序 2.userApplication程序 3.官方IAP程序。 4.官方IAP协议解析文档(Ymodem)
资源推荐
资源详情
资源评论
收起资源包目录
Stm32BootLoader参考 (434个子文件)
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
cstart_thumb2.asm 4KB
setstack.asm 66B
setstack.asm 66B
setstack.asm 66B
setstack.asm 66B
setstack.asm 66B
setstack.asm 66B
test.axf 381KB
TrueSTUDIO_elf2bin.bat 1KB
hextobin.bat 1KB
axftobin.bat 1KB
logo.bmp 7KB
stm32f10x_tim.c 107KB
stm32f10x_tim.c 106KB
stm32_eval_sdio_sd.c 90KB
stm32f10x_flash.c 61KB
stm32f10x_flash.c 61KB
stm32100b_eval_lcd.c 54KB
stm3210b_eval_lcd.c 54KB
stm32f10x_rcc.c 50KB
stm32f10x_rcc.c 50KB
stm3210c_eval_ioe.c 49KB
stm32100e_eval_cec.c 48KB
stm32100b_eval_cec.c 48KB
stm32f10x_adc.c 46KB
fonts.c 46KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_i2c.c 43KB
stm32100e_eval_ioe.c 42KB
stm32100e_eval_lcd.c 40KB
stm3210e_eval_lcd.c 40KB
stm3210c_eval_lcd.c 39KB
stm32f10x_usart.c 37KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_can.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_fsmc.c 34KB
system_stm32f10x.c 32KB
system_stm32f10x.c 32KB
stm32f10x_spi.c 30KB
stm32f10x_spi.c 29KB
stm32_eval_i2c_ee.c 29KB
stm32f10x_dma.c 29KB
stm32f10x_dma.c 29KB
stm32_eval_i2c_tsensor.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_sdio.c 28KB
stm32100e_eval.c 26KB
stm32_eval_spi_sd.c 25KB
stm32f10x_gpio.c 23KB
stm32f10x_gpio.c 22KB
stm3210e_eval.c 22KB
stm32100b_eval.c 21KB
stm3210b_eval.c 21KB
stm3210c_eval.c 20KB
stm32f10x_dac.c 19KB
stm32f10x_dac.c 19KB
stm3210e_eval_fsmc_nand.c 17KB
core_cm3.c 17KB
stm32_eval_spi_flash.c 16KB
ymodem.c 15KB
stm3210e_eval_fsmc_nor.c 15KB
stm32100e_eval_fsmc_onenand.c 13KB
stm32f10x_cec.c 11KB
stm32f10x_cec.c 11KB
common.c 11KB
stm32f10x_pwr.c 9KB
stm32f10x_pwr.c 8KB
stm32f10x_rtc.c 8KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
stm32f10x_bkp.c 8KB
bsp_spi.c 8KB
stm32100e_eval_fsmc_sram.c 7KB
stm3210e_eval_fsmc_sram.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
main.c 6KB
bsp_iic.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_wwdg.c 6KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
共 434 条
- 1
- 2
- 3
- 4
- 5
千斤拨四两
- 粉丝: 13
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页