AN2017-02 MCETool V2 User Manual MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Quality requirement category: Industry Features * Programming of RAM, Flash and OTP memory for IRMCKxxx and IRMCFxxx devices * Debugging via standard JTAG interface * Tuning of motor parameters via virtual UART * All interfaces are galvanically isolated * 3.3 VDC output voltage to target * Internal generation of OTP programming voltage * USB interface to PC for power and data * Ships with all required cables Supported Devices * iMOTIONTM IRMCK099 * iMOTIONTM IRMCx100 series * iMOTIONTM IRMCx300 series * iMOTIONTM 2.0 Devices (virtual UART only) Description MCETOOLV2 (formerly `IR Cable V2') is designed to program and debug IRMCK099/ IRMCx100/ IRMCx300 series iMOTIONTM motor control ICs on the user's target board (final application board) or on IRMCx evaluation boards. The MCETOOLV2 can also be used for motor and inverter board parameter tuning via the UART to USB interface. Infineon provides the respective PC tools (MCEProgrammer & MCEDesigner) for download on the http://www.infineon.com/imotion-software web page. Tools are delivered as a part of Installer package (e.g. "99 Series Installer" and "100 Series Installer") User Manual Please read the Important Notice and Warnings at the end of this document www.infineon.com/iMOTION <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Table of contents Table of contents 1 Introduction.................................................................................................................. 3 2 2.1 2.2 Software installation for MCETOOLV2 .............................................................................. 5 MCE Programmer, MCE Designer and CP210x driver installation .........................................................5 Software installation step by step..........................................................................................................6 3 3.1 3.1.1 3.1.2 3.2 3.2.1 3.2.2 Getting Started.............................................................................................................. 8 Using MCETOOLV2 with MCE Programmer ............................................................................................8 PC port configuration.........................................................................................................................8 Target device programming ..............................................................................................................9 Using MCETOOLV2 with MCE Designer .................................................................................................10 PC port configuration.......................................................................................................................10 Programming target device .............................................................................................................11 User Manual 2 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Introduction 1 Introduction MCETOOLV2 (in some older documents named `IR Cable V2') is designed to program IRMCK099/ IRMCx100/ IRMCx300 series digital motor control ICs on the user's target board (final application board) or on corresponding Evaluation Kits, to enable engineers to design the application code during development. MCETOOLV2 contains the following basic configuration and functions: * Power: 5V DC power supply (Powered through USB Mini B type interface) * PC interface: USB to virtual communication port with baud rate of up to 256Kbps * Isolated 3.3V DC Output for target * Isolated output interface: o 8 Pin JTAG o 4 Pin UART 2 1 3 4 5 Figure 1 6 7 8 Picture of MCETOOLV2 Function description 1. Isolated UART port 2. Isolated JTAG port 3. Green LED1: Indicates when Vpp is enabled during programming the target 4. Yellow LED: When blinking indicates that MCETOOLV2 is powered and MCU is working. 5. Switch SW1: Provides 3.3V to target board, and provides program voltage Vpp when programming OTP. 6. PC USB cable port for UART operation 7. PC USB cable port for JTAG operation 8. Red LED6: Indicates presence of 5V USB power supply. When MCETOOLV2 connects to PC, this LED shows that the MCETOOLV2 has been powered from 5V USB power. User Manual 3 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Introduction To use as an isolated USB to UART converter, PC USB cable plugs in to "USB-UART", and the UART output port is used. The pinout for UART connector (J2) is as shown in figure below Figure 2 UART Connector pinout To use as an isolated USB to JTAG converter, PC USB cable plugs in to "USB-JTAG", and the JTAG output port is used. The pinout for JTAG connector (J3) is as shown in figure below Figure 3 JTAG Connector pinout Switch SW1 is used to power target from isolated DC-DC converted on MCETOOLV2. If switch is in upward position, target is powered from MCETOOLV2 and if it's in downward position, target is powered from external source. The MCETOOLV2 is supported by following software tools: * MCE Programmer (v3.0.1.9 and above) * MCE Designer (v1.2.0.0 and above) User Manual 4 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Software installation for MCETOOLV2 2 Software installation for MCETOOLV2 MCETOOLV2 is supported by MCE Programmer as well as by MCE Designer and needs CP210x virtual com port drivers to communicate with PC. The installation procedure for MCE Programmer, MCE Designer and CP210x virtual com port drivers is as follows. 2.1 MCE Programmer, MCE Designer and CP210x driver installation MCE Programmer, MCE Designer and CP210x drivers are available for download from the Infineon website and are also part of the software package Infineon-99series-kit-mce-installer-SW-v02_02-EN.exe (or higher version) in "99 Series Installer" or Infineon-100serieskitmceinstaller-SW-v03_05-EN.exe (or higher version) in "100 Series Installer" which contains the following support items for MCETOOLV2: * Pre-Requisite software * MCE Programmer software * MCE Designer software * CP2102 driver. Note: User Manual The following description is based on the use of the all-in-one installation package "Infineon99series-kit-mce-installer-SW-v02_02-EN". The installation procedure might differ slightly if individual installation files are used for the software tools above. 5 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Software installation for MCETOOLV2 2.2 Software installation step by step Step 1: Double click the "Infineon-99series-kit-mce-installer-SW-v02_02-EN.exe" file. Installation process will check if the PC already has the software: "Microsoft Visual C ++ Runtime 11.0" and "Microsoft .NET Framework 3.5"or above version. If there is no such software, the installation will install them, otherwise it will go to the next step. Figure 4 Pre-Requisites software installation Step 2: After the pre-requisite software installs, it will install MCE Designer, MCE Programmer and other packaged application software. Figure 5 MCE Designer, MCE Programmer and other software installation Press "Next" to select the install path, the default path is C:\Program Files\iMotion. This will overwrite previously installed files. The user can select a different path to preserve an earlier version of Infineon-99serieskit-mce-installer-SW-v02_02-EN. Then press "Next" and start the Infineon-99series-kit-mce-installer-SW-v02_02EN software installation. User Manual 6 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Software installation for MCETOOLV2 Step 3: The driver installation dialog will launch during Infineon-99series-kit-mce-installer-SW-v02_02-EN installation. If the PC has installed the CP210x chip driver before, press "Cancel" to cancel the operation, otherwise follow the prompt to finish unpacking and installing the driver. Figure 6 C210x chip driver installations Step 4: After CP210x chip driver installation the following dialog "IRMCK099 Series iMotion Design Kit Support" successfully installed will appear. Check/Uncheck boxes to visit iMotion support site and view release notes and press "Finish" to exit the installation wizard. Figure 7 User Manual Installation completed dialog 7 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Getting Started 3 Getting Started 3.1 Using MCETOOLV2 with MCE Programmer 3.1.1 PC port configuration When MCETOOLV2 is used for the first time or the COM port number has changed, configure the connection port and the baud rate. If there is no connection or the configuration has problem, MCE Programmer will prompt warning information. Launch MCE Programmer and select "Tools-->IR Cable V2 Serial Port Setup". Choose the right serial port and set the baud rate to "57600 bps (IRCable V2 default)". Figure 8 Configuring the connection port Note: If there is no MCETOOLV2 connection to the PC or the configuration is mismatched, the following error messages will appear. Please reconfigure the port settings. Figure 9 Open COM port failed / Port configured incorrectly User Manual 8 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Getting Started 3.1.2 Target device programming Select desired operation for MCETOOLV2 from drop-down list, select .bin file and click "Download" or "Program + Verify" button (depending upon desired operation) Figure 10 Select desired programming option And wait for desired operation to finish. Figure 11 Programming complete Switch SW1 is used to power target from isolated DC-DC converted on MCETOOLV2. If switch is in upward position, target is powered from MCETOOLV2 and if it's in downward position, target is powered from external source. When Programmming OTP, switch in upward position is required. User Manual 9 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Getting Started 3.2 Using MCETOOLV2 with MCE Designer 3.2.1 PC port configuration Launch MCE Designer, open desired configuration file (with extension .irc) Figure 12 Configuration file selection Highlight or click child window with title "System - XXX.irc" and select "Preferences --> Connection". Select proper com port from drop down list and press "OK" button. Figure 13 User Manual Com port selection 10 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Getting Started 3.2.2 Programming target device Highlight or click child window with title "System - XXX.irc" and select "Tools --> Load Target". Select desired firmware file (with .bin extension) using "Browse.." button, press "Open" button in file selection dialog and then "OK" button in "Load Target" dialog. Figure 14 Firmware file selection Wait for programming to finish. Figure 15 User Manual Programming in progress 11 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Getting Started Figure 16 Programming complete When configuration file is loaded or MCETOOLV2 is used for the first time or the COM port number has changed, configure the connection port. If there is no connection or the configuration has problem, MCE Designer will prompt warning information. In this case, highlight or click child window with title "System - XXX.irc" and select "Preferences --> Connection". Select proper com port from drop down list and press "OK". User Manual 12 <2017-07-27> MCETool V2 User Manual iMOTIONTM programming, debugging and tuning tool Revision history Revision history Major changes since the last revision Version number Revision date Revision description 1.3 2017-03-01 First Release 1.4 2017-07-27 1. 2. 3. 4. User Manual Box figure updated Document title updated Software download link updated Interface illustration updated 13 <2017-07-27> Trademarks of Infineon Technologies AG HVICTM, IPMTM, PFCTM, AU-ConvertIRTM, AURIXTM, C166TM, CanPAKTM, CIPOSTM, CIPURSETM, CoolDPTM, CoolGaNTM, COOLiRTM, CoolMOSTM, CoolSETTM, CoolSiCTM, DAVETM, DI-POLTM, DirectFETTM, DrBladeTM, EasyPIMTM, EconoBRIDGETM, EconoDUALTM, EconoPACKTM, EconoPIMTM, EiceDRIVERTM, eupecTM, FCOSTM, GaNpowIRTM, HEXFETTM, HITFETTM, HybridPACKTM, iMOTIONTM, IRAMTM, ISOFACETM, IsoPACKTM, LEDrivIRTM, LITIXTM, MIPAQTM, ModSTACKTM, my-dTM, NovalithICTM, OPTIGATM, OptiMOSTM, ORIGATM, PowIRaudioTM, PowIRStageTM, PrimePACKTM, PrimeSTACKTM, PROFETTM, PRO-SILTM, RASICTM, REAL3TM, SmartLEWISTM, SOLID FLASHTM, SPOCTM, StrongIRFETTM, SupIRBuckTM, TEMPFETTM, TRENCHSTOPTM, TriCoreTM, UHVICTM, XHPTM, XMCTM Trademarks updated November 2015 Other Trademarks All referenced product or service names and trademarks are the property of their respective owners. Edition <2017-07-27> Published by Infineon Technologies AG 81726 Munchen, Germany (c) 2017 Infineon Technologies AG. All Rights Reserved. Do you have a question about this document? Email: erratum@infineon.com Document reference IMPORTANT NOTICE The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics ("Beschaffenheitsgarantie") . With respect to any examples, hints or any typical values stated herein and/or any information regarding the application of the product, Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind, including without limitation warranties of non-infringement of intellectual property rights of any third party. In addition, any information given in this document is subject to customer's compliance with its obligations stated in this document and any applicable legal requirements, norms and standards concerning customer's products and any use of the product of Infineon Technologies in customer's applications. The data contained in this document is exclusively intended for technically trained staff. It is the responsibility of customer's technical departments to evaluate the suitability of the product for the intended application and the completeness of the product information given in this document with respect to such application. For further information on the product, technology, delivery terms and conditions and prices please contact your nearest Infineon Technologies office (www.infineon.com). WARNINGS Due to technical requirements products may contain dangerous substances. For information on the types in question please contact your nearest Infineon Technologies office. Except as otherwise explicitly approved by Infineon Technologies in a written document signed by authorized representatives of Infineon Technologies, Infineon Technologies' products may not be used in any applications where a failure of the product or any consequences of the use thereof can reasonably be expected to result in personal injury.