STM32

所属分类:单片机开发
开发工具:C/C++
文件大小:454KB
下载次数:94
上传日期:2012-08-03 11:10:24
上 传 者huangcx6
说明:  这个是STM32 USB 下位机的程序源码,想学STM32 USB的同学必看资料呀
(STM32 USB machine program source code, and want to learn STM32 USB students must see the information.)

文件列表:
Firmware\Libraries\CMSIS\Core\CM3\core_cm3.c (16249, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\core_cm3.h (42077, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_hd.s (15872, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_ld.s (12236, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\arm\startup_stm32f10x_md.s (12564, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\arm (0, 2009-08-19)
Firmware\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_hd.c (16437, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_ld.c (12790, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\gcc\startup_stm32f10x_md.c (13104, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\gcc (0, 2009-08-19)
Firmware\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_hd.s (16573, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_ld.s (12001, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\iar\startup_stm32f10x_md.s (12492, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\startup\iar (0, 2009-08-19)
Firmware\Libraries\CMSIS\Core\CM3\startup (0, 2009-08-19)
Firmware\Libraries\CMSIS\Core\CM3\stm32f10x.h (530869, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\system_stm32f10x.c (24166, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3\system_stm32f10x.h (2158, 2009-04-25)
Firmware\Libraries\CMSIS\Core\CM3 (0, 2009-09-02)
Firmware\Libraries\CMSIS\Core\Documentation\CMSIS_Core.htm (50779, 2009-04-25)
Firmware\Libraries\CMSIS\Core\Documentation (0, 2009-08-19)
Firmware\Libraries\CMSIS\Core (0, 2009-08-19)
Firmware\Libraries\CMSIS (0, 2009-08-19)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\misc.h (4951, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_adc.h (19558, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_bkp.h (7373, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_can.h (14289, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_crc.h (1980, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dac.h (10271, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dbgmcu.h (2980, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_dma.h (18790, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_exti.h (5833, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_flash.h (14446, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_fsmc.h (17276, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_gpio.h (15050, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_i2c.h (16923, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_iwdg.h (3677, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_pwr.h (4201, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rcc.h (16258, 2009-04-25)
Firmware\Libraries\STM32F10x_StdPeriph_Driver\inc\stm32f10x_rtc.h (3659, 2009-04-25)
... ...

/******************** (C) COPYRIGHT 2009 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V3.0.0 * Date : 04/06/2009 * Description : Description of the USB Virtual_COM_Port 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 =================== In modern PCs, USB is the standard communication port for almost all peripherals. However many industrial software applications still use the classic COM Port (UART). The Virtual COM Port Demo provides a simple solution to bypass this problem; it uses the USB-FS-Device as a COM port by affecting the legacy PC application designed for COM Port communication. This Virtual COM Port Demo provides the firmware examples for the STM32F10xxx family. Note that with this demo only the following configuration are supported: -> 7bit data with parity (Even or Odd). -> 8bit data with and without parity. 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 + \src: contains the Demo firmware source files 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. How to use it ============= + RVMDK - Open the VirtualCOMPort.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 - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) + EWARM5 - Open the VirtualCOMPort.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 - Load project image: Project->Debug - Run program: Debug->Go(F5) + RIDE - Open the VirtualCOMPort.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 - Load project image: Debug->start(ctrl+D) - Run program: Debug->Run(ctrl+F9) 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. ******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者