USB-for_MINI-STM32

所属分类:处理器开发
开发工具:C/C++
文件大小:5884KB
下载次数:106
上传日期:2011-01-28 21:28:56
上 传 者果果果果股
说明:  MINI-STM32光盘V1.2 MINI-STM32例子程序 USB测试程序for_MINI-STM32 USB for_MINI-STM32.rar
(MINI-STM32 CD V1.2 MINI-STM32 USB test program example program for_MINI-STM32 USB for_MINI-STM32.rar)

文件列表:
USBLib\demos\Audio_Speaker\include\hw_config.h (2708, 2008-09-21)
USBLib\demos\Audio_Speaker\include\i2s_codec.h (6623, 2008-09-21)
USBLib\demos\Audio_Speaker\include\platform_config.h (2408, 2008-09-21)
USBLib\demos\Audio_Speaker\include\stm32f10x_conf.h (6475, 2008-09-21)
USBLib\demos\Audio_Speaker\include\stm32f10x_it.h (3842, 2008-09-21)
USBLib\demos\Audio_Speaker\include\usb_conf.h (3168, 2008-09-21)
USBLib\demos\Audio_Speaker\include\usb_desc.h (4162, 2008-09-21)
USBLib\demos\Audio_Speaker\include\usb_istr.h (2645, 2008-09-21)
USBLib\demos\Audio_Speaker\include\usb_prop.h (2751, 2008-09-21)
USBLib\demos\Audio_Speaker\include\usb_pwr.h (2240, 2008-09-21)
USBLib\demos\Audio_Speaker\include (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\AudioSpeaker.ewd (32028, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\AudioSpeaker.ewp (47019, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\AudioSpeaker.eww (166, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\cortexm3_macro.s (10273, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\lnkarm_flash.xcl (7680, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4\stm32f10x_vector.c (5878, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv4 (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\AudioSpeaker.ewd (33618, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\AudioSpeaker.ewp (43915, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\AudioSpeaker.eww (166, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\cortexm3_macro.s (10277, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\stm32f10x_flash.icf (1350, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5\stm32f10x_vector.c (5894, 2008-09-21)
USBLib\demos\Audio_Speaker\project\EWARMv5 (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\Source\cortexm3_macro.asm (12521, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\Source\cstart_thumb2.asm (7009, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\Source\inithardware.asm (373, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\Source\initvectortable.asm (5161, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\Source (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Audio_speaker.htp (38551, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Objects (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Settings\link.lnk (109, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Settings\reset_go_main.scr (223, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Settings\StartupScript.scr (126, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Settings\STM32F10x.lsl (3702, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL\Settings (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10B_EVAL (0, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10E_EVAL\Audio_speaker.htp (38853, 2008-09-21)
USBLib\demos\Audio_Speaker\project\HiTOP\STM32F10E_EVAL\Objects (0, 2008-09-21)
... ...

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V2.2.1 * Date : 09/22/2008 * 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 on the STM32F10x devices. The STM32F10x device is enumerated as HID compliant device, that uses the native PC Host USB 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 ================== + \include: contains the Demo firmware header files + \project: contains pre-configured projects for RVMDK, EWARM4, EWARM5, RIDE and HiTOP toolchains + \source: 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 Custom_HID.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) + EWARM4 - 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 - 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) + 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 - 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 - 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 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: - When using High-density devices, it is mandatory to reset the target before loading the project into target. - It is recommended to run the reset script (click on TR button in the toolbar menu) after loading the project into target. 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******

近期下载者

相关文件


收藏者