/******************** (C) COPYRIGHT 2009 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V3.1.0
* Date : 10/30/2009
* Description : Description of the binary 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.
*******************************************************************************/
Description
===================
This directory contains a set of sources files that build the application to be
loaded into Flash memory using device firmware upgrade (DFU).
To build such application, some special configuration has to be peformed:
1. Set the program load address at 0x08003000, using your toolcahin linker file
2. Relocate the vector table at address 0x08003000, using the "NVIC_SetVectorTable"
function.
The SysTick example provided within the STM32F10x Standard Peripheral 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 72 MHz, 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.
Directory contents
==================
+ binary_template\EWARMv5: This folder contains a pre-configured project file
that produces a binary image of SysTick example to
be loaded with DFU.
+ binary_template\RIDE: This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with DFU.
+ binary_template\RVMDK: This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with DFU.
+ binary_template\inc: contains the binary_template firmware header files
- stm32f10x_conf.h Library Configuration file
- stm32f10x_it.h Header for stm32f10x_it.c
- main.h Header for main.c
+ binary_template\src: contains the binary_template firmware source files
- main.c Main program
- stm32f10x_it.c Interrupt handlers
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL, STM3210C-EVAL and
STM3210E-EVAL evaluation boards and can be easily tailored to any other hardware.
The selection of the evaluation board is done through the define into the project
configuration.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 pins
+ STM3210C-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PD.07, PD.13, PD.03
and PD.04 pins
+ STM3210E-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PF.06, PF0.7, PF.08
and PF.09 pins
How to use it
=============
In order to load the SysTick example with the DFU, you must do the following:
+ EWARMv5
- Open the SysTick.eww workspace
- In the workspace toolbar select the project config:
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity-Line devices
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->Rebuild all
- Go to "Utilities\Binary" and run "hextobin.bat"
- A binary file "SysTick.bin" will be generated under "STM3210E-EVAL\Exe" or
"STM3210C-EVAL\Exe" or "STM3210B-EVAL\Exe" folder depending on configuration
you selected
+ RIDE
- Open the SysTick.rprj project
- In the configuration toolbar(Project->properties) select the project config:
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity-Line devices
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->build project
- Go to "Utilities\Binary" and run "hextobin.bat"
- A binary file "SysTick.bin" will be generated under "\STM3210E_EVAL"
or "\STM3210C_EVAL" or "\STM3210B_EVAL" folder depending on configuration
you selected
+ RVMDK
- Open the SysTick.Uv2 project
- In the build toolbar select the project config:
- STM3210B-EVAL: to configure the project for STM32 Medium-density devices
- STM3210C-EVAL: to configure the project for STM32 Connectivity-Line devices
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->Rebuild all target files
- Go to "Utilities\Binary" and run "axftobin.bat"
- A binary file "STM3210B-EVAL_SysTick.bin" or "STM3210C-EVAL_SysTick.bin" or
"STM3210E-EVAL_SysTick.bin" will be generated under "\Obj" folder
+ The generated .bin file should be converted to the DFU format using the DFU File
Manager Tool included in the DfuSe PC software install. For more details on
how to convert a .bin file to DFU format please refer to the UM0412 user manual
Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension
available from the STMicroelectronics microcontroller website www.st.com.
NOTE:
- Low-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 16 and 32 Kbytes.
- Medium-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 32 and 128 Kbytes.
- High-density devices are STM32F101xx and STM32F103xx microcontrollers where
the Flash memory density ranges between 256 and 512 Kbytes.
- Connectivity-Line devices are STM32F105xx and STM32F107xx microcontrollers.
******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE******
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
STM32F107 USB从设备模式程序V1.0 (297个子文件)
AudioStreaming_uvopt.bak 70KB
AudioStreaming_uvproj.bak 43KB
AudioStreaming.Uv2.bak 8KB
AudioStreaming.opt.bak 7KB
hextobin.bat 1KB
axftobin.bat 971B
stm32f10x_tim.c 102KB
sdcard.c 96KB
stm32f10x_rcc.c 48KB
stm32f10x_adc.c 46KB
stm3210c_eval_ioe.c 44KB
stm3210b_eval_lcd.c 39KB
otgd_fs_cal.c 38KB
stm32f10x_i2c.c 37KB
stm32f10x_fsmc.c 34KB
stm32f10x_usart.c 34KB
usb_core.c 32KB
stm32f10x_can.c 31KB
system_stm32f10x.c 30KB
stm32f10x_spi.c 29KB
usb_regs.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_dma.c 27KB
msd.c 27KB
stm3210e_eval_lcd.c 27KB
stm3210c_eval_lcd.c 26KB
stm32f10x_flash.c 26KB
otgd_fs_int.c 26KB
usb_prop.c 22KB
fsmc_nand.c 20KB
stm32f10x_gpio.c 19KB
spi_flash.c 18KB
nand_if.c 17KB
core_cm3.c 17KB
fsmc_nor.c 17KB
hw_config.c 16KB
usb_desc.c 16KB
hw_config.c 16KB
hw_config.c 15KB
audio_codec_cs43l22.c 14KB
usb_prop.c 14KB
usb_scsi.c 14KB
hw_config.c 14KB
stm32_eval.c 14KB
usb_prop.c 14KB
usb_prop.c 14KB
stm32f10x_dac.c 14KB
otgd_fs_dev.c 14KB
hw_config.c 14KB
usb_prop.c 14KB
usb_desc.c 14KB
usb_istr.c 13KB
usb_desc.c 13KB
otgd_fs_pcd.c 12KB
usb_istr.c 12KB
usb_istr.c 11KB
usb_istr.c 11KB
usb_istr.c 11KB
usb_istr.c 11KB
hw_config.c 11KB
usb_bot.c 11KB
stm32f10x_it.c 11KB
usb_prop.c 11KB
stm32f10x_it.c 10KB
stm32f10x_it.c 9KB
stm32f10x_it.c 9KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
usb_desc.c 8KB
usb_pwr.c 8KB
stm32f10x_it.c 8KB
stm32f10x_it.c 8KB
usb_pwr.c 8KB
usb_pwr.c 8KB
usb_pwr.c 8KB
usb_pwr.c 8KB
usb_pwr.c 8KB
dfu_mal.c 7KB
mass_mal.c 7KB
usb_desc.c 7KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_it.c 6KB
usb_endp.c 6KB
usb_int.c 6KB
stm32f10x_wwdg.c 6KB
memory.c 5KB
main.c 5KB
usb_sil.c 5KB
usb_desc.c 5KB
stm32f10x_iwdg.c 5KB
stm32f10x_dbgmcu.c 4KB
main.c 4KB
spi_if.c 4KB
nor_if.c 4KB
scsi_data.c 4KB
flash_if.c 4KB
main.c 4KB
usb_mem.c 3KB
共 297 条
- 1
- 2
- 3
资源评论
- xiaoroc2013-02-28STM32F107 USB从设备模式程序V1.0 现在的例子都是在103上实现的 这个是在107互联性控制器上实现USB 的例子 并且使用的是V1.0的库 现在官方例程v2.1的感觉不是很好用
- qq_344053962017-11-20完全是抄袭官网的,还要分,坑
- jasonozhao2013-08-12太有用的,谢谢
biao106
- 粉丝: 1
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功