/******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V3.2.1
* Date : 07/05/2010
* 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\MDK-ARM: This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with DFU.
+ binary_template\HiTOP: This folder contains a pre-configured project file
that produces a binary image of SysTick example to be
loaded with DFU.
+ binary_template\TrueSTUDIO: 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
- STM3210E-EVAL_XL: to configure the project for STM32 XL-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
- STM3210E-EVAL_XL: to configure the project for STM32 XL-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
+ MDK-ARM
- Open the SysTick.uvproj 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
- STM3210E-EVAL_XL: to configure the project for STM32 XL-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
+ 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 STM32F10C_EVAL directory: to select the project for STM32 Connectivity-Line devices.
- under STM32F10E_EVAL directory: to select the project for STM32 High-density devices
- under STM32F10E_EVAL_XL directory: to select the project for STM32 XL-density devices
- "Download application" window is displayed, click "cancel".
- Rebuild all files: Project->Rebuild all
- Go to "Utilities\Binary" directory and run "hex2bin.bat"
- A binary file "Project.bin" will be generated in the project folder
+ TrueSTUDIO
- Open the TrueSTUDIO toolchain.
- Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace
directory.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to the TrueSTUDIO workspace directory and select the project:
- STM3210B-EVAL: to load the project for STM32 Medium-density devices
- STM3210C-EVAL: to load the project for STM32 Connectivity line devices
- STM3210E-EVAL: to load the project for STM32 High-density devices
- STM3210E_EVAL_XL: to load the project for STM32 XL-density devices
- Rebuild all project files: Select the project in the "Project explorer"
window then click
on Project->build project menu.
- Go to
没有合适的资源?快使用搜索试试~ 我知道了~
STM32_USB-FS-Device_Lib_V3.2.1
共786个文件
h:139个
c:126个
scr:87个
5星 · 超过95%的资源 需积分: 33 86 下载量 192 浏览量
2011-03-06
10:43:30
上传
评论 2
收藏 3.79MB ZIP 举报
温馨提示
STM32_USB-FS-Device_Lib_V3.2.1
资源推荐
资源详情
资源评论
收起资源包目录
STM32_USB-FS-Device_Lib_V3.2.1 (786个子文件)
MassStorageSimpleBuffer.abs 1.12MB
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
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
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
hextobin.bat 2KB
TrueSTUDIO_elf2bin.bat 1KB
axftobin.bat 1KB
logo.bmp 7KB
stm32f10x_tim.c 105KB
stm32_eval_sdio_sd.c 90KB
stm32f10x_flash.c 62KB
i2s_codec.c 55KB
stm32100b_eval_lcd.c 54KB
stm3210b_eval_lcd.c 54KB
stm32f10x_rcc.c 50KB
stm32100b_eval_cec.c 48KB
fonts.c 46KB
stm32f10x_adc.c 46KB
stm3210c_eval_ioe.c 45KB
stm32f10x_i2c.c 43KB
stm3210e_eval_lcd.c 40KB
stm3210c_eval_lcd.c 39KB
stm32f10x_usart.c 37KB
otgd_fs_cal.c 36KB
stm32f10x_fsmc.c 34KB
usb_core.c 32KB
system_stm32f10x.c 31KB
stm32f10x_can.c 31KB
stm32f10x_spi.c 29KB
usb_regs.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_dma.c 27KB
stm32_eval_spi_sd.c 25KB
stm32_eval_i2c_ee.c 23KB
stm3210e_eval.c 22KB
usb_prop.c 22KB
otgd_fs_int.c 22KB
stm32100b_eval.c 21KB
stm3210b_eval.c 21KB
stm3210c_eval.c 20KB
fsmc_nand.c 20KB
stm32_eval_i2c_tsensor.c 19KB
stm32f10x_gpio.c 19KB
stm32f10x_dac.c 19KB
spi_flash.c 18KB
stm3210e_eval_fsmc_nand.c 18KB
hw_config.c 17KB
nand_if.c 17KB
core_cm3.c 17KB
fsmc_nor.c 17KB
hw_config.c 17KB
usb_desc.c 17KB
hw_config.c 16KB
stm32_eval_spi_flash.c 16KB
hw_config.c 15KB
stm3210e_eval_fsmc_nor.c 14KB
audio_codec_cs43l22.c 14KB
usb_prop.c 14KB
usb_scsi.c 14KB
usb_prop.c 14KB
usb_prop.c 14KB
hw_config.c 14KB
usb_prop.c 14KB
usb_desc.c 14KB
otgd_fs_dev.c 13KB
usb_desc.c 13KB
usb_istr.c 13KB
system_stm32f10x.c 12KB
usb_istr.c 12KB
hw_config.c 12KB
共 786 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
aPing123
- 粉丝: 2
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于STM32F103C8T6单片机蓄电池在线监测系统主板硬件(原理图+PCB)工程文件.zip
- mysql大纲资料.txt
- c++大纲资料.txt
- 效率工具bat脚本实现日志提取
- MyBatis 中动态 SQL 的示例
- STM8L101F3P6单片机+CC1100模块433M遥控器设计硬件(原理图+PCB)工程文件.zip
- 上传下载铁人下载系统 Liuxing 1.0-liuxing1.0.rar
- 南京邮电大学数学实验实力雄厚,凭借其优秀的师资力量、丰富的实践教学资源和卓越的科研成果,成为国内一流的数学实验教学和科研基地
- 【火爆朋友圈的今天吃什么源码 v1.0】随机的为用户带来每一天的用餐选择和推荐.rar
- MPU6050中文版数据手册
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页