/**
@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
没有合适的资源?快使用搜索试试~ 我知道了~
基于YModem协议STM32F10x-IAP例程
共473个文件
h:61个
c:60个
s:40个
4星 · 超过85%的资源 需积分: 5 39 下载量 124 浏览量
2018-09-04
15:38:04
上传
评论 3
收藏 5.85MB RAR 举报
温馨提示
此例程用于学习基于YModem协议升级单片机代码是极好的,对应《STM32F103代码远程升级(三)基于YModem协议串口升级程序的实现》博客里的内容,稍加修改就可以改成自己想要的工程代码。
资源推荐
资源详情
资源评论
收起资源包目录
基于YModem协议STM32F10x-IAP例程 (473个子文件)
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
STM32100E-EVAL.axf 351KB
IAP_uvopt.bak 186KB
IAP_uvproj.bak 185KB
STM32100E-EVAL_sct.Bak 479B
IAP.STM3210E-EVAL.cspy.bat 2KB
TrueSTUDIO_elf2bin.bat 1KB
hextobin.bat 1KB
axftobin.bat 1KB
logo.bmp 7KB
IAP.pbd.browse 819KB
stm32f10x_tim.c 106KB
stm32_eval_sdio_sd.c 90KB
stm32f10x_flash.c 61KB
stm32100b_eval_lcd.c 54KB
stm3210b_eval_lcd.c 54KB
stm32f10x_rcc.c 50KB
stm3210c_eval_ioe.c 49KB
stm32100e_eval_cec.c 48KB
stm32100b_eval_cec.c 48KB
fonts.c 46KB
stm32f10x_adc.c 46KB
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_can.c 36KB
stm32f10x_fsmc.c 34KB
system_stm32f10x.c 32KB
system_stm32f10x.c 32KB
stm32f10x_spi.c 29KB
stm32_eval_i2c_ee.c 29KB
stm32f10x_dma.c 29KB
stm32_eval_i2c_tsensor.c 29KB
stm32f10x_sdio.c 28KB
stm32100e_eval.c 26KB
stm32_eval_spi_sd.c 25KB
stm32f10x_gpio.c 22KB
stm3210e_eval.c 22KB
stm32100b_eval.c 21KB
stm3210b_eval.c 21KB
stm3210c_eval.c 20KB
stm32f10x_dac.c 19KB
stm3210e_eval_fsmc_nand.c 17KB
ymodem.c 17KB
core_cm3.c 17KB
stm32_eval_spi_flash.c 16KB
stm3210e_eval_fsmc_nor.c 15KB
stm32100e_eval_fsmc_onenand.c 13KB
stm32f10x_cec.c 11KB
common.c 11KB
stm32f10x_pwr.c 8KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
stm32100e_eval_fsmc_sram.c 7KB
stm3210e_eval_fsmc_sram.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
main.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_it.c 4KB
stm32f10x_it.c 4KB
main.c 4KB
stm32f10x_crc.c 3KB
stm32_eval.c 3KB
download.c 3KB
upload.c 2KB
stm32f10x_usart.pbi.cout 12KB
stm32f10x_flash.pbi.cout 12KB
stm32f10x_gpio.pbi.cout 12KB
stm32f10x_exti.pbi.cout 12KB
stm32f10x_rcc.pbi.cout 12KB
misc.pbi.cout 12KB
core_cm3.pbi.cout 12KB
system_stm32f10x.pbi.cout 12KB
stm32_eval.pbi.cout 12KB
stm32f10x_it.pbi.cout 12KB
download.pbi.cout 12KB
upload.pbi.cout 12KB
共 473 条
- 1
- 2
- 3
- 4
- 5
资源评论
- jing0075202019-09-19调试可用,升级成功,但是接收完全后,返回有点bug
微芯供氧
- 粉丝: 3825
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功