STM32_USB_DFU

所属分类:单片机开发
开发工具:C/C++
文件大小:1960KB
下载次数:344
上传日期:2013-01-14 20:10:24
上 传 者gly568996434
说明:  这是在STM32上实现的固件升级程序,经过反复验证了的,升级程序很方便。
(This is implemented on the STM32 firmware upgrade program, after repeated verification, the upgrade process is very convenient.)

文件列表:
Utilities\Binary\arm-elf-objcopy.exe (523776, 2010-07-05)
Utilities\Binary\axftobin.bat (1454, 2010-07-05)
Utilities\Binary\cygwin1.dll (1189587, 2010-07-05)
Utilities\Binary\hex2bin.exe (8192, 2010-07-05)
Utilities\Binary\hextobin.bat (1830, 2010-07-05)
Utilities\Binary\TrueSTUDIO_elf2bin.bat (1520, 2010-07-05)
Utilities\DFU_images\STM3210B-EVAL_AudioSpeaker.dfu (7509, 2010-07-05)
Utilities\DFU_images\STM3210B-EVAL_CustomHID.dfu (8789, 2010-07-05)
Utilities\DFU_images\STM3210B-EVAL_JoystickMouse.dfu (7629, 2010-07-05)
Utilities\DFU_images\STM3210B-EVAL_MassStorage.dfu (10169, 2010-07-05)
Utilities\DFU_images\STM3210B-EVAL_VirtualCOMPort.dfu (7713, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_AudioStreaming_14MHz.dfu (12741, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_AudioStreaming_25MHz.dfu (12733, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_CustomHID.dfu (11273, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_JoyStickMouse.dfu (12013, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_MassStorage.dfu (13081, 2010-07-05)
Utilities\DFU_images\STM3210C-EVAL_VirtualCOMPort.dfu (10397, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_AudioSpeaker.dfu (9025, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_CustomHID.dfu (8933, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_JoystickMouse.dfu (7793, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_MassStorage.dfu (16444, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_VirtualCOMPort.dfu (7741, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_XL_AudioSpeaker.dfu (9025, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_XL_CustomHID.dfu (8933, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_XL_JoyStickMouse.dfu (7793, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_XL_MassStorage.dfu (16444, 2010-07-05)
Utilities\DFU_images\STM3210E-EVAL_XL_VirtualCOMPort.dfu (7741, 2010-07-05)
Utilities\STM32_EVAL\Common\fonts.c (47200, 2010-07-05)
Utilities\STM32_EVAL\Common\fonts.h (2151, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_i2c_ee.c (23820, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_i2c_ee.h (4090, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_i2c_tsensor.c (19788, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_i2c_tsensor.h (2967, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_spi_flash.c (16245, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_spi_flash.h (4055, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_spi_sd.h (9937, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_sdio_sd.c (91705, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_sdio_sd.h (17591, 2010-07-05)
Utilities\STM32_EVAL\Common\stm32_eval_spi_sd.c (25406, 2011-02-10)
Utilities\STM32_EVAL\Release_Notes_for_STM32_EVAL.html (15069, 2010-07-05)
... ...

/******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** * File Name : readme.txt * Author : MCD Application Team * Version : V3.2.1 * Date : 07/05/2010 * Description : Description of the USB Device_Firmware_Upgrade 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 presents the implementation of a device firmware upgrade (DFU) capability in the STM32F10xxx microcontroller. It follows the DFU class specification defined by the USB Implementers Forum for reprogramming an application through USB-FS-Device. The DFU principle is particularly well suited to USB-FS-Device applications that need to be reprogrammed in the field. 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 ================== + \binary_template: contains a set of sources files that build the application to be loaded with DFU + \inc: contains the Demo firmware header files + \EWARMv5: contains pre-configured project for EWARM5 toolchain + \RIDE: contains pre-configured project for RIDE toolchain + \MDK-ARM: contains pre-configured project for MDK-ARM toolchain + \HiTOP: contains pre-configured project for HiTOP toolchain + \TrueSTUDIO: contains pre-configured projects for TrueSTUDIO 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. Note: After each device reset, hold down the Key push-button on the STM3210B-EVAL or STM3210C-EVAL or STM3210E-EVAL evaluation boards to enter the DFU mode. - STM3210B-EVAL Set-up - Jumper JP1 (USB disconnect) should be connected in position 2-3. - STM3210E-EVAL Set-up - Jumper JP14 (USB disconnect) should be connected in position 2-3. - STM3210C-EVAL Set-up - None. How to use it ============= + MDK-ARM - Open the DFU.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 - Load project image: Debug->Start/Stop Debug Session - Run program: Debug->Run (F5) + EWARM5 - Open the DFU.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 - Load project image: Project->Debug - Run program: Debug->Go(F5) + RIDE - Open the DFU.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 - 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 DFU.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 - Click on ok in the "download project" window. - Run program: Debug->Go(F5). + 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. - Run program: Select the project in the "Project explorer" window then click Run->Debug (F11) NOTE: - Low-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes. - Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between *** and 128 Kbytes. - High-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes. - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 512 and 1024 Kbytes. - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers. ******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE******

近期下载者

相关文件


收藏者