UM1083 User manual How to upgrade the waveforms on the STEVAL-IME003V1 demonstration board Introduction This user manual describes the procedure required to upgrade the waveforms contained in the Flash memory of the STEVAL-IME003V1 demonstration board based on the STHV748 ultrasound pulser. In addition, detailed information on using the DfuSe application to upgrade the waveforms is provided, including screenshots of the GUI. August 2011 Doc ID 018990 Rev 1 1/7 www.st.com Contents UM1083 Contents 1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Downloading and installing the DfuSe program . . . . . . . . . . . . . . . . . . . . . 3 1.3 Connecting the STEVAL-IME003V1 board . . . . . . . . . . . . . . . . . . . . . . . . 3 2 Using DFU with STEVAL-IME003V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2/7 Doc ID 018990 Rev 1 UM1083 Getting started 1 Getting started 1.1 System requirements In order to use the DfuSe demonstration with the Windows operating system, a recent version of Windows, such as Windows 98SE, Millennium, 2000, XP or VISTA, must be installed on the PC. The version of the Windows OS installed on the user’s PC may be determined by right-clicking on the "My Computer" icon in the desktop, then clicking on the "Properties" item in the displayed pop-up menu. The OS type is displayed in the "System properties" dialog box under the "System" label in the "General" tab. 1.2 Downloading and installing the DfuSe program The DfuSe program can be downloaded from ST’s website at: www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/um 0412.zip Please follow the installation instructions contained in UM0412 entitled "Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension”. After the installation of the DfuSe, "DFuse Demonstration" appears within the start menu. 1.3 Connecting the STEVAL-IME003V1 board Once the DfuSe program has been downloaded and installed, the user only has to connect the STEVAL-IME003V1 through a USB cable (type A to mini B) at CN1, see Figure 1. The "Found New Hardware Wizard" will start automatically, please follow the installation instructions contained in UM0412. Figure 1. STEVAL-IME003V1 board layout top view 7026.00 FPGA JTAG PR13 PR15 PR9 PR11 K D3 R11 R8 SW3 USB ON CN1 +3V310 J4 EXT SPI FLASH JP1 R82 R76 R79 R78 R87 R77 JTAG_MCU K K K PR14 PR12 K PR7 PR5 PR1 PR3 PR10 K K K PR8 PR6 PR4 RST2 C121 R67 R81 D25 K D21 D19 K D17 D15 K D13 D11 K D9 D7 K D20 D18 K D16 D14 K STM32F103 J40 U4 + 25 R34 R32 R30 R28 R26 R24 R20 R15 R33 STHV748 I/O CONNECTOR C118 R83 SW4 C113 J32 J28 C112 49 C115 J34 C114 J33 C111 J31 C110 J27 R63 R60 R61 R62 SW2 K U9 X1 R126 C87 U7 C119 D2 K C116 R84 R85 R86 R66 R88 R89 C120 1 U10 R68 R65 R69 R70 R71 R72 R73 R74 R75 R80 R47 R31 C23 C22 R29 C36 C44 R27 K PR2 PR0 R10 R5 D30 K 1 J10 D24 K U6 R16 C66 XC6SLX16 3CSG324C C34 J38 K IDLE R38 R39 R40 R64 R130 R129 R131 D29 33 + C12 D1 R17 TP2 R12 C68 D12 D10 K D8 D6 K R4 D4 K R13 R22 R18 MCU R45 R46 R48 R128 C70 R25 R23 J37 C62 4083.20 + + C8 1 C56 C35 J35 FPGA DISCONNECT J26 J30 R3 J29 J36 IDLE STATE R120 R122 J25 R14 C2 34 33 R121 XDCR_C R19 C16 - J1 LVOUT_B LVOUT_C XDCR_B J5 ERROR R21 C69 C71 C53 HSWAPEN R50 R6 D5 K C67 C55 C18 C17 - DEMO BOARD FOR EVALUATION PURPOSE ONLY U2 2 1 K D27 R124 R127 C33 FPGA C73 FPGA_PRG R52 R49 C20 C52 C57 C51 C15 - WARNING HIGH VOLTAGE J24 C1 GND High Voltage HVP0 1 C104 THSD - HVP1 C40 C99 C103 C107 C105 C91 C97 C95 STHV748 C108 C109 TP3 C7 C11 R125 D28 K RST1 K R51 U5 R7 C19 C60 C59 C64 C37 C89 17 C106 - J2 - C93 C101 C4 THSD C85 Q1 DONE TP1 C58 RST_FPGA C83 C94 C96 C98 C100 C102 - - 1 C92 C6 C79 U8 J12 J6 C10 - GND VDDM LOW_POWER VDDP C84 C78 C86 C88 C90 J13 D23 R9 2 1 - STEVAL-IME0003V1 C5 - C13 SW1 J7 SW5 R2 J3 DVDD U3 PMOD2 FPGA_USER_I/O R41 R42 D22 XDCR_D R123 C27 C28 R43 R44 K C9 High Voltage LVOUT_A LVOUT_D XDCR_A 2 1 2 1 - - HVM0 GND - PMOD1 L1 U1 C14 R56 R55 R53 J41 HVM1 2 1 RN1 J23 J17 J9 C31 C32 C81 J19 J21 C80 J15 C75 J14 C74 C76 J18 J20 C77 R54 J16 J22 R90 D26 K J8 J11 PROGRAM START STOP AM10045v1 Note: Check that SW1 is positioned on the MCU side and the respective LED is turned ON when the USB cable is plugged in. Doc ID 018990 Rev 1 3/7 Using DFU with STEVAL-IME003V1 2 UM1083 Using DFU with STEVAL-IME003V1 To correctly update the waveforms contained in the SPI Flash memory: 1. Open "DfuSe Demonstration" from the start menu and the dialog box in Figure 2 will appear. If the board is properly connected, the string "STM Device in DFU Mode" appears in the drop-down list, see box 1. 2. In order to load an upgrade for the STEVAL-IME003V1, select as Target the SPI Flash memory (see box 2 in Figure 2) and click on the "Choose…" button (box 3) as shown in Figure 3. 3. Once the file has been selected, verify that the vendor ID and product ID (see box 4 in Figure 2) are 0483 and DF11, respectively. 4. Check the "Verify after download" check box, and then press the "Upgrade" button (see box 3). When the new window appears, click "Yes" to continue. 5. Check that the "Verify Successful!" message appears in the dialog box, as in Figure 4. 6. It is now possible to disconnect the board from the USB port. Figure 2. 4/7 DfuSe GUI Doc ID 018990 Rev 1 UM1083 Using DFU with STEVAL-IME003V1 Figure 3. Loading the .dfu file Figure 4. Verifying the upgrade Doc ID 018990 Rev 1 5/7 Revision history 3 UM1083 Revision history Table 1. 6/7 Document revision history Date Revision 12-Aug-2011 1 Changes Initial release. Doc ID 018990 Rev 1 UM1083 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. UNLESS EXPRESSLY APPROVED IN WRITING BY TWO AUTHORIZED ST REPRESENTATIVES, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK. 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. © 2011 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 Doc ID 018990 Rev 1 7/7