STM32_USB_LIB_INC-DEMOS_3.1.1
所属分类:其他嵌入式/单片机内容
开发工具:C/C++
文件大小:2532KB
下载次数:294
上传日期:2010-05-11 04:58:53
上 传 者:
killah51
说明: Really good STM32 USB LIB!
Demos are Included - CDC, HID, MassStorage and and and
文件列表:
STM32_USB-FS-Device_Lib_V3.1.1 (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3 (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\core_cm3.c (17206, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\core_cm3.h (46533, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\arm (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_cl.s (15600, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_hd.s (15872, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_ld.s (12164, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_md.s (12564, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\gcc (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_cl.s (12917, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.s (13560, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_ld.s (9830, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_md.s (10340, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\iar (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_cl.s (16309, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_hd.s (16709, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_ld.s (12333, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s (12594, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\stm32f10x.h (593572, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\system_stm32f10x.c (30622, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\CM3\system_stm32f10x.h (2404, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\Documentation (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\Core\Documentation\CMSIS_Core.htm (52463, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\CMSIS\License.doc (39936, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc (0, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h (8893, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h (21441, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h (7466, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h (20503, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h (2073, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h (13775, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h (3134, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h (20573, 2010-04-08)
STM32_USB-FS-Device_Lib_V3.1.1\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h (6682, 2010-04-08)
... ...
/******************** (C) COPYRIGHT 2010 STMicroelectronics ********************
* File Name : readme.txt
* Author : MCD Application Team
* Version : V3.1.1
* Date : 04/07/2010
* Description : Description of the USB Custom_HID Demo.
********************************************************************************
* 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.
*******************************************************************************/
Example description
===================
This Demo provides a description of how to use the USB-FS-Device on the STM32F10x
devices.
The STM32F10x device is enumerated as HID compliant device, that uses the native
PC Host USB-FS-Device HID driver.
More details about this Demo implementation is given in the User manual
"UM0424 STM32F10xxx USB development kit", available for download from the ST
microcontrollers website: www.st.com/stm32
Directory contents
==================
+ \inc: contains the Demo firmware header files
+ \EWARMv5: contains pre-configured projects for EWARM5 toolchain
+ \RIDE: contains pre-configured projects for RIDE toolchain
+ \RVMDK: contains pre-configured projects for RVMDK toolchain
+ \HiTOP: contains pre-configured projects for HiTOP toolchain
+ \src: contains the Demo firmware source files
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.
To select the STMicroelectronics evaluation board used to run the example, uncomment
the corresponding line in platform_config.h file.
How to use it
=============
+ RVMDK
- Open the Custom_HID.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
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
+ EWARM5
- Open the Custom_HID.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
- Load project image: Project->Debug
- Run program: Debug->Go(F5)
+ RIDE
- Open the Custom_HID.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
- Load project image: Debug->start(ctrl+D)
- Run program: Debug->Run(ctrl+F9)
+ HiTOP
- Open the HiTOP toolchain, a "using projects in HiTOP" window appears.
- Select open an existing project.
- Browse to open the Custom_HID.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
- Rebuild all files: Project->Rebuild all
- Click on ok in the "download project" window.
- Run program: Debug->Go(F5).
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 2010 STMicroelectronics *****END OF FILE******
近期下载者:
相关文件:
收藏者: