USBread

所属分类:USB编程
开发工具:C/C++
文件大小:560KB
下载次数:30
上传日期:2013-02-23 12:59:12
上 传 者珠飘2007
说明:  STM32 USB 的类,以及USB库函数,Mass_Storage
(r STM32F10x USB Library (USBLib). * The enclosed firmware and all the related documentation * are not covered by a License Agreement, if you need such * License you can contact your local STMicroelectronics * office.)

文件列表:
USBread\FWLib\library\inc\cortexm3_macro.h (2225, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_adc.h (18854, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_bkp.h (6911, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_can.h (12279, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_crc.h (1881, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_dac.h (9598, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_dbgmcu.h (2859, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_dma.h (17974, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_exti.h (5776, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_flash.h (13996, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_fsmc.h (19041, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_gpio.h (14820, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_i2c.h (16213, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_iwdg.h (3414, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_lib.h (3200, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_map.h (28290, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_nvic.h (19198, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_pwr.h (3865, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_rcc.h (14783, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_rtc.h (3619, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_sdio.h (18326, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_spi.h (13782, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_systick.h (3212, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_tim.h (47203, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_type.h (3388, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_usart.h (14395, 2008-06-13)
USBread\FWLib\library\inc\stm32f10x_wwdg.h (2620, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_adc.c (58563, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_bkp.c (11170, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_can.c (32049, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_crc.c (4615, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_dac.c (17175, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_dbgmcu.c (5222, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_dma.c (33291, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_exti.c (8742, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_flash.c (32684, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_fsmc.c (41592, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_gpio.c (22512, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_i2c.c (46801, 2008-06-13)
USBread\FWLib\library\src\stm32f10x_iwdg.c (6431, 2008-06-13)
... ...

/******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V2.2.0 * Date : 06/13/2008 * Description : Description of the USB Mass_Storage 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 =================== The Mass Storage Demo gives a typical example of how to use the STM32F10xxx USB peripheral to communicate with the PC host using the bulk transfer. This demo supports the BOT (bulk only transfer) protocol and all needed SCSI (small computer system interface) commands, and is compatible with both Windows XP (SP1/SP2) and Windows 2000 (SP4). 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 MassStorageSimpleBuffer.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 MassStorageSimpleBuffer.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 MassStorageSimpleBuffer.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 MassStorageSimpleBuffer.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 MassStorageSimpleBuffer.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******

近期下载者

相关文件


收藏者