How to upgrade the firmware to support USB communication for PCs using Windows 7 and the STEVAL-PCC009V2

Similar documents
UM1676 User manual. Getting started with.net Micro Framework on the STM32F429 Discovery kit. Introduction

SPC5-FLASHER. Flash management tool for SPC56xx family. Description. Features

UM1790 User manual. Getting started with STM32L053 discovery kit software development tools. Introduction

M24LRxx/CR95HF application software installation guide

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Single LNB supply and control IC DiSEqC 1.X compliant with EXTM based on the LNBH29 in a QFN16 (4x4) Description

AN3354 Application note

AN3332 Application note

LM337. Three-terminal adjustable negative voltage regulators. Features. Description

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

UM1613 User manual. 16-pin smartcard interface ST8034P demonstration board. Introduction

STEVAL-IEG001V2. Smart real-time vehicle tracking system. Features

AN4108 Application note

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

EN: This Datasheet is presented by the m anufacturer. Please v isit our website for pricing and availability at ore.hu.

AN4128 Application note

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

Description. Table 1. Device summary

AN3155 Application note

AN3990 Application note

SPC5-CRYP-LIB. SPC5 Software Cryptography Library. Description. Features. SHA-512 Random engine based on DRBG-AES-128

TN0023 Technical note

EVL185W-LEDTV. 185 W power supply with PFC and standby supply for LED TV based on the L6564, L6599A and Viper27L. Features.

UA741. General-purpose single operational amplifier. Features. Applications. Description. N DIP8 (plastic package)

AN3265 Application note

AN2557 Application note

STTH1R04-Y. Automotive ultrafast recovery diode. Features. Description

Table 1. Absolute maximum ratings (T amb = 25 C) Symbol Parameter Value Unit. ISO C = 330 pf, R = 330 Ω : Contact discharge Air discharge

2STBN15D100. Low voltage NPN power Darlington transistor. Features. Application. Description

BD241A BD241C. NPN power transistors. Features. Applications. Description. NPN transistors. Audio, general purpose switching and amplifier transistors

DDSL01. Secondary protection for DSL lines. Features. Description

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

Description. Table 1. Device summary. Order codes. TO-220 (single gauge) TO-220 (double gauge) D²PAK (tape and reel) TO-220FP

BD238. Low voltage PNP power transistor. Features. Applications. Description. Low saturation voltage PNP transistor

AN2389 Application note

AN3110 Application note

AN4156 Application note

Description SO-8. series. Furthermore, in the 8-pin configuration Very low-dropout voltage (0.2 V typ.)

ULN2801A, ULN2802A, ULN2803A, ULN2804A

TDA W CAR RADIO AUDIO AMPLIFIER

AN2680 Application note

AN3998 Application note

ST High voltage fast-switching NPN power transistor. Features. Applications. Description

AN2604 Application note

AN3353 Application note

BD135 - BD136 BD139 - BD140

ESDLIN1524BJ. Transil, transient voltage surge suppressor diode for ESD protection. Features. Description SOD323

AN2824 Application note

ETP01-xx21. Protection for Ethernet lines. Features. Description. Applications. Benefits. Complies with the following standards

AN3252 Application note

Order code Temperature range Package Packaging

Figure 1. STM32F429 Discovery board: STM32F429I-DISCO

ULN2001, ULN2002 ULN2003, ULN2004

AN4368 Application note

DSL01-xxxSC5. Secondary protection for DSL lines. Features. Description. Applications. Benefits. Complies with the following standards

MC34063AB, MC34063AC, MC34063EB, MC34063EC

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

TDA2004R W stereo amplifier for car radio. Features. Description

LM135-LM235-LM335. Precision temperature sensors. Features. Description

L78MxxAB L78MxxAC. Precision 500 ma regulators. Features. Description

UM0462 User manual. STM32 and STM8 Flash loader demonstrator. Introduction

Description. IO and RF AGC. ASIC controller and power management. Carrier recovery loop. GPIO switch matrix. Lock indicator and monitoring DVBS2 FEC

BZW50. Transil, transient voltage surge suppressor (TVS) Features. Description

AN2866 Application note

MC Low noise quad operational amplifier. Features. Description

AN3270 Application note

L6234. Three phase motor driver. Features. Description

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

ST19NP18-TPM-I2C. Trusted Platform Module (TPM) with I²C Interface. Features

STN3NF06L. N-channel 60 V, 0.07 Ω, 4 A, SOT-223 STripFET II Power MOSFET. Features. Application. Description

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

How To Write To An Eeprom Memory On A Flash Memory On An Iphone Or Ipro Memory On Microsoft Flash Memory (Eeprom) On A Microsoft Microsoft Powerbook (Ai) 2.2.2

AN3359 Application note

STTH110. High voltage ultrafast rectifier. Description. Features

32F072BDISCOVERY. Discovery kit for STM32F072xx microcontrollers. Features. Description

STTH2R06. High efficiency ultrafast diode. Features. Description

AN2760 Application note

STP60NF06. N-channel 60V Ω - 60A TO-220 STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

AN2703 Application note

AN2146 APPLICATION NOTE

STP60NF06FP. N-channel 60V Ω - 30A TO-220FP STripFET II Power MOSFET. General features. Description. Internal schematic diagram.

UM0834 User manual. Developing and debugging your STM8S-DISCOVERY application code. Introduction. Reference documents

AN3997 Application note

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Updating the QIAcube operating software

P6KE. Transil, transient voltage surge suppressor (TVS) Features. Description. Complies with the following standards

STCS A max constant current LED driver. Features. Applications. Description

VN5R003H-E. 3 mω reverse battery protection switch. Features. Description. Application

AN4571 Application note

AN820 APPLICATION NOTE INPUT/OUTPUT PROTECTION FOR AUTOMOTIVE COMPUTER

STGB10NB37LZ STGP10NB37LZ

STP55NF06L STB55NF06L - STB55NF06L-1

Obsolete Product(s) - Obsolete Product(s)

STM32F4DISCOVERY. Discovery kit with STM32F407VG MCU. Features. Description

STDP2600. Advanced HDMI to DisplayPort (dual mode) converter. Features. Applications

BTW N. 50 A 1200 V non insulated SCR thyristor. Description. Features. Applications

AN3327 Application note

AN974 APPLICATION NOTE

Description. Table 1. Device summary. Order code Temperature range Package Packing Marking

Transcription:

User manual How to upgrade the firmware to support USB communication for PCs using Windows 7 and the STEVAL-PCC009V2 Introduction The purpose of this user manual is to explain the steps to upgrade the firmware to support USB communication with PCs operating under Microsoft Windows 7 and the STEVAL- PCC009V2 demonstration board. After the firmware upgrade the board will work with PCs running both Windows XP and Windows 7 operating systems. For instructions on using the STEVAL-PCC009V2 demonstration board itself, please refer to UM0935. July 2013 DocID024284 Rev 1 1/26 www.st.com

Contents UM1612 Contents 1 Installation and requirements................................. 3 1.1 System requirements......................................... 3 1.2 Programming requirements using Windows 7 or Windows XP......... 3 1.2.1 Hardware requirements...................................... 3 1.2.2 Software requirements....................................... 8 2 How to program the new firmware............................. 9 2.1 Connection between STEVAL-PCC009V2 and supported hardware..... 9 2.1.1 Connection of STEVAL-PCC009V2 to ST LINK-2.................. 9 2.1.2 Connection of STEVAL-PCC009V2 to discovery kits............... 9 2.2 Programming using the STM32 ST-LINK utility.....................11 2.3 Programming using the IBUUI updater tool (Windows XP only)....... 18 3 How to run the board....................................... 24 4 Revision history........................................... 25 2/26 DocID024284 Rev 1

Installation and requirements 1 Installation and requirements 1.1 System requirements The modified firmware and software work with both Windows XP and Windows 7 OS. They don t support any other version of Microsoft Windows OS. The user must have the latest service pack and critical updates for the version of Windows. These can be downloaded from the Microsoft website (update.microsoft.com). Follow these steps to determine the operating system of the PC: 1. Right click on the icon My Computer 2. Select Properties 3. Select the General tab which provides information concerning the operating system 1.2 Programming requirements using Windows 7 or Windows XP 1.2.1 Hardware requirements STEVAL-PCC009V2 demonstration board Figure 1. STEVAL-PCC009V2 board DocID024284 Rev 1 3/26

Installation and requirements UM1612 The ST-Link 2 interface and one of the discovery kits as given in the table below Table 1. List of hardware H/W toolset Reference ST-Link 2 see Figure 2 STM32F value line discovery kit see Figure 3 STM32F4 discovery kit see Figure 4 STM32L discovery kit see Figure 5 Figure 2. ST LINK-2 IDE 4/26 DocID024284 Rev 1

Installation and requirements Figure 3. ST STM32F value line discovery kit DocID024284 Rev 1 5/26

Installation and requirements UM1612 Figure 4. STM32F4 discovery kit 6/26 DocID024284 Rev 1

Installation and requirements Figure 5. STM32L discovery kit DocID024284 Rev 1 7/26

Installation and requirements UM1612 1.2.2 Software requirements The hex files can be updated using STSW-PCC009V2: IBU Universal Interface firmware updater available after registration at: http://www.st.com/web/en/catalog/tools/pf246414# The STSW-PCC009V2FW: STEVAL-PCC009V2 firmware is also available at this address. Please refer to Related Tools and Software. Table 2. STM32 ST-Link S/W toolset Supported H/W Download link STM32 ST- Link Utility ST-Link STM32F value line discovery kit STM32F4 discovery kit STM32L discovery kit http://www.st.com/internet/evalboard/product/251168.jsp Please choose STSW-LINK004 under Related Tools and Software Note: Refer to the relevant AN/ UM to use the toolset 8/26 DocID024284 Rev 1

How to program the new firmware 2 How to program the new firmware By default, the STEVAL-PCC009V2 is programmed to work only with PCs using Windows XP. 2.1 Connection between STEVAL-PCC009V2 and supported hardware The STEVAL board can be connected with the supported hardware mentioned in Table 1. 2.1.1 Connection of STEVAL-PCC009V2 to ST LINK-2 Connect the STEVAL-PCC009V2 to ST LINK-2 using a JTAG cable. The JTAG is connected to connector J3 of the STEVAL-PCC009V2. 2.1.2 Connection of STEVAL-PCC009V2 to discovery kits Connect the STEVAL-PCC009V2 to any one of the discovery kits using SWD. Connect 4 wires to connector J3 of the STEVAL-PCC009V2 and the SWD connector of each discovery kit. Table 3. SWD connector of discovery kit Discovery kit SWD connector STM32F value line discovery kit CN2 STM32F4 discovery kit CN2 STM32L discovery kit CN2 Table 4. Connections between STEVAL-PCC009V2 and supported hardware STEVAL-PCC009V2 (connector J3) Any one discovery kit (SWD connector) Pin 9 (TCK) Pin 2 (JTCK) Pin 6 (GND) Pin 3 (GND) Pin 7 (TMS) Pin 4 (JTMS) In some of the discovery kits, there is an optional pin 5 and pin 6 in the SWD connector. For reprogramming the STEVAL-PCC009V2, this connection is not mandatory. Remove the jumpers marked in red in the following schematics for the respective discovery kits. DocID024284 Rev 1 9/26

How to program the new firmware UM1612 Figure 6. STM32F value line discovery kit - jumpers to be removed T_JRST SB11 SWD TCK/SWCLK TMS/SW DIO RES ET# SWD CN2 1 2 3 4 R8 10K R11 22 R12 22 T_JTCK T_JTMS D3 D4 DE F AULT SB3 SB5 SB7 SB9 PRG -32 SB4 SB6 SB8 SB10 STM_JTCK STM_JTMS +3V3 SWCLK SWDIO 1 2 3 4 Z5V 1 Z5V 1 CN3 Jumpers O N -- > D I SCOVERY Selected Jumpers OFF --> ST -LINK Se lected Figure 7. STM32F4 discovery kit - jumpers to be removed Not Fitted TCK/SW CL K TMS /SWDIO T_SWO T_NRST SB 12 SB 11 PA1 4 PA1 3 NRST PB 3 SWD SWD CN2 1 2 3 4 5 6 Header 6 R1 3 10K D2 R2 AIN_1 100 BAT6 0JFIL M R1 2 22 R1 5 22 R1 6 22 R1 7 22 T_JTCK T_JTMS T_NRST T_SWO SB 3 SB 2 SB 5 SB 4 SB 7 SB 6 SB 9 SB 8 STM_ JTCK STM_ JTMS 3V SWCLK SWDIO 1 2 3 4 DE FAULT RESERVED CN3 Jumpers ON -- > DISCOVERY Selected Jumpers OFF - -> ST-LINK Selected 10/26 DocID024284 Rev 1

How to program the new firmware Figure 8. STM32L discovery kit - jumpers to be removed Not Fitted TCK/SWCLK TMS/SW DIO T_SWO T_NRST SB10 1 SB10 0 PA 14 PA 13 NRS T PB3 SWD SWD CN2 1 2 3 4 5 6 Header 6 R11 10K D7 R101 BAT6 0JFI LM R13 22 R14 22 R102 22 R103 22 AIN_1 100 T_JTCK T_JTMS T_NRST T_SWO D5 D3 DE F AULT SB7 SB9 SB11 SB13 RESERVED SB6 SB8 SB10 SB12 STM_JTCK STM_JTMS 3V SWCLK SWDIO D6 Z5V1 D4 Z5V1 1 2 3 4 Z5V1 Z5V1 CN3 Jumpe r s ON -- > D I SCOVERY Selecte d Jumpers OFF --> ST -LINK Selected 2.2 Programming using the STM32 ST-LINK utility 1. Download the hex file in a folder on the PC (in this example, it has been downloaded to the STEVAL-PCC009V2 folder). 2. Once the connections are made and the STEVAL-PCC009V2 and other hardware (ST LINK-2/ discovery kit) are powered using the USB, the user can start the toolset using the sequence given in the following figure. Figure 9. ST-LINK utility from PC program menu DocID024284 Rev 1 11/26

How to program the new firmware UM1612 3. If the tool is correctly installed, the following window appears. Figure 10. ST-LINK utility default window 12/26 DocID024284 Rev 1

How to program the new firmware 4. Configure the connection as shown in the following figure. Figure 11. ST-LINK Utility connection settings 5. The following option must be selected in Settings. The user should note the change in protocol to the SWD option. Figure 12. ST-LINK utility connection selection DocID024284 Rev 1 13/26

How to program the new firmware UM1612 6. Connect to the hardware using following option. Figure 13. ST-LINK utility connect option 7. If there are any errors in the connection, an error message appears in the window of the ST-LINK Utility as given below. The user can check the hardware connection and perform the previous steps in order to rectify. Figure 14. ST-LINK status window 14/26 DocID024284 Rev 1

How to program the new firmware 8. Load the hex file using the menu File -> Open. Figure 15. ST-LINK utility open 9. Select the IBUUI_V2.hex file first as shown below. Figure 16. ST-LINK Utility -> File -> Select Hex file DocID024284 Rev 1 15/26

How to program the new firmware UM1612 10. If the file is loaded correctly, the following window appears. Figure 17. ST-LINK utility -> File -> Select Hex file 11. After the program is loaded, start the programming by pressing the OK button in the following window. Figure 18. Option OK to download 16/26 DocID024284 Rev 1

How to program the new firmware Figure 19. Program selection 12. The window that prompts programming may not be visible in the latest version, in which case the user can start the programming using the option below. Figure 20. Option to program DocID024284 Rev 1 17/26

How to program the new firmware UM1612 13. Once the program option is clicked, the following window appears. Figure 21. Programming in progress 14. Once the programming is complete, the status can be seen in the output window. Figure 22. Program complete status 2.3 Programming using the IBUUI updater tool (Windows XP only) 1. The user must register and then download the archive file containing the tool and extract its content. This file can be found at the following address: http://www.st.com/web/en/catalog/tools/pf246414# 2. Running the tool (IBUUI updater.exe), the following window appears. Figure 23. IBUUI updater main window 18/26 DocID024284 Rev 1

How to program the new firmware 3. Click on the "Start" button in order to begin the step-by-step procedure. 4. The update procedure installs the board drivers also, so the STEVAL-PCC009V2 should be left unplugged until the connection is required by the procedure. Figure 24. STEVAL-PCC009V2 - request to disconnect from PC 5. Plug in the board when prompted. Figure 25. STEVAL-PCC009V2 - request to connect to PC 6. If the board has never been connected to the PC before, when the board is connected to the PC, the new hardware installation procedure of Windows XP is started (Found New Hardware Wizard). The user should proceed with the hardware installation BEFORE continuing with the firmware update. If the STEVAL-PCC009 has been already installed, the user can proceed to step 10. DocID024284 Rev 1 19/26

How to program the new firmware UM1612 7. Select "No, not this time" when the system prompts to connect to Windows Update. Figure 26. New hardware installation procedure 20/26 DocID024284 Rev 1

How to program the new firmware 8. Select the "Install the software automatically (Recommended)" option for the wizard. When the driver certification warning is shown, select "Continue Anyway" in order to complete the installation of the STEVAL-PCC009V2. Figure 27. Driver certification warning DocID024284 Rev 1 21/26

How to program the new firmware UM1612 9. If the installation procedure has been done correctly, the following window is shown. Figure 28. STEVAL-PCC009V2 installation procedure completed 10. Click on the OK button of the prompt message to continue the step-by-step procedure. Figure 29. STEVAL-PCC009V2 plug request to be confirmed 11. The device is switched to DFU mode and the firmware upgrade begins. During the firmware upgrade the board MUST not be unplugged from the PC. 22/26 DocID024284 Rev 1

How to program the new firmware 12. If the firmware upgrade has been done correctly, the following window is shown. Figure 30. Firmware upgrade completed DocID024284 Rev 1 23/26

How to run the board UM1612 3 How to run the board Once the program has been downloaded, the STEVAL-PCC009V2 can be removed from the JTAG/ SWD connection. Once the user presses the RESET button (SW1), the board is listed on the PC as shown below. Figure 31. PC using Windows XP Figure 32. PC using Windows 7 For instructions on operating the STEVAL-PCC009V2, please refer to UM0935. 24/26 DocID024284 Rev 1

Revision history 4 Revision history Table 5. Document revision history Date Revision Changes 23-Jul-2013 1 Initial release. DocID024284 Rev 1 25/26

Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. ST PRODUCTS ARE NOT AUTHORIZED FOR USE IN WEAPONS. NOR ARE ST PRODUCTS DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B) AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT PURCHASER S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL INDUSTRY DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2013 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 26/26 DocID024284 Rev 1