/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V2.2.0
* Date : 06/13/2008
* 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 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 Firmware library 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)
divided by 8.
A "Delay" function is implemented based on the SysTick end-of-count event.
Four LEDs connected to the GPIO_LED Pin 6, Pin 7, Pin 8 and Pin 9 are toggled
with a timing defined by the Delay function.
Directory contents
==================
+ template project
- EWARMv4: This folder contains a pre-configured project file that produces
a binary image of SysTick example to be loaded with DFU.
- EWARMv5: This folder contains a pre-configured project file that produces
a binary image of SysTick example to be loaded with DFU.
- RIDE: This folder contains a pre-configured project file that produces a
binary image of SysTick example to be loaded with DFU.
- RVMDK: This folder contains a pre-configured project file that produces a
binary image of SysTick example to be loaded with DFU.
- HiTOP: This folder contains a pre-configured project file that produces a
binary image of SysTick example to be loaded with DFU.
+ platform_config.h Evaluation board specific configuration file
+ stm32f10x_conf.h Library Configuration file
+ stm32f10x_it.c Interrupt handlers
+ stm32f10x_it.h Header for stm32f10x_it.c
+ main.c Main program
+ main.h Header for main.c
Hardware environment
====================
This example runs on STMicroelectronics STM3210B-EVAL and STM3210E-EVAL evaluation
boards and can be easily tailored to any other hardware.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
+ STM3210B-EVAL
- Use LD1, LD2, LD3 and LD4 leds connected respectively to PC.06, PC.07, PC.08
and PC.09 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:
+ EWARMv4
- Open the SysTick.eww workspace
- In the workspace toolbar select the project config:
- 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\Exe" or
"STM3210B-EVAL\Exe" folder depending on configuration you selected
+ 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
- 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\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
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->build project
- Run "hextobin.bat"
- A binary file "SysTick.bin" will be generated under "\STM3210E_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
- STM3210E-EVAL: to configure the project for STM32 High-density devices
- Rebuild all files: Project->Rebuild all target files
- Run "axftobin.bat"
- A binary file "STM3210B-EVAL_SysTick.bin" or "STM3210E-EVAL_SysTick.bin"
will be generated under "\Obj" folder
+ HiTOP
- Open the HiTOP toolchain, a "using projects in HiTOP" window appears.
- Select open an existing project.
- Browse to open the SysTick.htp:
- under STM32F10B_EVAL directory: to select the project for STM32 Medium-density devices.
- under STM32F10E_EVAL directory: to select the project for STM32 High-density devices
- Rebuild all files: Project->Rebuild all
- Load the project: Click on ok in the "download project" window.
- Run "hextobin.bat"
- A binary file "SysTick.bin" will be generated under "\STM32F10E_EVAL\Objects"
or "\STM32F10B_EVAL\Objects" folder depending on the directory selected above
+ 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:
- 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.
******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE******
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
修改后的stm32 usb演示程序 (1090个子文件)
stm32f10x_flash.__i 362B
stm32f10x_gpio.__i 358B
stm32f10x_nvic.__i 358B
stm32f10x_exti.__i 358B
stm32f10x_lib.__i 354B
stm32f10x_pwr.__i 354B
stm32f10x_rcc.__i 354B
stm32f10x_it.__i 330B
usb_init.__i 325B
usb_core.__i 325B
usb_regs.__i 325B
usb_int.__i 321B
usb_mem.__i 321B
i2s_codec.__i 318B
usb_istr.__i 314B
usb_prop.__i 314B
usb_desc.__i 314B
usb_pwr.__i 310B
main.__i 298B
stm32f10x_vector._ia 190B
cortexm3_macro._ia 184B
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cortexm3_macro.asm 12KB
cstart_thumb2.asm 7KB
cstart_thumb2.asm 7KB
cstart_thumb2.asm 7KB
cstart_thumb2.asm 7KB
cstart_thumb2.asm 7KB
cstart_thumb2.asm 7KB
initvectortable.asm 6KB
initvectortable.asm 5KB
initvectortable.asm 5KB
initvectortable.asm 5KB
initvectortable.asm 5KB
initvectortable.asm 5KB
initvectortable.asm 5KB
cstart_thumb2.asm 3KB
inithardware.asm 373B
inithardware.asm 373B
inithardware.asm 373B
inithardware.asm 373B
inithardware.asm 373B
inithardware.asm 373B
inithardware.asm 373B
STM3210E-EVAL.axf 293KB
STM3210B-EVAL.axf 247KB
STM3210E-EVAL.axf 209KB
STM3210E-EVAL.axf 207KB
STM3210E-EVAL.axf 206KB
STM3210B-EVAL.axf 206KB
STM3210E-EVAL.axf 181KB
STM3210E-EVAL.axf 174KB
STM3210B-EVAL.axf 174KB
MassStorageSimpleBuffer_Uv2.Bak 7KB
MassStorageSimpleBuffer_Opt.Bak 7KB
DFU_Uv2.Bak 7KB
AudioSpeaker_Uv2.Bak 7KB
Custom_HID_Uv2.Bak 7KB
JoyStickMouse_Uv2.Bak 6KB
VirtualCOMPort_Uv2.Bak 6KB
DFU_Opt.Bak 6KB
AudioSpeaker_Opt.Bak 5KB
VirtualCOMPort_Opt.Bak 5KB
JoyStickMouse_Opt.Bak 5KB
Custom_HID_Opt.Bak 5KB
STM3210E-EVAL_sct.Bak 479B
AudioSpeaker.cspy.bat 2KB
STM3210B-EVAL.BAT 1KB
axftobin.bat 288B
hextobin.bat 205B
hextobin.bat 169B
stm32f10x_tim.c 128KB
sdcard.c 94KB
stm32f10x_adc.c 57KB
i2s_codec.c 54KB
stm32f10x_i2c.c 46KB
stm32f10x_rcc.c 43KB
stm32f10x_usart.c 42KB
stm32f10x_fsmc.c 41KB
stm32f10x_sdio.c 38KB
stm32f10x_spi.c 34KB
stm32f10x_dma.c 33KB
stm32f10x_flash.c 32KB
stm32f10x_can.c 31KB
usb_core.c 30KB
stm32f10x_it.c 30KB
stm32f10x_it.c 30KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 29KB
stm32f10x_it.c 28KB
stm32f10x_nvic.c 28KB
usb_regs.c 28KB
msd.c 28KB
共 1090 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11
资源评论
- 听雨跳舞2012-11-16不错的范例程序,可以正常使用,应用的话还要自己改进
- fping2015-12-01很好,可以借鉴,自己修改
jack314660672
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C#ASP.NET学生选课成绩管理系统源码数据库 SQL2012源码类型 WebForm
- rime输入法-下载 RIME/中州韻輸入法引擎,是一個跨平臺的輸入法算法框架 基於這一框架,Rime 開發者與其他開源社區的參與者在 Windows、macOS、Linux、Android 等平
- Java实现的离线单机中国象棋游戏.zip
- Animatext - Text Animation System 1.1.0
- Java实现的狼人杀小游戏.zip资源代码
- 工具变量上市公司企业数字化转型指数数据集.xlsx
- All In 1 Sprite Shader 3.711
- JAVA实现的飞机大战小游戏-Asteroids game.zip
- Map and Minimap v1.14
- 2bizbox自动备份
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功